Skip to content

Conversation

@sarutak
Copy link
Member

@sarutak sarutak commented Aug 11, 2014

No description provided.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1886. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18303/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA results for PR 1886:
- This patch FAILED unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18303/consoleFull

@sarutak
Copy link
Member Author

sarutak commented Aug 11, 2014

I think, much better solution is modify spark-sql script to use utils.sh.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1886. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18305/consoleFull

bin/spark-sql Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the extra newline.

@liancheng
Copy link
Contributor

bin/spark-sql and sbin/start-thriftserver.sh were both added earlier and didn't get updated when bin/utils.sh was added. Thanks for fixing both this issue and the -S one. Left some comments about coding style, otherwise LGTM.

@sarutak
Copy link
Member Author

sarutak commented Aug 11, 2014

@liancheng Thanks reviewing!
Now I've just modified coding styles and removed useless code.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1886. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18312/consoleFull

bin/spark-sql Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually the eval here has to be removed since we've already quoted things. You may try the following to verify:

./bin/spark-sql --name "a b"

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1886. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18320/consoleFull

@marmbrus
Copy link
Contributor

@liancheng is this good to go?

@marmbrus
Copy link
Contributor

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Aug 13, 2014

QA tests have started for PR 1886. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18481/consoleFull

@liancheng
Copy link
Contributor

@marmbrus Yes, this is ready to be merged.

@marmbrus
Copy link
Contributor

Hmmm... could me more transient failures (/cc @davies @JoshRosen), but since you modified pyspark launching scripts i'm hesitant to merge this until it passes jenkins.

@marmbrus
Copy link
Contributor

Jenkins, test this please.

@sarutak
Copy link
Member Author

sarutak commented Aug 16, 2014

Oh... Jenkins doesn't like me? :(

@liancheng
Copy link
Contributor

Jenkins is indeed a little overloaded these days because of all those passionate contributors like you :) But this time I think it's because this branch can no longer be merged cleanly. Would you mind to rebase this PR? BTW, we can make sbin/start-thriftserver.sh to leverage bin/utils.sh if you'd like to. It should be straightforward. Thanks!

@sarutak
Copy link
Member Author

sarutak commented Aug 16, 2014

@liancheng Thanks!
I'll rebase this PR and I'll try to make start-thriftserver.sh to leverage bin/utils.sh.

@sarutak sarutak changed the title [SPARK-2964] [SQL] Wrong silent option in spark-sql script [SPARK-2964] [SQL] Improve spark-sql and start-thriftserver to leverage bin/util.sh Aug 16, 2014
@SparkQA
Copy link

SparkQA commented Aug 16, 2014

QA tests have started for PR 1886 at commit 6d8e802.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 16, 2014

QA tests have finished for PR 1886 at commit 6d8e802.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • $FWDIR/bin/spark-submit --class org.apache.spark.repl.Main "$
    • $FWDIR/bin/spark-submit --class org.apache.spark.repl.Main "$
    • "$FWDIR"/bin/spark-submit --class $CLASS "$
    • "$FWDIR"/bin/spark-submit --class $CLASS "$

@SparkQA
Copy link

SparkQA commented Aug 18, 2014

QA tests have started for PR 1886 at commit f63f897.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 18, 2014

QA tests have finished for PR 1886 at commit f63f897.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@liancheng
Copy link
Contributor

@sarutak Would you mind to add a description of fixing the -S | --silent option issue in the PR description? This issue is actually more important than leveraging bin/utils.sh.

@SparkQA
Copy link

SparkQA commented Aug 23, 2014

QA tests have started for PR 1886 at commit ffb68fa.

  • This patch merges cleanly.

@sarutak sarutak changed the title [SPARK-2964] [SQL] Fix the -S and --silent option of spark-sql, and improve spark-sql and start-thriftserver to leverage bin/util.sh [SPARK-2964] [SQL] Remove duplicated code from spark-sql and start-thriftserver.sh Aug 23, 2014
@sarutak
Copy link
Member Author

sarutak commented Aug 23, 2014

I rebased #1994 to this PR for now, and rename the title of this PR to proper one.

@SparkQA
Copy link

SparkQA commented Aug 23, 2014

QA tests have finished for PR 1886 at commit ffb68fa.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • "$FWDIR"/bin/spark-submit --class $CLASS "$
    • "$FWDIR"/bin/spark-submit --class $CLASS "$

@liancheng
Copy link
Contributor

LGTM.

@sarutak Did you merge my branch to yours? 'Cause I saw my commits in the history of this branch. Actually you can first update your local master branch, then execute git rebase master to rebase your branch to master. For now, this branch is OK anyway.

@sarutak
Copy link
Member Author

sarutak commented Aug 24, 2014

@liancheng Yes, I merged your branch to mine. I'll update my branch if your #1994 is updated, thanks!

@marmbrus
Copy link
Contributor

Can you please update this to resolve the merge conflicts?

@sarutak
Copy link
Member Author

sarutak commented Aug 26, 2014

@marmbrus I resolved merge conflicts.
@liancheng this PR includes your commit in #1944 without 81b43a8 , you need resolve merge issue only about 81b43a8 in #1944 .

@SparkQA
Copy link

SparkQA commented Aug 26, 2014

QA tests have started for PR 1886 at commit 8ef8751.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 26, 2014

QA tests have finished for PR 1886 at commit 8ef8751.

  • This patch fails unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • "$FWDIR"/bin/spark-submit --class $CLASS "$
    • "$FWDIR"/bin/spark-submit --class $CLASS "$
    • case class ExplainCommand(plan: LogicalPlan, extended: Boolean = false) extends Command

@sarutak
Copy link
Member Author

sarutak commented Aug 26, 2014

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Aug 26, 2014

QA tests have started for PR 1886 at commit 8ef8751.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 26, 2014

QA tests have finished for PR 1886 at commit 8ef8751.

  • This patch fails unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • "$FWDIR"/bin/spark-submit --class $CLASS "$
    • "$FWDIR"/bin/spark-submit --class $CLASS "$

@sarutak
Copy link
Member Author

sarutak commented Aug 26, 2014

I believe the failure is not caused by my changes.
Jenkins, retest this please.

@sarutak
Copy link
Member Author

sarutak commented Aug 26, 2014

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Aug 26, 2014

QA tests have started for PR 1886 at commit 8ef8751.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 26, 2014

QA tests have finished for PR 1886 at commit 8ef8751.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • "$FWDIR"/bin/spark-submit --class $CLASS "$
    • "$FWDIR"/bin/spark-submit --class $CLASS "$

@marmbrus
Copy link
Contributor

Thanks! I've merged this to master and 1.1.

@asfgit asfgit closed this in faeb9c0 Aug 27, 2014
asfgit pushed a commit that referenced this pull request Aug 27, 2014
…riftserver.sh

Author: Cheng Lian <[email protected]>
Author: Kousuke Saruta <[email protected]>

Closes #1886 from sarutak/SPARK-2964 and squashes the following commits:

8ef8751 [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into SPARK-2964
26e7c95 [Kousuke Saruta] Revert "Shorten timeout to more reasonable value"
ffb68fa [Kousuke Saruta] Modified spark-sql and start-thriftserver.sh to use bin/utils.sh
8c6f658 [Kousuke Saruta] Merge branch 'spark-3026' of https://github.com/liancheng/spark into SPARK-2964
81b43a8 [Cheng Lian] Shorten timeout to more reasonable value
a89e66d [Cheng Lian] Fixed command line options quotation in scripts
9c894d3 [Cheng Lian] Fixed bin/spark-sql -S option typo
be4736b [Cheng Lian] Report better error message when running JDBC/CLI without hive-thriftserver profile enabled

(cherry picked from commit faeb9c0)
Signed-off-by: Michael Armbrust <[email protected]>
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
…riftserver.sh

Author: Cheng Lian <[email protected]>
Author: Kousuke Saruta <[email protected]>

Closes apache#1886 from sarutak/SPARK-2964 and squashes the following commits:

8ef8751 [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into SPARK-2964
26e7c95 [Kousuke Saruta] Revert "Shorten timeout to more reasonable value"
ffb68fa [Kousuke Saruta] Modified spark-sql and start-thriftserver.sh to use bin/utils.sh
8c6f658 [Kousuke Saruta] Merge branch 'spark-3026' of https://github.com/liancheng/spark into SPARK-2964
81b43a8 [Cheng Lian] Shorten timeout to more reasonable value
a89e66d [Cheng Lian] Fixed command line options quotation in scripts
9c894d3 [Cheng Lian] Fixed bin/spark-sql -S option typo
be4736b [Cheng Lian] Report better error message when running JDBC/CLI without hive-thriftserver profile enabled
@sarutak sarutak deleted the SPARK-2964 branch April 11, 2015 05:21
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.

4 participants