falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peeyush Bishnoi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1310) Falcon build fails with Oozie-4.2.0
Date Sat, 11 Jul 2015 05:46:04 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623247#comment-14623247
] 

Peeyush Bishnoi commented on FALCON-1310:
-----------------------------------------

[~shwethags] When I am trying to build Falcon by suggested changes for Oozie-4.2 , build is
getting failed. But no such failure occurred with Oozie-4.1.

{code:java}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:57 min
[INFO] Finished at: 2015-07-11T09:48:49+05:30
[INFO] Final Memory: 228M/594M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project falcon-oozie-adaptor: Compilation failure: Compilation failure:
[ERROR] /Users/pbishnoi/data/apache/1310/falcon/oozie/src/main/java/org/apache/falcon/oozie/OozieOrchestrationWorkflowBuilder.java:[241,19]
error: cannot find symbol
[ERROR] variable lib of type FileStatus
[ERROR] /Users/pbishnoi/data/apache/1310/falcon/oozie/src/main/java/org/apache/falcon/service/SharedLibraryHostingService.java:[77,14]
error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR] 
{code}

Following changes I have performed:

{code:java}
diff --git a/build-tools/src/bin/build-oozie.sh b/build-tools/src/bin/build-oozie.sh
index 5ab9092..70c9023 100755
--- a/build-tools/src/bin/build-oozie.sh
+++ b/build-tools/src/bin/build-oozie.sh
@@ -61,6 +61,6 @@ esac
 
 rm `find . -name 'pom.xml.bak'`
 
-$MVN_CMD clean source:jar install -DjavaVersion=1.7 -DtargetJavaVersion=1.6 -DskipTests -Phadoop-2
+$MVN_CMD clean source:jar install -DjavaVersion=1.7 -DtargetJavaVersion=1.6 -DskipTests -Phadoop-1
 
 popd
diff --git a/pom.xml b/pom.xml
index 31997e8..b4fe166 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,7 @@
         <include.prism>true</include.prism>
 
         <slf4j.version>1.7.5</slf4j.version>
-        <oozie.version>4.1.0</oozie.version>
+        <oozie.version>4.2.0</oozie.version>
         <oozie.buildversion>${oozie.version}-falcon</oozie.buildversion>
         <oozie.forcebuild>false</oozie.forcebuild>
         <activemq.version>5.4.3</activemq.version>
{code}

> Falcon build fails with Oozie-4.2.0
> -----------------------------------
>
>                 Key: FALCON-1310
>                 URL: https://issues.apache.org/jira/browse/FALCON-1310
>             Project: Falcon
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.7
>            Reporter: Peeyush Bishnoi
>            Assignee: Peeyush Bishnoi
>             Fix For: 0.7
>
>
> Falcon build fails with following error when try to build with Apache Oozie-4.2.0. 
> {code:java}
> [INFO] Apache Falcon Oozie EL Extension ................... FAILURE [  1.388 s]
> [INFO] Apache Falcon Embedded Hadoop - Test Cluster ....... SKIPPED
> [INFO] Apache Falcon Sharelib Hive - Test Cluster ......... SKIPPED
> [INFO] Apache Falcon Sharelib Pig - Test Cluster .......... SKIPPED
> [INFO] Apache Falcon Sharelib Hcatalog - Test Cluster ..... SKIPPED
> [INFO] Apache Falcon Sharelib Oozie - Test Cluster ........ SKIPPED
> [INFO] Apache Falcon Test Tools - Test Cluster ............ SKIPPED
> [INFO] Apache Falcon Messaging ............................ SKIPPED
> [INFO] Apache Falcon Oozie Adaptor ........................ SKIPPED
> [INFO] Apache Falcon Acquisition .......................... SKIPPED
> [INFO] Apache Falcon Distcp Replication ................... SKIPPED
> [INFO] Apache Falcon Retention ............................ SKIPPED
> [INFO] Apache Falcon Archival ............................. SKIPPED
> [INFO] Apache Falcon Rerun ................................ SKIPPED
> [INFO] Apache Falcon Prism ................................ SKIPPED
> [INFO] Apache Falcon Hive Replication ..................... SKIPPED
> [INFO] Apache Falcon Web Application ...................... SKIPPED
> [INFO] Apache Falcon Documentation ........................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 35.898 s
> [INFO] Finished at: 2015-07-08T22:30:44+05:30
> [INFO] Final Memory: 151M/613M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project falcon-oozie-el-extension: Could not resolve
dependencies for project org.apache.falcon:falcon-oozie-el-extension:jar:0.7-SNAPSHOT: Failed
to collect dependencies at org.apache.oozie:oozie-core:jar:4.2.0-falcon -> org.apache.oozie:oozie-client:jar:4.2.0-falcon
-> org.apache.oozie:oozie-hadoop-auth:jar:hadoop-1-4.2.0-falcon: Failed to read artifact
descriptor for org.apache.oozie:oozie-hadoop-auth:jar:hadoop-1-4.2.0-falcon: Could not transfer
artifact org.apache.oozie:oozie-hadoop-auth:pom:hadoop-1-4.2.0-falcon from/to Codehaus repository
(http://repository.codehaus.org/): Failed to transfer file: http://repository.codehaus.org/org/apache/oozie/oozie-hadoop-auth/hadoop-1-4.2.0-falcon/oozie-hadoop-auth-hadoop-1-4.2.0-falcon.pom.
Return code is: 410 , ReasonPhrase:Gone. -> [Help 1]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message