Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22727#discussion_r225417566
  
    --- Diff: sbin/start-thriftserver.sh ---
    @@ -39,6 +39,10 @@ function usage {
       pattern+="\|Spark Command: "
       pattern+="\|======="
       pattern+="\|--help"
    +  pattern+="\|Using Spark's default log4j profile:"
    +  pattern+="\|^log4j:"
    +  pattern+="\|Started daemon with process name"
    +  pattern+="\|Registered signal handler for"
     
       "${SPARK_HOME}"/bin/spark-submit --help 2>&1 | grep -v Usage 1>&2
    --- End diff --
    
    it;s kinda weird that `--help` will try to create the context?
    `ERROR SparkContext:91 - Error initializing SparkContext.`?


---

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

Reply via email to