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

jp commented on FALCON-291:
---------------------------

Thank you for your answer.
Now my maven version is 3.3.9. the error with the #291 is not same.
the cause id :
* getaddrinfo(3) failed for archive.apache.org:80
* Couldn't resolve host 'archive.apache.org'
* Closing connection #0
 
but I don`t know how to resolve it. could you give me some help?
 
===================================================
[INFO] --- exec-maven-plugin:1.2.1:exec (BUILD-OOZIE) @ build-tools ---
oozie version
Using maven from  /home/project/apache-maven-3.3.9/bin/mvn
+ VERSION=4.1.0
+ BUILD_VERSION=4.1.0-falcon
+ FORCE_BUILD=false
+ echo 'oozie version '
+ '[' -z '' ']'
++ which mvn
+ export MVN_CMD=/home/project/apache-maven-3.3.9/bin/mvn
+ MVN_CMD=/home/project/apache-maven-3.3.9/bin/mvn
+ '[' -z /home/project/apache-maven-3.3.9/bin/mvn ']'
+ echo 'Using maven from ' /home/project/apache-maven-3.3.9/bin/mvn
+ [[ false == \f\a\l\s\e ]]
++ cut '-d>' -f2
++ grep localRepository
++ /home/project/apache-maven-3.3.9/bin/mvn help:effective-settings
++ cut '-d<' -f1
+ [[ -f 
/root/.m2/repository/org/apache/oozie/oozie-webapp/4.1.0-falcon/oozie-webapp-4.1.0-falcon.war
 ]]
+ PKG_URL=http://archive.apache.org/dist/oozie/4.1.0/oozie-4.1.0.tar.gz
+ PKG=oozie-4.1.0
+ mkdir -p ../target
+ pushd ../target
+ rm -rf 'oozie-*'
/home/project/apache-maven-3.3.9/falcon-sources-0.9/target 
/home/project/apache-maven-3.3.9/falcon-sources-0.9/build-tools
+ curl -v http://archive.apache.org/dist/oozie/4.1.0/oozie-4.1.0.tar.gz -o 
oozie-4.1.0.tgz
* getaddrinfo(3) failed for archive.apache.org:80
* Couldn't resolve host 'archive.apache.org'
* Closing connection #0
curl: (6) Couldn't resolve host 'archive.apache.org'
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Falcon ...................................... SUCCESS [  2.650 s]
[INFO] Apache Falcon UI ................................... SUCCESS [  7.531 s]
[INFO] Checkstyle ......................................... SUCCESS [  0.622 s]
[INFO] Build Tools ........................................ FAILURE [  3.428 s]
[INFO] Apache Falcon Java client .......................... SKIPPED
[INFO] Apache Falcon CLI client ........................... SKIPPED
[INFO] Apache Falcon Metrics .............................. SKIPPED
[INFO] Apache Falcon Hadoop Dependencies .................. SKIPPED
[INFO] Apache Falcon Test Utility ......................... SKIPPED
[INFO] Apache Falcon Commons .............................. SKIPPED
[INFO] Apache Falcon Oozie EL Extension ................... SKIPPED
[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 LIfecycle Module ..................... SKIPPED
[INFO] Apache Falcon Oozie Adaptor ........................ SKIPPED
[INFO] Apache Falcon Scheduler ............................ 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] falcon-unit ........................................ SKIPPED
[INFO] Apache Falcon Web Application ...................... SKIPPED
[INFO] Apache Falcon Documentation ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.532 s
[INFO] Finished at: 2016-04-16T01:48:26+09:00
[INFO] Final Memory: 42M/446M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(BUILD-OOZIE) on project build-tools: Command execution failed. Process exited 
with an error: 6 (Exit value: 6) -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :build-tools
===================================================










> Not able to package Falcon
> --------------------------
>
>                 Key: FALCON-291
>                 URL: https://issues.apache.org/jira/browse/FALCON-291
>             Project: Falcon
>          Issue Type: Bug
>          Components: build-tools, oozie
>    Affects Versions: 0.4
>         Environment: HDP 1.3 and CDH 4.3
>            Reporter: prashant
>
> Hi,
> I am not able to build falcon 0.4-incubating jar and getting error when i am 
> trying to build it on HDP 1.3 as well as CDH 4.3.
> below are steps which i am following
> * git clone https://git-wip-us.apache.org/repos/asf/incubator-falcon.git 
> falcon
> * cd falcon
> * export mvn package
> below is the error
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (BUILD-OOZIE) on project build-tools: Command execution failed. Process 
> exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :build-tools



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

Reply via email to