Github user witgo commented on the pull request:

    https://github.com/apache/spark/pull/1341#issuecomment-48550851
  
    ```
    if [ $# != 0 ]; then
      echo "Using command line arguments for setting the log directory is 
deprecated. Please "
      echo "set the spark.history.fs.logDirectory configuration option instead."
      export SPARK_HISTORY_OPTS="$SPARK_HISTORY_OPTS 
-Dspark.history.fs.logDirectory=$1"
    fi
    
    exec "$sbin"/spark-daemon.sh start 
org.apache.spark.deploy.history.HistoryServer 1
    ```
    Before  ` export SPARK_HISTORY_OPTS="$SPARK_HISTORY_OPTS 
-Dspark.history.fs.logDirectory=$1"` execution should load `spark-env.sh`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to