Oozie Workflow failed due to error JA017

前端 未结 1 1549
甜味超标
甜味超标 2020-12-20 02:52

I am using the version of Apache Oozie 4.3.0 along with Hadoop 2.7.3

I have developed a very simple Oozie workflow, which simply ha

1条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-20 03:14

    You are missing few configuration properties in hadoop. I was also using hadoop-2.7.3 and Oozie-4.3 and faced same issue from last 5 days.

    Configure few properties as mentioned and its working on my local:

    yarn-site.xml:

    
        yarn.nodemanager.aux-services
        mapreduce_shuffle
    
    
    
        yarn.nodemanager.aux-services.mapreduce_shuffle.class
        org.apache.hadoop.mapred.ShuffleHandler
    
    
    
        yarn.log-aggregation-enable
        true
    
    

    mapred-site.xml:

    
        mapreduce.jobtracker.address
        HOST:PORT
    
    
    
        mapreduce.jobtracker.http.address
        HOST:PORT
    
    
    
        mapreduce.tasktracker.report.address
        127.0.0.1:0
    
    
    
        mapreduce.tasktracker.http.address
        0.0.0.0:50060
    
    
    
        mapreduce.job.queuename
        default
    
    
    
         mapreduce.framework.name
        yarn
    
    
     
        mapreduce.jobhistory.address
        localhost:10020 
    
    
     
        mapreduce.jobhistory.webapp.address
        localhost:19888 
    
    

    Replace value of the properties with the actual one as per your setup. Now Restart yarn, hadoop and Oozie.

    Good luck.

    0 讨论(0)
提交回复
热议问题