Skip to content

Commit

Permalink
MapR [SPARK-188] Couldn't connect to thrift server via spark beeline …
Browse files Browse the repository at this point in the history
…on kerberos cluster (apache#243)
  • Loading branch information
Mikhail Gorbov authored and ekrivokonmapr committed Sep 19, 2019
1 parent 4dbd548 commit 54f5a93
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ public List<String> buildCommand(Map<String, String> env)
extraClassPath = getenv("SPARK_DAEMON_CLASSPATH");
memKey = "SPARK_DAEMON_MEMORY";
break;
case "org.apache.hive.beeline.BeeLine":
javaOptsKeys.add("SPARK_JAVA_OPTS");
memKey = "SPARK_DRIVER_MEMORY";
break;
default:
memKey = "SPARK_DRIVER_MEMORY";
break;
Expand Down

0 comments on commit 54f5a93

Please sign in to comment.