[ 
https://issues.apache.org/jira/browse/SPARK-10317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716819#comment-14716819
 ] 

Steve Loughran commented on SPARK-10317:
----------------------------------------

There's various possible fixes here

# {{start-history-server}} script to {{shift;}} out $1 arg then pass the 
remainder down.
# {{start-history-server}} script to prefix $1 arg with {{-d}} while passing 
down the whole line.
# {{HistoryServerArguments}} to convert $1 arg to a directory unless its a 
recognised - option






> start-history-server.sh CLI parsing incompatible with HistoryServer's arg 
> parsing
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-10317
>                 URL: https://issues.apache.org/jira/browse/SPARK-10317
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.4.1
>            Reporter: Steve Loughran
>
> The history server has its argument parsing class in 
> {{HistoryServerArguments}}. However, this doesn't get involved in the 
> {{start-history-server.sh}} codepath where the $0 arg is assigned to  
> {{spark.history.fs.logDirectory}} and all other arguments discarded (e.g 
> {{--property-file}}.
> This stops the other options being usable from this script



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to