You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/08/27 17:12:45 UTC

[jira] [Commented] (SPARK-10317) start-history-server.sh CLI parsing incompatible with HistoryServer's arg parsing

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org