File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -124,16 +124,7 @@ datanucleus_jars="$(find "$datanucleus_dir" 2>/dev/null | grep "datanucleus-.*\\
124124datanucleus_jars=" $( echo " $datanucleus_jars " | tr " \n" : | sed s/:$//g) "
125125
126126if [ -n " $datanucleus_jars " ]; then
127- if [ $( command -v " $JAR_CMD " ) ] ; then
128- hive_files=$( " $JAR_CMD " -tf " $ASSEMBLY_JAR " org/apache/hadoop/hive/ql/exec 2> /dev/null)
129- if [ -n " $hive_files " ]; then
130- echo " Spark assembly has been built with Hive, including Datanucleus jars on classpath" 1>&2
131- CLASSPATH=" $CLASSPATH :$datanucleus_jars "
132- fi
133- else
134- echo " No jar command available; unable to check if assembly was built with Hive."
135- echo " Please install a JDK instead of a JRE."
136- fi
127+ CLASSPATH=" $CLASSPATH :$datanucleus_jars "
137128fi
138129
139130# Add test classes if we're running from SBT or Maven with SPARK_TESTING set to 1
You can’t perform that action at this time.
0 commit comments