Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3947

Fix build failure of Oozie due to insufficient test scope dependency on hive-service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1, 3.3.0
    • None
    • None

    Description

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project oozie-core: Compilation failure: Compilation failure:
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[39,31] package org.apache.hive.service does not exist
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[40,35] package org.apache.hive.service.cli does not exist
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[41,35] package org.apache.hive.service.cli does not exist
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[42,42] package org.apache.hive.service.cli.thrift does not exist
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[43,42] package org.apache.hive.service.cli.thrift does not exist
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[44,42] package org.apache.hive.service.cli.thrift does not exist
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[45,38] package org.apache.hive.service.server does not exist
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[55,11] cannot find symbol
      [ERROR]   symbol:   class HiveServer2
      [ERROR]   location: class org.apache.oozie.test.hive.MiniHS2
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[126,10] cannot find symbol
      [ERROR]   symbol:   class CLIServiceClient
      [ERROR]   location: class org.apache.oozie.test.hive.MiniHS2
      [ERROR] /home/rocky/srcs/bigtop/build/oozie/rpm/BUILD/oozie-5.2.1/core/src/test/java/org/apache/oozie/test/hive/MiniHS2.java:[131,10] cannot find symbol
      [ERROR]   symbol:   class CLIServiceClient
      [ERROR]   location: class org.apache.oozie.test.hive.MiniHS2
      [ERROR] -> [Help 1]
      

      Attachments

        Issue Links

          Activity

            People

              iwasakims Masatake Iwasaki
              iwasakims Masatake Iwasaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m