You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "John (JIRA)" <ji...@apache.org> on 2014/09/18 05:20:34 UTC

[jira] [Updated] (AMBARI-7380) log4j throws FileNotFoundException in service checking scritps for hadoop

     [ https://issues.apache.org/jira/browse/AMBARI-7380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John updated AMBARI-7380:
-------------------------
    Description: 
$$$$ HDFS $$$$
2014-09-10 23:25:30,137 - Execute['hadoop --config /etc/hadoop/conf dfsadmin -safemode get | grep OFF']
{'logoutput': True, 'tries': 20, 'user': 'ambari-qa', 'try_sleep': 3}
2014-09-10 23:25:33,381 - DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/hadoop/ambari-qa/hadoop.log (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)

$$$$ MAPREDUCE $$$$
2014-09-10 23:26:48,187 - Execute['hadoop --config /etc/hadoop/conf jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples-2.*.jar wordcount /user/ambari-qa/mapredsmokeinput /user/ambari-qa/mapredsmokeoutput']
{'logoutput': True, 'tries': 1, 'user': 'ambari-qa', 'try_sleep': 5}
2014-09-10 23:27:15,610 - log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/hadoop/ambari-qa/hadoop.log (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)

  was:
$$$$ HDFS $$$$
2014-09-10 23:25:30,137 - Execute['hadoop --config /etc/hadoop/conf dfsadmin -safemode get | grep OFF']
{'logoutput': True, 'tries': 20, 'user': 'ambari-qa', 'try_sleep': 3}
2014-09-10 23:25:33,381 - DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/hadoop/ambari-qa/hadoop.log (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
$$$$ MAPREDUCE $$$$
2014-09-10 23:26:48,187 - Execute['hadoop --config /etc/hadoop/conf jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples-2.*.jar wordcount /user/ambari-qa/mapredsmokeinput /user/ambari-qa/mapredsmokeoutput']
{'logoutput': True, 'tries': 1, 'user': 'ambari-qa', 'try_sleep': 5}
2014-09-10 23:27:15,610 - log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/hadoop/ambari-qa/hadoop.log (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)


> log4j throws FileNotFoundException in service checking scritps for hadoop
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-7380
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7380
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: John
>
> $$$$ HDFS $$$$
> 2014-09-10 23:25:30,137 - Execute['hadoop --config /etc/hadoop/conf dfsadmin -safemode get | grep OFF']
> {'logoutput': True, 'tries': 20, 'user': 'ambari-qa', 'try_sleep': 3}
> 2014-09-10 23:25:33,381 - DEPRECATED: Use of this script to execute hdfs command is deprecated.
> Instead use the hdfs command for it.
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /var/log/hadoop/ambari-qa/hadoop.log (No such file or directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
> at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
> $$$$ MAPREDUCE $$$$
> 2014-09-10 23:26:48,187 - Execute['hadoop --config /etc/hadoop/conf jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples-2.*.jar wordcount /user/ambari-qa/mapredsmokeinput /user/ambari-qa/mapredsmokeoutput']
> {'logoutput': True, 'tries': 1, 'user': 'ambari-qa', 'try_sleep': 5}
> 2014-09-10 23:27:15,610 - log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /var/log/hadoop/ambari-qa/hadoop.log (No such file or directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:142)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)