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

2015-09-14 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-10317:
--

User 'rekhajoshm' has created a pull request for this issue:
https://github.com/apache/spark/pull/8758

> 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
>Priority: Trivial
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2015-08-27 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-10317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org