You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2014/10/10 20:12:33 UTC

[jira] [Commented] (AMBARI-5878) Ambari 1.6.0 + HDP 1.3 stack: hadoop job summary info writes to invalid location.

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

Alejandro Fernandez commented on AMBARI-5878:
---------------------------------------------

Does this still repro?

> 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: ambari-server
>    Affects Versions: 1.6.0
>            Reporter: Srimanth Gunturi
>            Priority: Critical
>             Fix For: 1.7.0
>
>
> 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.3.4#6332)