Support Questions

Find answers, ask questions, and share your expertise

How to resolve JA009: Could not load history file hdfs://sandbox.hortonworks.com:8020/mr-history/tmp/hue/job

avatar
Expert Contributor

I am new in oozie. I have a java program which produce data into kafka topic(it is not map reduce job). I am trying to schedule it with ozzie. How ever, I am getting this error:

JA009: Could not load history file hdfs://sandbox.hortonworks.com:8020/mr-history/tmp/hue/job_1459358290769_0012-1459533575025-hue-oozie%3Alauncher%3AT%3Djava%3AW%3DData+Producer%3AA%3DproduceDat-1459533591693-1-0-SUCCEEDED-default-1459533581542.jhist at org.apache.hadoop.mapreduce.v2.hs.CompletedJob.loadFullHistoryData(CompletedJob.java:349) at org.apache.hadoop.mapreduce.v2.hs.CompletedJob.<init>(CompletedJob.java:101) at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager$HistoryFileInfo.

I read it can be permission or owner problem so, I changed the owner to mapred and give 777 permission. But I still I get the same error. I am using java action to schedule my jar file.

1 ACCEPTED SOLUTION

avatar
Master Guru

@hoda moradi

Can you please check if permissions for /tmp directory on hdfs is set to 777 and owner and group set to hdfs?

Also, Please double check permissions for /mr-history/ it should be set to 777 and owned by mapred followed by hadoop for group permissions.

View solution in original post

1 REPLY 1

avatar
Master Guru

@hoda moradi

Can you please check if permissions for /tmp directory on hdfs is set to 777 and owner and group set to hdfs?

Also, Please double check permissions for /mr-history/ it should be set to 777 and owned by mapred followed by hadoop for group permissions.