Srimanth Gunturi created AMBARI-5878:
----------------------------------------

             Summary: Ambari 1.6.0 + HDP 1.3 stack: hadoop job summary info 
writes to invalid location.
                 Key: AMBARI-5878
                 URL: https://issues.apache.org/jira/browse/AMBARI-5878
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.6.0
            Reporter: Srimanth Gunturi
             Fix For: 1.6.1


Deploy Ambari 1.6.0 with HDP 1.3 stack with blueprint. 

Start JobTracker. The command will print out that log are written to 
/grid/0/log/hadoop/mapred but job summary info logs still points to 
/var/log/hadoop-mapreduce/mapred. The directory is not there in QE environment, 
so the contents are lost.

It is currently unclear to me if it is Ambari issue or QE infra issue. Logging 
jira for more investigation.

{code}
$ sudo su - -c "/usr/lib/hadoop/bin/hadoop-daemon.sh start jobtracker" mapred
starting jobtracker, logging to 
/grid/0/log/hadoop/mapred/hadoop-mapred-jobtracker-ambari-sec-1400559979-hadoop-4.out
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: 
/var/log/hadoop-mapreduce/mapred/hadoop-mapreduce.jobsummary.log (No such file 
or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
at java.io.FileOutputStream.<init>(FileOutputStream.java:136)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
at 
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:216)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to