Skip to content

Conversation

@zuotingbing
Copy link

JIRA Issue: https://issues.apache.org/jira/browse/SPARK-19083#

sbin/start-history-server.sh script use of $@ without quotes, this will affect the length of args which used in HistoryServerArguments::parse(args: List[String])

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@zuotingbing zuotingbing changed the title Sh [SPARK-19083]sbin/start-history-server.sh script use of $@ without quotes Jan 6, 2017
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of change here, from my understanding it is not related to the issue you mentioned in PR description.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, this change is for another issue. Should i close this PR and checkout a new branch for this issue ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could push another commit to this branch to revert this change.

…otes, this will affect the length of args which used in HistoryServerArguments::parse(args: List[String])
@jerryshao
Copy link
Contributor

Would you mind checking all the scripts under bin and sbin to see if this issue also existed in other scripts.

@zuotingbing
Copy link
Author

@jerryshao Thank you for your advice. I checked off all the scripts under bin and sbin. It seems ok.

@srowen
Copy link
Member

srowen commented Jan 6, 2017

This is the only instance I see, yes. Other instances are in dev scripts which don't matter.

Could you explain what difference it makes? I read the bash reference and don't fully understand. Would it cause each individual script arg to act as if quoted?

@vanzin
Copy link
Contributor

vanzin commented Jan 6, 2017

Would it cause each individual script arg to act as if quoted?

Yes.

LGTM. Merging to master / 2.1.

asfgit pushed a commit that referenced this pull request Jan 6, 2017
…uotes

JIRA Issue: https://issues.apache.org/jira/browse/SPARK-19083#

sbin/start-history-server.sh script use of $ without quotes, this will affect the length of args which used in HistoryServerArguments::parse(args: List[String])

Author: zuotingbing <zuo.tingbing9@zte.com.cn>

Closes #16484 from zuotingbing/sh.

(cherry picked from commit a9a1373)
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
@asfgit asfgit closed this in a9a1373 Jan 6, 2017
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Jan 9, 2017
…uotes

JIRA Issue: https://issues.apache.org/jira/browse/SPARK-19083#

sbin/start-history-server.sh script use of $ without quotes, this will affect the length of args which used in HistoryServerArguments::parse(args: List[String])

Author: zuotingbing <zuo.tingbing9@zte.com.cn>

Closes apache#16484 from zuotingbing/sh.
@zuotingbing zuotingbing deleted the sh branch January 9, 2017 03:34
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
…uotes

JIRA Issue: https://issues.apache.org/jira/browse/SPARK-19083#

sbin/start-history-server.sh script use of $ without quotes, this will affect the length of args which used in HistoryServerArguments::parse(args: List[String])

Author: zuotingbing <zuo.tingbing9@zte.com.cn>

Closes apache#16484 from zuotingbing/sh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants