It looks like hadoop-3.0.0-beta1 may no longer be available, my copy in ~/.m2 
looks like it's from last November. The hadoop version should be changed in the 
hive build.


In the meantime you can try building with hadoop 3.0.0, either by changing 
hadoop.version in your pom.xml or by adding -Dhadoop.version=3.0.0 on your mvn 
command line.


________________________________
From: Jasson Chenwei <ynjassionc...@gmail.com>
Sent: Tuesday, March 20, 2018 2:26 PM
To: user@hive.apache.org
Subject: compilation errors on hive for hadoop-3.0.0

hi, there

I am trying to build a hive distribution for hadoop-3.0.0.

I just git clone the source code from https://github.com/apache/hive. I have 
noticed that the hadoop-3.0.0-beta dependency has been included in the pom 
file. So, I just executed:

mvn clean package -Pdist -Dmaven.test.skip=true

However, I got this error:

[ERROR] Failed to execute goal on project hive-metastore: Could not resolve 
dependencies for project org.apache.hive:hive-metastore:jar:3.0.0-SNAPSHOT: 
Failure to find org.apache.hive:hive-common:jar:tests:3.0.0-SNAPSHOT in 
https://repository.apache.org/snapshots was cached in the local repository, 
resolution will not be reattempted until the update interval of 
apache.snapshots has elapsed or updates are forced -> [Help 1]


Is there something I missed here ??

Thanks for your generous help!


Wei

Reply via email to