2015년 1월 10일 토요일

[hue-user] Re: HUE building error

Hi,
 Please let me know where i should update the above change? 
Thanks in advance
 Shreyas M

On Monday, 15 September 2014 19:36:25 UTC+5:30, Romain Rigaux wrote:
You probably need to update
https://github.com/cloudera/hue/blob/master/maven/pom.xml#L40

with one of this value:
http://repository.cloudera.com/cloudera/libs-snapshot-local/org/apache/hadoop/hadoop-test/maven-metadata.xml


<metadata><groupId>org.apache.hadoop</groupId><artifactId>hadoop-test</artifactId><versioning><latest>2.5.0-mr1-cdh5.2.0-SNAPSHOT</latest><versions><version>0.20.2-cdh3u7-SNAPSHOT</version><version>2.0.0-mr1-cdh4.3.0-SNAPSHOT</version><version>2.0.0-mr1-cdh4.5.0-SNAPSHOT</version><version>2.0.0-mr1-cdh4.5.0.1-SNAPSHOT</version><version>2.0.0-mr1-cdh4.5.0.2-SNAPSHOT</version><version>2.0.0-mr1-cdh4.6.0-SNAPSHOT</version><version>2.0.0-mr1-cdh4.7.0-SNAPSHOT</version><version>2.0.0-mr1-cdh4.8.0-SNAPSHOT</version><version>2.2.0-mr1-cdh5.0.0-SNAPSHOT</version><version>2.2.0-mr1-cdh5.0.0-beta-2-SNAPSHOT</version><version>2.3.0-mr1-cdh5.0.0-SNAPSHOT</version><version>2.3.0-mr1-cdh5.0.1-SNAPSHOT</version><version>2.3.0-mr1-cdh5.0.2-SNAPSHOT</version><version>2.3.0-mr1-cdh5.0.3-SNAPSHOT</version><version>2.3.0-mr1-cdh5.0.4-SNAPSHOT</version><version>2.3.0-mr1-cdh5.1.0-SNAPSHOT</version><version>2.3.0-mr1-cdh5.1.1-SNAPSHOT</version><version>2.3.0-mr1-cdh5.1.3-SNAPSHOT</version><version>2.3.0-mr1-cdh5.1.4-SNAPSHOT</version><version>2.3.0-mr1-cdh5.2.0-SNAPSHOT</version><version>2.5.0-mr1-cdh5.2.0-SNAPSHOT</version></versions><lastUpdated>20140915091417</lastUpdated></versioning></metadata>


On Fri, Sep 12, 2014 at 5:20 AM, <amithsha...@gmail.com> wrote:
hi, i am also facing the same problem.have tried in hadoop 2.4.1 with hue 3.6.0 and also in hadoop 2.3.0 with hue 3.5.0

INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.024 s
[INFO] Finished at: 2014-09-12T17:42:52+05:30
[INFO] Final Memory: 10M/109M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hue-plugins: Could not resolve dependencies for project com.cloudera.hue:hue-plugins:jar:3.5.0: Could not transfer artifact org.apache.hadoop:hadoop-test:jar:2.3.0 from/to cloudera.snapshots.repo (https://repository.cloudera.com/content/repositories/snapshots): Failed to transfer file: https://repository.cloudera.com/content/repositories/snapshots/org/apache/hadoop/hadoop-test/2.3.0/hadoop-test-2.3.0.jar. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]



you should try to update, as Romain said, the <hadoop.version> of YOUR_HUE_FOLDER/maven/pom.xml with one of the versions provided on http://repository.cloudera.com/cloudera/libs-snapshot-local/org/apache/hadoop/hadoop-test/maven-metadata.xml



Putting it back on the list:
======================

From your command line can you do a


? Do you see any output? Do you have Maven configured in any special way in your build system? 

On Tue, Jan 6, 2015 at 11:55 AM, Enrico Berti<enrico.berti@cloudera.com> wrote:
From your command line can you do a


? Do you see any output? Do you have Maven configured in any special way in your build system? 

e.

On Tue, Jan 6, 2015 at 6:24 AM, shreyas m<shreyas080@gmail.com> wrote:
Hi,
     Thank you very much, but it has not yet solved the error. I'm trying to do it on a plain apache hadoop 2.4
Error is
[WARNING] Could not transfer metadata org.apache.hadoop:hadoop-test:2.0.0-mr1-cdh4.3.0-SNAPSHOT/maven-metadata.xml from/to cloudera.snapshots.repo (https://repository.cloudera.com/content/repositories/snapshots): peer not authenticated
[WARNING] Failure to transfer org.apache.hadoop:hadoop-test:2.0.0-mr1-cdh4.3.0-SNAPSHOT/maven-metadata.xml fromhttps://repository.cloudera.com/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of cloudera.snapshots.repo has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.hadoop:hadoop-test:2.0.0-mr1-cdh4.3.0-SNAPSHOT/maven-metadata.xml from/to cloudera.snapshots.repo (https://repository.cloudera.com/content/repositories/snapshots): peer not authenticated
Downloading: https://repository.cloudera.com/content/repositories/snapshots/org/apache/hadoop/hadoop-test/2.0.0-mr1-cdh4.3.0-SNAPSHOT/hadoop-test-2.0.0-mr1-cdh4.3.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.203s
[INFO] Finished at: Tue Jan 06 10:52:02 IST 2015
[INFO] Final Memory: 10M/236M


댓글 없음:

댓글 쓰기