-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-3791][SQL] Provides Spark version and Hive version in HiveThriftServer2 #2843
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -318,7 +318,9 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) { | |
driver.close() | ||
HiveShim.processResults(results) | ||
case _ => | ||
sessionState.out.println(tokens(0) + " " + cmd_1) | ||
if (sessionState.out != null) { | ||
sessionState.out.println(tokens(0) + " " + cmd_1) | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This issue is partly fixed in #2887. |
||
Seq(proc.run(cmd_1).getResponseCode.toString) | ||
} | ||
} catch { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This requirement should be OK for Jenkins, since Jenkins always build the assembly jar before executing any test suites.