Skip to content

Commit

Permalink
Merge pull request #76 from ldbc/print-env-vars
Browse files Browse the repository at this point in the history
Print current environment variables when running generator
  • Loading branch information
szarnyasg authored Mar 1, 2019
2 parents 1596387 + 85103e5 commit db5e4f3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,16 @@ LDBC_SNB_DATAGEN_HOME=${LDBC_SNB_DATAGEN_HOME:-$DEFAULT_LDBC_SNB_DATAGEN_HOME}
export HADOOP_HOME
export LDBC_SNB_DATAGEN_HOME

echo ===============================================================================
echo Running generator with the following parameters:
echo -------------------------------------------------------------------------------
echo LDBC_SNB_DATAGEN_HOME: $LDBC_SNB_DATAGEN_HOME
echo HADOOP_HOME: $HADOOP_HOME
echo HADOOP_CLIENT_OPTS: $HADOOP_CLIENT_OPTS
echo ===============================================================================

mvn clean
mvn -DskipTests assembly:assembly
mvn -DskipTests assembly:assembly

# --- for OSX, add this line ---
# zip -d $LDBC_SNB_DATAGEN_HOME/target/ldbc_snb_datagen-0.2.7-jar-with-dependencies.jar META-INF/LICENSE
Expand Down

0 comments on commit db5e4f3

Please sign in to comment.