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

    https://github.com/apache/spark/pull/819#discussion_r12780712
  
    --- Diff: bin/compute-classpath.cmd ---
    @@ -42,6 +42,21 @@ if exist "%FWDIR%RELEASE" (
     
     set CLASSPATH=%CLASSPATH%;%ASSEMBLY_JAR%
     
    +rem When Hive support is needed, Datanucleus jars must be included on the 
classpath.
    +rem Datanucleus jars do not work if only included in the uber jar as 
plugin.xml metadata is lost.
    +rem Both sbt and maven will populate "lib_managed/jars/" with the 
datanucleus jars when Spark is
    +rem built with Hive, so look for them there.
    +if exist "%FWDIR%RELEASE" (
    +  set datanucleus_dir=%FWDIR%\lib
    +) else (
    +  set datanucleus_dir=%FWDIR%\lib_managed\jars
    +)
    +set "datanucleus_jars="
    +for %%d in ("%datanucleus_dir%\datanucleus-*.jar") do (
    +  set datanucleus_jars=!datanucleus_jars!;%%d
    --- End diff --
    
    Ah, how did you try it, you just ran compute-classpath? I set this in 
spark-class.cmd but not compute-classpath but I guess both need to work.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to