Jaume M created HIVE-20671:
------------------------------

             Summary: Change pom dependency scope of 
hive-standalone-metastore-server to compile
                 Key: HIVE-20671
                 URL: https://issues.apache.org/jira/browse/HIVE-20671
             Project: Hive
          Issue Type: Bug
            Reporter: Jaume M


{{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)

Reply via email to