Skip to content

Commit 3bb5662

Browse files
committed
Update READMEs: Use consistent formatting for environment variables
1 parent efbb88e commit 3bb5662

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ To place Spark under `/opt/`:
5252
```bash
5353
curl https://archive.apache.org/dist/spark/spark-3.2.2/spark-3.2.2-bin-hadoop3.2.tgz | sudo tar -xz -C /opt/
5454
export SPARK_HOME="/opt/spark-3.2.2-bin-hadoop3.2"
55-
export PATH="$SPARK_HOME/bin":"$PATH"
55+
export PATH="${SPARK_HOME}/bin":"${PATH}"
5656
```
5757

5858
To place under `~/`:
5959

6060
```bash
6161
curl https://archive.apache.org/dist/spark/spark-3.2.2/spark-3.2.2-bin-hadoop3.2.tgz | tar -xz -C ~/
6262
export SPARK_HOME=~/spark-3.2.2-bin-hadoop3.2
63-
export PATH="$SPARK_HOME/bin":"$PATH"
63+
export PATH="${SPARK_HOME}/bin":"${PATH}"
6464
```
6565

6666
Both Java 8 and Java 11 are supported.
@@ -185,7 +185,7 @@ The `ldbc/datagen-jar` image contains the assembly JAR, so it can bundled in you
185185
```docker
186186
FROM my-spark-image
187187
ARG VERSION
188-
COPY --from=ldbc/datagen-jar:$VERSION /jar /lib/ldbc-datagen.jar
188+
COPY --from=ldbc/datagen-jar:${VERSION} /jar /lib/ldbc-datagen.jar
189189
```
190190

191191
The JAR-only Docker image can be built with the provided Dockerfile. To build, execute the following command from the repository directory:

tools/emr/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export PLATFORM_VERSION=$(sbt -batch -error 'print platformVersion')
3535
export DATAGEN_VERSION=$(sbt -batch -error 'print version')
3636
export LDBC_SNB_DATAGEN_JAR=$(sbt -batch -error 'print assembly / assemblyOutputPath')
3737
export JAR_NAME=$(basename ${LDBC_SNB_DATAGEN_JAR})
38-
aws s3 cp ${LDBC_SNB_DATAGEN_JAR} s3://${BUCKET_NAME}/jars/$JAR_NAME
38+
aws s3 cp ${LDBC_SNB_DATAGEN_JAR} s3://${BUCKET_NAME}/jars/${JAR_NAME}
3939
```
4040

4141
1. Submit the job. Run with `--help` for customization options.

0 commit comments

Comments
 (0)