Github user andrewor14 commented on a diff in the pull request: https://github.com/apache/spark/pull/819#discussion_r12780359 --- 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 --- End diff -- This leads to two backslashes because `%FWDIR%` already has one backslash. This should just be `%FWDIR%lib_managed\jars`
--- 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. ---