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

Maven Build Failed with group id is too big

    XMLWordPrintableJSON

Details

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

    Description

      When executing

      mvn clean install -DskipTests
      

      Build Failed:

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Hive Storage API 2.7.0-SNAPSHOT .................... SUCCESS [  5.299 s]
      [INFO] Hive 4.0.0-SNAPSHOT ................................ SUCCESS [  0.750 s]
      [INFO] Hive Classifications ............................... SUCCESS [  1.057 s]
      [INFO] Hive Shims Common .................................. SUCCESS [  3.882 s]
      [INFO] Hive Shims 0.23 .................................... SUCCESS [  5.020 s]
      [INFO] Hive Shims Scheduler ............................... SUCCESS [  2.587 s]
      [INFO] Hive Shims ......................................... SUCCESS [  2.038 s]
      [INFO] Hive Common ........................................ SUCCESS [  6.921 s]
      [INFO] Hive Service RPC ................................... SUCCESS [  3.503 s]
      [INFO] Hive Serde ......................................... SUCCESS [  6.322 s]
      [INFO] Hive Standalone Metastore .......................... FAILURE [  0.557 s]
      [INFO] Hive Standalone Metastore Common Code .............. SKIPPED
      [INFO] Hive Metastore ..................................... SKIPPED
      [INFO] Hive Vector-Code-Gen Utilities ..................... SKIPPED
      [INFO] Hive Llap Common ................................... SKIPPED
      [INFO] Hive Llap Client ................................... SKIPPED
      [INFO] Hive Llap Tez ...................................... SKIPPED
      [INFO] Hive Spark Remote Client ........................... SKIPPED
      [INFO] Hive Metastore Server .............................. SKIPPED
      [INFO] Hive Query Language ................................ SKIPPED
      [INFO] Hive Llap Server ................................... SKIPPED
      [INFO] Hive Service ....................................... SKIPPED
      [INFO] Hive Accumulo Handler .............................. SKIPPED
      [INFO] Hive JDBC .......................................... SKIPPED
      [INFO] Hive Beeline ....................................... SKIPPED
      [INFO] Hive CLI ........................................... SKIPPED
      [INFO] Hive Contrib ....................................... SKIPPED
      [INFO] Hive Druid Handler ................................. SKIPPED
      [INFO] Hive HBase Handler ................................. SKIPPED
      [INFO] Hive JDBC Handler .................................. SKIPPED
      [INFO] Hive HCatalog ...................................... SKIPPED
      [INFO] Hive HCatalog Core ................................. SKIPPED
      [INFO] Hive HCatalog Pig Adapter .......................... SKIPPED
      [INFO] Hive HCatalog Server Extensions .................... SKIPPED
      [INFO] Hive HCatalog Webhcat Java Client .................. SKIPPED
      [INFO] Hive HCatalog Webhcat .............................. SKIPPED
      [INFO] Hive HCatalog Streaming ............................ SKIPPED
      [INFO] Hive HPL/SQL ....................................... SKIPPED
      [INFO] Hive Streaming ..................................... SKIPPED
      [INFO] Hive Llap External Client .......................... SKIPPED
      [INFO] Hive Shims Aggregator .............................. SKIPPED
      [INFO] Hive Kryo Registrator .............................. SKIPPED
      [INFO] Hive TestUtils ..................................... SKIPPED
      [INFO] Hive Kafka Storage Handler ......................... SKIPPED
      [INFO] Hive Packaging ..................................... SKIPPED
      [INFO] Hive Metastore Tools ............................... SKIPPED
      [INFO] Hive Metastore Tools common libraries .............. SKIPPED
      [INFO] Hive metastore benchmarks .......................... SKIPPED
      [INFO] Hive Upgrade Acid .................................. SKIPPED
      [INFO] Hive Pre Upgrade Acid 4.0.0-SNAPSHOT ............... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 38.602 s
      [INFO] Finished at: 2018-10-22T15:14:24+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single (assemble) on project hive-standalone-metastore: Execution assemble of goal org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single failed: group id '25950964' is too big ( > 2097151 ). Use STAR or POSIX extensions to overcome this limit -> [Help 1]
      

      I have tried to add tarLongFileMode=posix in standalone-metastore/pom.xml, but not success. What I added as below.

       <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-assembly-plugin</artifactId>
              <version>${maven.assembly.plugin.version}</version>
              <configuration>
                  <tarLongFileMode>posix</tarLongFileMode>
              </configuration>
      </plugin>
      

      Attachments

        1. hive_build_error.log
          5.11 MB
          PENG Zhengshuai
        2. HIVE-20786.patch
          1 kB
          Szehon Ho
        3. HIVE-20786.2.patch
          2 kB
          Szehon Ho

        Issue Links

          Activity

            People

              szehon Szehon Ho
              PENG Zhengshuai PENG Zhengshuai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: