Support Questions
Find answers, ask questions, and share your expertise

MapReduce2 History server service stopped a moment after starting via ambari

Solved Go to solution

MapReduce2 History server service stopped a moment after starting via ambari

Contributor

mapred-mapred-historyserver-masternode-01.zip

I've installed HDP via ambari and starting the services, but MapReduce2 History server service stopped several seconds after it successfully started.

Attached log from /var/log/hadoop-mapreduce/mapred/mapred-mapred-historyserver-masternode-01.log

thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: MapReduce2 History server service stopped a moment after starting via ambari

@Bramantya Anggriawan,

Looks like a permission issue. Can you please run this commands and restart History server

su hdfs
hdfs dfs -chmod -R 777 /mr-history
hdfs dfs -chown -R mapred:hdfs /mr-history

Thanks,

Aditya

View solution in original post

2 REPLIES 2

Re: MapReduce2 History server service stopped a moment after starting via ambari

@Bramantya Anggriawan,

Looks like a permission issue. Can you please run this commands and restart History server

su hdfs
hdfs dfs -chmod -R 777 /mr-history
hdfs dfs -chown -R mapred:hdfs /mr-history

Thanks,

Aditya

View solution in original post

Re: MapReduce2 History server service stopped a moment after starting via ambari

Contributor

Thanks, it works now.