[
https://issues.apache.org/jira/browse/FALCON-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971731#comment-13971731
]
Dave Patton commented on FALCON-382:
------------------------------------
I just tried to run this with:
mvn clean install -Phadoop-2 -Doozie.version=4.0.1 -DskipTests
and received the same error:
sed -i.bak 's/4.0.1<\/version>/4.0.1-falcon<\/version>/g' pom.xml
client/pom.xml core/pom.xml distro/pom.xml docs/pom.xml examples/pom.xml
hadooplibs/pom.xml hbaselibs/pom.xml hcataloglibs/pom.xml login/pom.xml
minitest/pom.xml sharelib/pom.xml tools/pom.xml webapp/pom.xml
hadooplibs/hadoop-0.23/pom.xml hadooplibs/hadoop-1/pom.xml
hadooplibs/hadoop-2/pom.xml hadooplibs/hadoop-3/pom.xml
hadooplibs/hadoop-distcp-0.23/pom.xml hadooplibs/hadoop-distcp-1/pom.xml
hadooplibs/hadoop-distcp-2/pom.xml hadooplibs/hadoop-distcp-3/pom.xml
hadooplibs/hadoop-test-0.23/pom.xml hadooplibs/hadoop-test-1/pom.xml
hadooplibs/hadoop-test-2/pom.xml hadooplibs/hadoop-test-3/pom.xml
hbaselibs/hbase-0.94/pom.xml hcataloglibs/hcatalog-0.5/pom.xml
hcataloglibs/hcatalog-0.6/pom.xml sharelib/distcp/pom.xml
sharelib/hcatalog/pom.xml sharelib/hive/pom.xml sharelib/oozie/pom.xml
sharelib/pig/pom.xml sharelib/sqoop/pom.xml sharelib/streaming/pom.xml
+ patch -p0
patching file ./core/src/main/conf/oozie-site.xml
+ patch -p1 --verbose
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hadooplibs/hadoop-2/pom.xml b/hadooplibs/hadoop-2/pom.xml
|index 83c209e..e70847e 100644
|--- a/hadooplibs/hadoop-2/pom.xml
|+++ b/hadooplibs/hadoop-2/pom.xml
--------------------------
Patching file hadooplibs/hadoop-2/pom.xml using Plan A...
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 36.
2 out of 2 hunks FAILED -- saving rejects to file
hadooplibs/hadoop-2/pom.xml.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hadooplibs/hadoop-distcp-2/pom.xml
b/hadooplibs/hadoop-distcp-2/pom.xml
|index b9948fb..d60c561 100644
|--- a/hadooplibs/hadoop-distcp-2/pom.xml
|+++ b/hadooplibs/hadoop-distcp-2/pom.xml
--------------------------
Patching file hadooplibs/hadoop-distcp-2/pom.xml using Plan A...
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 36.
2 out of 2 hunks FAILED -- saving rejects to file
hadooplibs/hadoop-distcp-2/pom.xml.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hadooplibs/hadoop-test-2/pom.xml
b/hadooplibs/hadoop-test-2/pom.xml
|index 499871a..3af7e9f 100644
|--- a/hadooplibs/hadoop-test-2/pom.xml
|+++ b/hadooplibs/hadoop-test-2/pom.xml
--------------------------
Patching file hadooplibs/hadoop-test-2/pom.xml using Plan A...
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 36.
2 out of 2 hunks FAILED -- saving rejects to file
hadooplibs/hadoop-test-2/pom.xml.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/pom.xml b/pom.xml
|index 73cedcf..f8fa3b4 100644
|--- a/pom.xml
|+++ b/pom.xml
--------------------------
Patching file pom.xml using Plan A...
Hunk #1 FAILED at 1002.
1 out of 1 hunk FAILED -- saving rejects to file pom.xml.rej
done
> 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: Minor
>
> 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)