You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/12/01 13:27:58 UTC

[jira] [Resolved] (SPARK-18645) spark-daemon.sh arguments error lead to throws Unrecognized option

     [ https://issues.apache.org/jira/browse/SPARK-18645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-18645.
-------------------------------
       Resolution: Fixed
         Assignee: Yuming Wang
    Fix Version/s: 2.1.0

Resolved by https://github.com/apache/spark/pull/16079

> 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
>            Assignee: Yuming Wang
>             Fix For: 2.1.0
>
>
> {{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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org