Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3916#discussion_r25286265
  
    --- Diff: bin/spark-shell2.cmd ---
    @@ -25,17 +25,27 @@ if %ERRORLEVEL% equ 0 (
       exit /b 0
     )
     
    -call %SPARK_HOME%\bin\windows-utils.cmd %*
    -if %ERRORLEVEL% equ 1 (
    +rem SPARK-4161: scala does not assume use of the java classpath,
    +rem so we need to add the "-Dscala.usejavacp=true" flag manually. We
    +rem do this specifically for the Spark shell because the scala REPL
    +rem has its own class loader, and any additional classpath specified
    +rem through spark.driver.extraClassPath is not automatically propagated.
    --- End diff --
    
    thanks for mirroring this comment!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to