falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-382) Error While building Latest trunk code with Hadoop 2.2.0
Date Fri, 28 Mar 2014 13:13:16 GMT

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

Sunil Kumar commented on FALCON-382:
------------------------------------

Hi [~shwethags],
I have found one more issues with src/bin/package.sh file for building  Oozie and Falcon packages
for deployment with hadoop2. This file doesn't accept maven profile  -P hadoop-2. When you
execute this file with option  src/bin/package.sh 2.2.0 4.0.0 . It fail building hadoop-dependencies
sub-project. 
[ERROR] Failed to execute goal on project falcon-hadoop-dependencies: Could not resolve dependencies
for project org.apache.falcon:falcon-hadoop-dependencies:jar:0.5-incubating-SNAPSHOT: Failure
to find org.apache.hadoop:hadoop-core:jar:2.2.0 in http://repo1.maven.org/maven2 was cached
in the local repository, resolution will not be reattempted until the update interval of central
has elapsed or updates are forced -> [Help 1]
 Since hadoop-core.2.2.0.jar is not part of hadoo2. 

For fixing this we need to make script to take it as Maven profile as parameters src/bin/package.sh.
for now i have changed in this file and able to proceed. Let me know if want raise separate
JIRA for this or you will be fixing as part of this jira. 
 
 

> Error While building Latest trunk code with Hadoop 2.2.0
> --------------------------------------------------------
>
>                 Key: FALCON-382
>                 URL: https://issues.apache.org/jira/browse/FALCON-382
>             Project: Falcon
>          Issue Type: Bug
>          Components: build-tools, oozie
>    Affects Versions: 0.5
>         Environment: Centos 6.3 and Hadoop 2.2.0
>            Reporter: Sunil Kumar
>            Assignee: Suhas Vasu
>            Priority: Blocker
>
> Hi, 
> Today pulled latest code from the git and trying to build with hadoop 2.2.0.  Following
are the details:
> Maven Command: mvn clean install -Phadoop-2 -Doozie.version=4.0.0 -DskipTests
> Error on Console:
> 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]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
(BUILD-OOZIE) on project build-tools: Command execution failed.
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
>         at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>         ... 19 more
> Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1)
>         at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
>         at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
>         at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
>         at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
>         ... 21 more
> [ERROR]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message