Reamer commented on PR #45:
URL: https://github.com/apache/spark-docker/pull/45#issuecomment-3248061571

   Hi @Yikun,
   This change has also been adopted by the Spark operator. See 
https://github.com/kubeflow/spark-operator/pull/2312
   I am an Openshift user myself and therefore ran into a regression. See:  
https://github.com/kubeflow/spark-operator/issues/2644
   
   Have you also tested your commands for the home directory?
   
   I tested the home directory with the following small Java class. I don't 
know how Spark evaluates this.
   ```
   import javax.swing.filechooser.FileSystemView;
   import java.io.File;
   class Home {
       public static void main(String... args) {
           FileSystemView view = FileSystemView.getFileSystemView();
           File file = view.getHomeDirectory();
           String desktopPath = file.getPath();
           System.out.println(desktopPath);
       }
   }
   ```
   The output of the small program returns the following, which is obviously 
incorrect.
   ```
   java Home
   -anonymous uid}
   ```
   
   Is there a reason to evaluate the GECOS field later?


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to