-
Couldn't load subscription status.
- Fork 28.9k
[SPARK-3026][SQL] Report better error message when running JDBC/CLI without hive profile enabled #1944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
QA tests have started for PR 1944. This patch merges cleanly. |
|
Sounds good - it will also conflict (logically) with #2006 |
|
@liancheng, can you please update this to fix the conflict and say |
|
QA tests have started for PR 1944 at commit
|
|
QA tests have started for PR 1944 at commit
|
|
QA tests have finished for PR 1944 at commit
|
|
QA tests have finished for PR 1944 at commit
|
|
I'll rebase this PR to #1886 after merging this PR. |
|
@liancheng can you fix the merge problems? |
…NotFoundExcepti... ...on As improvement of #1944, we should use more special exit code to represent ClassNotFoundException. Author: WangTaoTheTonic <[email protected]> Closes #2421 from WangTaoTheTonic/classnotfoundExitCode and squashes the following commits: 645a22a [WangTaoTheTonic] Serveral typos to trigger Jenkins d6ae559 [WangTaoTheTonic] use 101 instead a2d6465 [WangTaoTheTonic] use 127 instead fbb232f [WangTaoTheTonic] Using a special exit code instead of 1 to represent ClassNotFoundException
This PR tries to catch
ClassNotFoundExceptionwithinSparkSubmitand exit with a special status code. Then we check the exit status within scripts to provide more friendly error message.