Yuming Wang created SPARK-18645:
-----------------------------------

             Summary: spark-daemon.sh arguments error lead to throws 
Unrecognized option
                 Key: SPARK-18645
                 URL: https://issues.apache.org/jira/browse/SPARK-18645
             Project: Spark
          Issue Type: Bug
          Components: Deploy
    Affects Versions: 2.1.0
            Reporter: Yuming Wang


{{start-thriftserver.sh}} can reproduce this:
{noformat}
[root@dev spark]# ./sbin/start-thriftserver.sh --conf 
'spark.driver.extraJavaOptions=-XX:+UseG1GC -XX:-HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=/tmp' 
starting org.apache.spark.sql.hive.thriftserver.HiveThriftServer2, logging to 
/tmp/spark-root-org.apache.spark.sql.hive.thriftserver.HiveThriftServer2-1-dev.out
failed to launch nice -n 0 bash 
/opt/cloudera/parcels/SPARK-2.1.0-cdh5.4.3.d20161129-21.04.38/lib/spark/bin/spark-submit
 --class org.apache.spark.sql.hive.thriftserver.HiveThriftServer2 --name Thrift 
JDBC/ODBC Server --conf spark.driver.extraJavaOptions=-XX:+UseG1GC 
-XX:-HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp:
  Error starting HiveServer2 with given arguments: 
  Unrecognized option: -XX:-HeapDumpOnOutOfMemoryError
full log in 
/tmp/spark-root-org.apache.spark.sql.hive.thriftserver.HiveThriftServer2-1-dev.out
{noformat}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to