[ 
https://issues.apache.org/jira/browse/HIVE-28328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on HIVE-28328 started by Basapuram Kumar.
----------------------------------------------
> Hive compilation failure
> ------------------------
>
>                 Key: HIVE-28328
>                 URL: https://issues.apache.org/jira/browse/HIVE-28328
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 4.0.0
>            Reporter: Basapuram Kumar
>            Assignee: Basapuram Kumar
>            Priority: Major
>
> When compiling hive  branch-4.0 , failing with the below error.
>  
> ```
> mvn clean install package -Dtar -Pdist  -Psources -DskipTests 
> -Dmaven.javadoc.skip=true -DcreateChecksum=true -PcleanUICache -Pvisualize 
> -Ptools -Dallow.root.build
> ```
> Error
> ```
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:license-maven-plugin:2.3.0:download-licenses 
> (license-fetch) on project hive-packaging: Execution license-fetch of goal 
> org.codehaus.mojo:license-maven-plugin:2.3.0:download-licenses failed: URL 
> 'http://apache.org/licenses/LICENSE-2.0.txt' should belong to 
> licenseUrlFileName having key 'APACHE-2.0' together with URLs 
> 'http://www.apache.org/licenses/LICENSE-2.0, 
> https://www.apache.org/licenses/LICENSE-2.0.txt, 
> http://www.apache.org/licenses/LICENSE-2.0.txt, 
> http://www.apache.org/licenses/, 
> http://www.apache.org/licenses/LICENSE-2.0.html, 
> https://opensource.org/licenses/Apache-2.0, 
> https://www.apache.org/licenses/LICENSE-2.0, 
> https://aws.amazon.com/apache2.0' -> [Help 1]
> ```
> complete trace:
> {code:java}
> [INFO] -------------------< org.apache.hive:hive-packaging 
> >-------------------
> [INFO] Building Hive Packaging 4.0.1-SNAPSHOT                           
> [44/47]
> [INFO] --------------------------------[ pom 
> ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hive-packaging ---
> [INFO] Deleting /root/basa/apcahe/hive/packaging/target
> [INFO] Deleting /root/basa/apcahe/hive/packaging (includes = 
> [datanucleus.log, derby.log], excludes = [])
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
> hive-packaging ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ 
> hive-packaging ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce 
> (enforce-banned-dependencies-licenses) @ hive-packaging ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce 
> (enforce-banned-dependencies-logging) @ hive-packaging ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (check-banned-imports) @ 
> hive-packaging ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
> (process-resource-bundles) @ hive-packaging ---
> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
> [INFO] Copying 3 resources from 1 bundle.
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (create-bin-license) @ hive-packaging 
> ---
> [INFO] Executing tasksmain:
> [INFO] Executed tasks
> [INFO]
> [INFO] --- license-maven-plugin:2.3.0:download-licenses (license-fetch) @ 
> hive-packaging ---
> [WARNING] No license information available for: 
> commons-digester:commons-digester:1.8.1
> [WARNING] No URL for license at index 0 in dependency org.tukaani:xz:1.9
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Hive 4.0.1-SNAPSHOT:
> [INFO]
> [INFO] Hive Storage API ................................... SUCCESS [  4.514 
> s]
> [INFO] Hive ............................................... SUCCESS [  1.966 
> s]
> [INFO] Hive Classifications ............................... SUCCESS [  0.377 
> s]
> [INFO] Hive Shims Common .................................. SUCCESS [  5.727 
> s]
> [INFO] Hive Shims 0.23 .................................... SUCCESS [  9.722 
> s]
> [INFO] Hive Shims ......................................... SUCCESS [  5.155 
> s]
> [INFO] Hive Standalone Metastore .......................... SUCCESS [  2.587 
> s]
> [INFO] Hive Standalone Metastore Common Code .............. SUCCESS [ 35.537 
> s]
> [INFO] Hive Common ........................................ SUCCESS [ 12.533 
> s]
> [INFO] Hive Service RPC ................................... SUCCESS [  1.969 
> s]
> [INFO] Hive Serde ......................................... SUCCESS [ 13.739 
> s]
> [INFO] Hive Metastore ..................................... SUCCESS [  9.650 
> s]
> [INFO] Hive Vector-Code-Gen Utilities ..................... SUCCESS [  0.573 
> s]
> [INFO] Hive Parser ........................................ SUCCESS [ 18.288 
> s]
> [INFO] Hive UDF ........................................... SUCCESS [  8.976 
> s]
> [INFO] Hive Llap Common ................................... SUCCESS [ 11.377 
> s]
> [INFO] Hive Llap Client ................................... SUCCESS [ 10.911 
> s]
> [INFO] Hive Llap Tez ...................................... SUCCESS [ 12.141 
> s]
> [INFO] Hive Metastore Server .............................. SUCCESS [ 14.205 
> s]
> [INFO] Hive Query Language ................................ SUCCESS [01:32 
> min]
> [INFO] Hive TestUtils ..................................... SUCCESS [  0.326 
> s]
> [INFO] Hive Llap Server ................................... SUCCESS [ 22.828 
> s]
> [INFO] Hive HPL/SQL ....................................... SUCCESS [ 17.601 
> s]
> [INFO] Hive Service ....................................... SUCCESS [ 23.158 
> s]
> [INFO] Hive Accumulo Handler .............................. SUCCESS [ 20.229 
> s]
> [INFO] Hive JDBC .......................................... SUCCESS [ 39.901 
> s]
> [INFO] Hive Beeline ....................................... SUCCESS [ 41.193 
> s]
> [INFO] Hive CLI ........................................... SUCCESS [ 19.226 
> s]
> [INFO] Hive Contrib ....................................... SUCCESS [ 15.238 
> s]
> [INFO] Hive Druid Handler ................................. SUCCESS [ 47.665 
> s]
> [INFO] Hive HBase Handler ................................. SUCCESS [ 23.339 
> s]
> [INFO] Hive JDBC Handler .................................. SUCCESS [ 16.112 
> s]
> [INFO] Hive HCatalog ...................................... SUCCESS [  7.211 
> s]
> [INFO] Hive HCatalog Core ................................. SUCCESS [ 22.358 
> s]
> [INFO] Hive HCatalog Pig Adapter .......................... SUCCESS [ 20.337 
> s]
> [INFO] Hive HCatalog Server Extensions .................... SUCCESS [ 19.692 
> s]
> [INFO] Hive HCatalog Webhcat Java Client .................. SUCCESS [ 19.672 
> s]
> [INFO] Hive HCatalog Webhcat .............................. SUCCESS [ 22.777 
> s]
> [INFO] Hive Streaming ..................................... SUCCESS [ 19.562 
> s]
> [INFO] Hive Llap External Client .......................... SUCCESS [ 17.896 
> s]
> [INFO] Hive Shims Aggregator .............................. SUCCESS [  0.125 
> s]
> [INFO] Hive Kudu Handler .................................. SUCCESS [ 24.800 
> s]
> [INFO] Hive Kafka Storage Handler ......................... SUCCESS [ 20.359 
> s]
> [INFO] Hive Packaging ..................................... FAILURE [  4.728 
> s]
> [INFO] Hive Metastore Tools ............................... SKIPPED
> [INFO] Hive Metastore Tools common libraries .............. SKIPPED
> [INFO] Hive metastore benchmarks .......................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  12:39 min
> [INFO] Finished at: 2024-06-14T08:34:39+02:00
> [INFO] 
> ------------------------------------------------------------------------
> [WARNING] The requested profile "cleanUICache" could not be activated because 
> it does not exist.
> [WARNING] The requested profile "visualize" could not be activated because it 
> does not exist.
> [WARNING] The requested profile "tools" could not be activated because it 
> does not exist. 
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:license-maven-plugin:2.3.0:download-licenses 
> (license-fetch) on project hive-packaging: Execution license-fetch of goal 
> org.codehaus.mojo:license-maven-plugin:2.3.0:download-licenses failed: URL 
> 'http://apache.org/licenses/LICENSE-2.0.txt' should belong to 
> licenseUrlFileName having key 'APACHE-2.0' together with URLs 
> 'http://www.apache.org/licenses/LICENSE-2.0, 
> https://www.apache.org/licenses/LICENSE-2.0.txt, 
> http://www.apache.org/licenses/LICENSE-2.0.txt, 
> http://www.apache.org/licenses/, 
> http://www.apache.org/licenses/LICENSE-2.0.html, 
> https://opensource.org/licenses/Apache-2.0, 
> https://www.apache.org/licenses/LICENSE-2.0, 
> https://aws.amazon.com/apache2.0' -> [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 <args> -rf :hive-packaging {code}
> and after fixing the above hitting another compilation failure on "Hive 
> Packaging"
> /
> {code:java}
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:license-maven-plugin:2.3.0:download-licenses 
> (license-fetch) on project hive-packaging: Execution license-fetch of goal 
> org.codehaus.mojo:license-maven-plugin:2.3.0:download-licenses failed: URL 
> 'https://www.eclipse.org/org/documents/edl-v10.php' should belong to 
> licenseUrlFileName having key 
> 'eclipse-distribution-license-v-1.0-edl-v10.html' together with URLs 
> 'http://www.eclipse.org/org/documents/edl-v10.php' -> [Help 1] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to