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

Samarth Gupta commented on FALCON-20:
-------------------------------------

above patch is giving error in feed replication feature. With hadoop 0.20.2 and 
distcp 1.2.0 following error is coming in the oozie and finally in the 
tasktracker logs : 


Failing Oozie Launcher, Main class 
[org.apache.falcon.replication.FeedReplicator], main() threw exception, 
org.apache.hadoop.mapreduce.Job.setSpeculativeExecution(Z)V
java.lang.NoSuchMethodError: 
org.apache.hadoop.mapreduce.Job.setSpeculativeExecution(Z)V
        at org.apache.hadoop.tools.distcp2.DistCp.createJob(DistCp.java:189)
        at org.apache.hadoop.tools.distcp2.DistCp.execute(DistCp.java:144)
        at 
org.apache.falcon.replication.FeedReplicator.run(FeedReplicator.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at 
org.apache.falcon.replication.FeedReplicator.main(FeedReplicator.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:467)
        at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
        at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:390)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:324)
        at org.apache.hadoop.mapred.Child$4.run(Child.java:266)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1278)
        at org.apache.hadoop.mapred.Child.main(Child.java:260)

The replication action of the instance is failing in oozie. 

attaching cluster and feed xml for which the test was run : cluster01.xml , 
cluster02.xml and feed.xml




                
> Remove dependency on custom DistCp
> ----------------------------------
>
>                 Key: FALCON-20
>                 URL: https://issues.apache.org/jira/browse/FALCON-20
>             Project: Falcon
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 0.3
>            Reporter: Venkatesh Seetharam
>            Assignee: Venkatesh Seetharam
>             Fix For: 0.3
>
>         Attachments: cluster01.xml, cluster02.xml, FALCON-20.patch, 
> FALCON-20.r1.patch, feed.xml
>
>
> Falcon depends on custom DistCp 0.3 since DistCp v2 was part of Hadoop 2.x 
> line. 
> https://issues.apache.org/jira/browse/MAPREDUCE-5081 has back ported DistCp 
> v2 to Hadoop 1.x line and Falcon should instead depend on that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to