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

Use "posix" for property tarLongFileMode for maven-assembly-plugin

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.0
    • Fix Version/s: 4.0.0
    • Component/s: Build Infrastructure
    • Labels:
      None
    • Target Version/s:

      Description

      Came across this error when building hive using "mvn clean install -DskipTests"

      
      [INFO] Building tar: /Users/wei/apache/hive/standalone-metastore/target/apache-hive-standalone-metastore-4.0.0-SNAPSHOT-src.tar.gz
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Hive Storage API 2.7.0-SNAPSHOT .................... SUCCESS [  5.656 s]
      [INFO] Hive 4.0.0-SNAPSHOT ................................ SUCCESS [  0.779 s]
      [INFO] Hive Classifications ............................... SUCCESS [  0.908 s]
      [INFO] Hive Shims Common .................................. SUCCESS [  3.217 s]
      [INFO] Hive Shims 0.23 .................................... SUCCESS [  7.102 s]
      [INFO] Hive Shims Scheduler ............................... SUCCESS [  2.069 s]
      [INFO] Hive Shims ......................................... SUCCESS [  1.905 s]
      [INFO] Hive Common ........................................ SUCCESS [  8.185 s]
      [INFO] Hive Service RPC ................................... SUCCESS [  3.603 s]
      [INFO] Hive Serde ......................................... SUCCESS [  7.438 s]
      [INFO] Hive Standalone Metastore .......................... FAILURE [  0.576 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: 42.026 s
      [INFO] Finished at: 2018-10-24T15:34:40-07: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 '74715970' is too big ( > 2097151 ). Use STAR or POSIX extensions to overcome this limit -> [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/PluginExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :hive-standalone-metastore
      
      

        Attachments

        1. HIVE-20800.1.patch
          2 kB
          Wei Zheng

          Issue Links

            Activity

              People

              • Assignee:
                wzheng Wei Zheng
                Reporter:
                wzheng Wei Zheng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: