hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sameer Paranjpye <same...@yahoo-inc.com>
Subject Re: [jira] Resolved: (HADOOP-272) bin/hadoop dfs -rm <dir> crashes in log4j code
Date Sat, 03 Jun 2006 00:44:09 GMT
Really appreciate your patience in getting this committed, Doug. Thanks 
a lot!

Doug Cutting (JIRA) wrote:

>      [ http://issues.apache.org/jira/browse/HADOOP-272?page=all ]
>      
> Doug Cutting resolved HADOOP-272:
> ---------------------------------
> 
>     Fix Version: 0.3.1
>      Resolution: Fixed
> 
> I just fixed this.
> 
> 
>>bin/hadoop dfs -rm <dir> crashes in log4j code
>>----------------------------------------------
>>
>>         Key: HADOOP-272
>>         URL: http://issues.apache.org/jira/browse/HADOOP-272
>>     Project: Hadoop
>>        Type: Bug
> 
> 
>>    Versions: 0.3.0
>>    Reporter: Owen O'Malley
>>    Assignee: Owen O'Malley
>>     Fix For: 0.3.1
> 
> 
>>When I run "bin/hadoop dfs -rm out-dir" I get the following error messages:
>>log4j:ERROR setFile(null,true) call failed.
>>java.io.FileNotFoundException: /local/owen/hadoop/run/log (Is a directory)
>>        at java.io.FileOutputStream.openAppend(Native Method)
>>        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>>        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>>        at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>>        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>>        at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:215)
>>        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>>        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
>>        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
>>        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
>>        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
>>        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
>>        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
>>        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
>>        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
>>        at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
>>        at org.apache.log4j.Logger.getLogger(Logger.java:104)
>>        at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
>>        at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
>>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>>        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
>>        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
>>        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
>>        at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:54)
>>        at org.apache.hadoop.dfs.DFSShell.main(DFSShell.java:307)
>>log4j:ERROR Either File or DatePattern options are not set for appender [DRFA].
>>Delete failed
> 
> 

Mime
View raw message