-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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-2410][SQL] Merging Hive Thrift/JDBC server (with Maven profile fix) #1620
Conversation
Starts Hive Thrift server via spark-submit Make HiveThriftServer2 play well with spark-submit Starts spark-sql shell with spark-submit Updated docs for Hive compatibility and Shark migration guide draft Fixed minor issues in spark-sql and start-thriftserver.sh Added missing license headers Fixed more license header issues Adapts test suites to spark-submit settings Addressed all comments by @pwendell Updated documents and build scripts for the newly added hive-thriftserver profile Starts beeline with spark-submit Fixed spark-submit application options handling logic Any options in the application option list with the same option name that SparkSubmitArguments recognizes (e.g., --help) are stolen by SparkSubmit instead of passed to the application. Fixed failed test suites Disabled MIMA for hive-thriftserver Reordered spark-submit options in spark-shell[.cmd] All options behind primary resource are (and should be) recognized as application options now. Updated Spark SQL programming guide docs Revert changes related to SPARK-2678, decided to move them to another PR Uses random port for HiveThriftServer2 to avoid collision with parallel builds
QA tests have started for PR 1620. This patch merges cleanly. |
QA results for PR 1620: |
Hopefully third times a charm :) Merged! |
Hmm, didn't find related code in master, and this PR is still open, seems it's not successfully merged yet? |
GitHub is lagging... We filled a bug with infra.
|
Oh, really "lucky" these days :) |
… fix) JIRA issue: [SPARK-2410](https://issues.apache.org/jira/browse/SPARK-2410) Another try for apache#1399 & apache#1600. Those two PR breaks Jenkins builds because we made a separate profile `hive-thriftserver` in sub-project `assembly`, but the `hive-thriftserver` module is defined outside the `hive-thriftserver` profile. Thus every time a pull request that doesn't touch SQL code will also execute test suites defined in `hive-thriftserver`, but tests fail because related .class files are not included in the assembly jar. In the most recent commit, module `hive-thriftserver` is moved into its own profile to fix this problem. All previous commits are squashed for clarity. Author: Cheng Lian <lian.cs.zju@gmail.com> Closes apache#1620 from liancheng/jdbc-with-maven-fix and squashes the following commits: 629988e [Cheng Lian] Moved hive-thriftserver module definition into its own profile ec3c7a7 [Cheng Lian] Cherry picked the Hive Thrift server
JIRA issue: SPARK-2410
Another try for #1399 & #1600. Those two PR breaks Jenkins builds because we made a separate profile
hive-thriftserver
in sub-projectassembly
, but thehive-thriftserver
module is defined outside thehive-thriftserver
profile. Thus every time a pull request that doesn't touch SQL code will also execute test suites defined inhive-thriftserver
, but tests fail because related .class files are not included in the assembly jar.In the most recent commit, module
hive-thriftserver
is moved into its own profile to fix this problem. All previous commits are squashed for clarity.