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

Vihang Karajgaonkar commented on HIVE-20786:
--------------------------------------------

It is interesting to note that in packaging/pom.xml has 
{{<tarLongFileMode>gnu</tarLongFileMode>}}. Perhaps it was copied from the 
packaging/pom.xml to standalone-metastore module.

> Maven Build Failed with group id is too big 
> --------------------------------------------
>
>                 Key: HIVE-20786
>                 URL: https://issues.apache.org/jira/browse/HIVE-20786
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>         Environment:  
> OS: MacOS 10.13.6
> Java:
> {code}
> java version "1.8.0_192"
> Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
> {code}
> Maven:
> {code}
> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
> 2018-06-18T02:33:14+08:00)
> Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre
> Default locale: en_CN, platform encoding: UTF-8
> OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
> {code}
>  
>  
>            Reporter: PENG Zhengshuai
>            Assignee: Szehon Ho
>            Priority: Major
>              Labels: maven
>         Attachments: HIVE-20786.patch, hive_build_error.log
>
>
> When executing
> {code}
> mvn clean install -DskipTests
> {code}
> Build Failed:
> {code}
> [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]
> {code}
> I have tried to add *tarLongFileMode=posix* in 
> *standalone-metastore/pom.xml*, but not success. What I added as below.
> {code}
>  <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-assembly-plugin</artifactId>
>         <version>${maven.assembly.plugin.version}</version>
>         <configuration>
>             <tarLongFileMode>posix</tarLongFileMode>
>         </configuration>
> </plugin>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to