You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2018/10/02 22:07:00 UTC

[jira] [Commented] (HIVE-20671) Hive Streaming has a broken dependency on metastore-server

    [ https://issues.apache.org/jira/browse/HIVE-20671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16636182#comment-16636182 ] 

Alexander Kolbasov commented on HIVE-20671:
-------------------------------------------

I tried this and it now compiles fine.

> 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: Jaume M
>            Priority: Major
>         Attachments: 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)