dongjoon-hyun commented on a change in pull request #34818:
URL: https://github.com/apache/spark/pull/34818#discussion_r763229764



##########
File path: 
resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh
##########
@@ -150,7 +150,10 @@ fi
 
 if [ -n "$DOCKER_FILE" ];
 then
-  properties=( ${properties[@]} -Dspark.kubernetes.test.dockerFile=$(realpath 
$DOCKER_FILE) )
+  properties=(
+    ${properties[@]}
+    -Dspark.kubernetes.test.dockerFile=$(
+      python3 -c "import os.path; print(os.path.realpath(\"$DOCKER_FILE\"))") )

Review comment:
       @sarutak We should use `realpath` consistently in our Spark bash code.
   
   It seems that the root cause was that 
   1) You can a relative path via realpath in some directory
   2) And, we moved to another directory.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to