The absence of dependencies of the hive-built-in functions leads to a build failure with error code 410 for Oozie

I am trying to create oozie from sources but could not install. I want to install oozie and look forward to working with this. I fail at this point: when I gave cmd from the oozie -3.3.3 directory:

bin/mkdistro.sh -DskipTests 

I got this error:

 [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:55 min [INFO] Finished at: 2015-07-05T14:05:27+05:30 [INFO] Final Memory: 39M/372M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project oozie-sharelib-hive: Could not resolve dependencies for project org.apache.oozie:oozie-sharelib-hive:jar:3.3.2: Failed to collect dependencies at org.apache.hive:hive-builtins:jar:0.13.1: Failed to read artifact descriptor for org.apache.hive:hive-builtins:jar:0.13.1: Could not transfer artifact org.apache.hive:hive-builtins:pom:0.13.1 from/to Codehaus repository (http://repository.codehaus.org/): Failed to transfer file: http://repository.codehaus.org/org/apache/hive/hive-builtins/0.13.1/hive-builtins-0.13.1.pom. Return code is: 410 , ReasonPhrase:Gone. 

FYI: On my system, I have a Hadoop 1.0.4 working environment and other tools:

  • sqoop-1.4.6,
  • apache-maven-3.3.3
  • pigs-0.13.0,
  • Hive-0.13.1,
  • hbase-0.98.4 and
  • Java - jdk1.7.0_45.

What am I missing or misconfigured causing build failures? Did I better serve with the preview version for oozie?

0
source share
1 answer

The Codehaus platform is closed , i.e. their public Maven repository has also disappeared. You should try to follow your advice and add the following to your ~/.m2/settings.xml file:

 <repositories> <repository> <id>Codehaus repository</id> <name>codehaus-mule-repo</name> <url> https://repository-master.mulesoft.org/nexus/content/groups/public/ </url> <layout>default</layout> </repository> </repositories> 

This should use the backup repository to get the missing dependency.

I am not sure if the repository identifier should be used. I used one of Oozie 3.3.2 POM above.

+2
source

All Articles