Skip to content

Commit c996bb0

Browse files
MapR [SPARK-595] Spark cannot access hs2 through zookeeper (apache#577)
1 parent 118c6c5 commit c996bb0

File tree

3 files changed

+333
-5
lines changed

3 files changed

+333
-5
lines changed

bin/beeline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
. "${SPARK_HOME}"/bin/load-spark-env.sh
3232
#Bug MAPR-22940
3333
if [ "$MAPR_SECURITY_STATUS" = "true" ]; then
34-
export SPARK_JAVA_OPTS="$SPARK_JAVA_OPTS $MAPR_ECOSYSTEM_LOGIN_OPTS -Dmapr_sec_enabled=true"
34+
export SPARK_JAVA_OPTS="$SPARK_JAVA_OPTS $MAPR_ECOSYSTEM_LOGIN_OPTS -Dmapr_sec_enabled=true -Djava.security.auth.login.config=/opt/mapr/conf/mapr.login.conf -Dzookeeper.saslprovider=com.mapr.security.maprsasl.MaprSaslProvider"
3535
fi
3636

3737
CLASS="org.apache.hive.beeline.BeeLine"

sql/hive-thriftserver/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
<groupId>net.sf.jpam</groupId>
117117
<artifactId>jpam</artifactId>
118118
</dependency>
119+
<dependency>
120+
<groupId>org.apache.hive</groupId>
121+
<artifactId>hive-exec</artifactId>
122+
</dependency>
119123
</dependencies>
120124
<build>
121125
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>

0 commit comments

Comments
 (0)