Skip to content

[SPARK-37052][CORE] Spark should only pass --verbose argument to main class when is sql shell#34322

Closed
AngersZhuuuu wants to merge 1 commit intoapache:masterfrom
AngersZhuuuu:SPARK-37052
Closed

[SPARK-37052][CORE] Spark should only pass --verbose argument to main class when is sql shell#34322
AngersZhuuuu wants to merge 1 commit intoapache:masterfrom
AngersZhuuuu:SPARK-37052

Conversation

@AngersZhuuuu
Copy link
Contributor

What changes were proposed in this pull request?

In #32163 spark pass --verbose to main class o support spark-sql shell can use verbose argument too.
But for other shell main class such as saprk-shell, it's intercepter don't support --verbose, so we should only pass --verbose for sql shell

Why are the changes needed?

Fix bug

Does this PR introduce any user-facing change?

No

How was this patch tested?

@github-actions github-actions bot added the CORE label Oct 19, 2021
@AngersZhuuuu
Copy link
Contributor Author

@LuciferYang
Copy link
Contributor

LuciferYang commented Oct 19, 2021

@toujours33 pick this to our branch to verify it please, thanks ~

Copy link
Member

@yaooqinn yaooqinn left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

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

LGTM(nonbinding)

@SparkQA
Copy link

SparkQA commented Oct 19, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48865/

@SparkQA
Copy link

SparkQA commented Oct 19, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48865/

@cloud-fan
Copy link
Contributor

thanks, merging to master/3.2!

@cloud-fan cloud-fan closed this in a6d3a2c Oct 19, 2021
cloud-fan pushed a commit that referenced this pull request Oct 19, 2021
… class when is sql shell

### What changes were proposed in this pull request?
In #32163 spark pass `--verbose` to main class o support spark-sql shell can use verbose argument too.
But for other shell main class such as saprk-shell, it's intercepter don't support `--verbose`, so we should only pass `--verbose` for sql shell

### Why are the changes needed?
Fix bug

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

Closes #34322 from AngersZhuuuu/SPARK-37052.

Authored-by: Angerszhuuuu <angers.zhu@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit a6d3a2c)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
@SparkQA
Copy link

SparkQA commented Oct 19, 2021

Test build #144391 has finished for PR 34322 at commit c314b5d.

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

@dongjoon-hyun
Copy link
Member

+1, LGTM

sunchao pushed a commit to sunchao/spark that referenced this pull request Dec 8, 2021
… class when is sql shell

### What changes were proposed in this pull request?
In apache#32163 spark pass `--verbose` to main class o support spark-sql shell can use verbose argument too.
But for other shell main class such as saprk-shell, it's intercepter don't support `--verbose`, so we should only pass `--verbose` for sql shell

### Why are the changes needed?
Fix bug

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

Closes apache#34322 from AngersZhuuuu/SPARK-37052.

Authored-by: Angerszhuuuu <angers.zhu@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit a6d3a2c)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 34086b0)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
catalinii pushed a commit to lyft/spark that referenced this pull request Feb 22, 2022
… class when is sql shell

### What changes were proposed in this pull request?
In apache#32163 spark pass `--verbose` to main class o support spark-sql shell can use verbose argument too.
But for other shell main class such as saprk-shell, it's intercepter don't support `--verbose`, so we should only pass `--verbose` for sql shell

### Why are the changes needed?
Fix bug

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

Closes apache#34322 from AngersZhuuuu/SPARK-37052.

Authored-by: Angerszhuuuu <angers.zhu@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit a6d3a2c)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
catalinii pushed a commit to lyft/spark that referenced this pull request Mar 4, 2022
… class when is sql shell

### What changes were proposed in this pull request?
In apache#32163 spark pass `--verbose` to main class o support spark-sql shell can use verbose argument too.
But for other shell main class such as saprk-shell, it's intercepter don't support `--verbose`, so we should only pass `--verbose` for sql shell

### Why are the changes needed?
Fix bug

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

Closes apache#34322 from AngersZhuuuu/SPARK-37052.

Authored-by: Angerszhuuuu <angers.zhu@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit a6d3a2c)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants