[
https://issues.apache.org/jira/browse/SPARK-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219203#comment-14219203
]
George Kyriacou commented on SPARK-4499:
----------------------------------------
Spark 1.2.0 built with the command: mvn -Pyarn -Phadoop-2.4
-Dhadoop.version=2.4.1 -Phive -DskipTests clean package
The following error is thrown during the thrift server start-up:
failed to launch org.apache.spark.sql.hive.thriftserver.HiveThriftServer2:
Failed to load main class
org.apache.spark.sql.hive.thriftserver.HiveThriftServer2.
You need to build Spark with -Phive and -Phive-thriftserver.
> Problems building and running 1.2 with Hive support
> ---------------------------------------------------
>
> Key: SPARK-4499
> URL: https://issues.apache.org/jira/browse/SPARK-4499
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.2.0
> Environment: Hadoop 2.4.1, Hive 0.12, Ubuntu Server 12.04 LTS x64
> Reporter: George Kyriacou
> Labels: build, hive, hive-thiftserver, maven
>
> Building using Maven with the '-Phive' option causes an error during start-up
> of the Thrift Server. It complains that the project was not built using the
> '-Phive' and '-Phive-thriftserver' options and exits abnormally.
> Compiling with both the '-Phive' and '-Phive-thiftserver' allows the Thrift
> Server to start correctly however it seems that now it is running the same
> kind of Thrift server that Hive would be running. Connecting using the Simba
> Spark ODBC driver to the port that the Spark Thrift Server is running on
> displays an error that I am attempting to connect to an incorrect server
> type. Switching to a Hive ODBC driver from Hortonworks and pointing it to the
> same port connects successfully.
> This did not happen with previous Spark 1.2 builds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]