Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20671

Hive Streaming has a broken dependency on metastore-server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      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

      [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
      

      I'm not sure why this would happen since test-compile works from hive/streaming

      Attachments

        1. HIVE-20671.02.patch
          1 kB
          Alex Kolbasov
        2. HIVE-20671.03.patch
          2 kB
          Alex Kolbasov
        3. HIVE-20671.04.patch
          1 kB
          Alex Kolbasov
        4. HIVE-20671.05.patch
          2 kB
          Alex Kolbasov
        5. HIVE-20671.1.patch
          0.8 kB
          Jaume M

        Issue Links

          Activity

            People

              akolb Alex Kolbasov
              jmarhuen Jaume M
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: