Skip to content

Commit

Permalink
Update raydp-submit (#392)
Browse files Browse the repository at this point in the history
Traceback (most recent call last):
  File "<string>", line 54, in <module>
NameError: name 'os' is not defined
  • Loading branch information
gptbert authored and carsonwang committed Jun 26, 2024
1 parent a05a547 commit 0f14722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/raydp-submit
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi
log4j_config=()
while read line; do
log4j_config+=($line)
done < <(python3 -c "from raydp import versions; print(versions.SPARK_LOG4J_VERSION);
done < <(python3 -c "import os; from raydp import versions; print(versions.SPARK_LOG4J_VERSION);
print(versions.SPARK_LOG4J_CONFIG_FILE_NAME_KEY);
print(os.getenv(\"SPARK_LOG4J_CONFIG_FILE_NAME\", versions.SPARK_LOG4J_CONFIG_FILE_NAME_DEFAULT));
print(versions.RAY_LOG4J_VERSION);
Expand Down

0 comments on commit 0f14722

Please sign in to comment.