Skip to content

Commit 940a1bb

Browse files
committed
Add back 2>/dev/null
1 parent 58357cc commit 940a1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/compute-classpath.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ datanucleus_jars=$(echo "$datanucleus_jars" | tr "\n" : | sed s/:$//g)
7575

7676
if [ -n "$datanucleus_jars" ]; then
7777
an_assembly_jar=${ASSEMBLY_JAR:-$DEPS_ASSEMBLY_JAR}
78-
hive_files=$(jar tvf "$an_assembly_jar" org/apache/hadoop/hive/ql/exec)
78+
hive_files=$(jar tvf "$an_assembly_jar" org/apache/hadoop/hive/ql/exec 2>/dev/null)
7979
if [ -n "$hive_files" ]; then
8080
echo "Spark assembly has been built with Hive, including Datanucleus jars on classpath" 1>&2
8181
CLASSPATH=$CLASSPATH:$datanucleus_jars

0 commit comments

Comments
 (0)