[
https://issues.apache.org/jira/browse/HIVE-20671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640308#comment-16640308
]
Vihang Karajgaonkar commented on HIVE-20671:
--------------------------------------------
I was testing this patch before merging it in and I saw that it fails with the
below error when you run {{mvn -DskipTests -Pitests clean test-compile
-DskipTests=true}} as described in the JIRA
{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:16 min
[INFO] Finished at: 2018-10-05T13:15:54-07:00
[INFO] Final Memory: 380M/1676M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile)
on project hive-streaming: Compilation failure
[ERROR]
hive/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java:[45,40]
cannot find symbol
[ERROR] symbol: class LockRequestBuilder
[ERROR] location: package org.apache.hadoop.hive.metastore
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hive-streaming
{noformat}
> Hive Streaming has a broken dependency on metastore-server
> ----------------------------------------------------------
>
> Key: HIVE-20671
> URL: https://issues.apache.org/jira/browse/HIVE-20671
> Project: Hive
> Issue Type: Bug
> Reporter: Jaume M
> Assignee: Alexander Kolbasov
> Priority: Major
> Attachments: HIVE-20671.02.patch, HIVE-20671.03.patch,
> HIVE-20671.04.patch, HIVE-20671.1.patch
>
>
> {{mvn -DskipTests -Pitests clean test-compile -DskipTests=true}} fails from
> the root directory of hive. This is sometimes run as part of the yetus tests
> depending on the modified files. The error is
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile
> (default-compile) on project hive-streaming: Compilation failure: Compilation
> failure:
> [ERROR]
> /Users/jmarhuenda/workspace/hive/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java:[44,40]
> cannot find symbol
> [ERROR] symbol: class LockComponentBuilder
> [ERROR] location: package org.apache.hadoop.hive.metastore
> [ERROR]
> /Users/jmarhuenda/workspace/hive/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java:[45,40]
> cannot find symbol
> [ERROR] symbol: class LockRequestBuilder
> [ERROR] location: package org.apache.hadoop.hive.metastore
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :hive-streaming
> {code}
> I'm not sure why this would happen since {{test-compile}} works from
> {{hive/streaming}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)