Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
The source distribution archive, apache-hive-4.0.0-SNAPSHOT-src.tar.gz, can be produced by running:
mvn clean package -DskipTests -Pdist
The file is generated under:
packaging/target/apache-hive-4.0.0-SNAPSHOT-src.tar.gz
The source distribution archive/package should allow anyone who downloads it to build and test Hive.
At the moment, on commit b63dab11d229abac59a4ef5e141d8d9b28037c8b, if someone produces the source package and extracts the contents of the archive, it is not possible to build Hive.
Both mvn install and mvn package commands fail when they are executed inside the directory extracted from the archive.
mvn clean install -DskipTests mvn clean package -DskipTests
The error is shown below:
[INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Child module /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/parser of /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/pom.xml does not exist @ [ERROR] Child module /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/udf of /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/pom.xml does not exist @ [ERROR] Child module /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/standalone-metastore/pom.xml of /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/pom.xml does not exist @ @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.hive:hive:4.0.0-SNAPSHOT (/home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/pom.xml) has 3 errors [ERROR] Child module /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/parser of /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/pom.xml does not exist [ERROR] Child module /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/udf of /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/pom.xml does not exist [ERROR] Child module /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/standalone-metastore/pom.xml of /home/stamatis/Downloads/apache-hive-4.0.0-SNAPSHOT-src/pom.xml does not exist [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/ProjectBuildingException
Attachments
Issue Links
- duplicates
-
HIVE-25997 Build from source distribution archive fails
-
- Closed
-