I resolved it by downloaded slf4j-simple-1.7.10.jar and copied it
to $HADOOP_HOME/lib

in .bashrc added this variable.

export HADOOP_CLASSPATH=$HADOOP_HOME/lib


Issue got resolved.

thanks a lot for your response Raj.

Thanks
SP


On Thu, Mar 5, 2015 at 11:52 AM, Raj K Singh <[email protected]> wrote:

> just configure logging appender in log4j setting and rerun the command
> On Mar 5, 2015 12:30 AM, "SP" <[email protected]> wrote:
>
>> Hello All,
>>
>> Why am I getting this error every time I execute a command. It was
>> working fine with CDH4 version. When I upgraded to CDH5 version this
>> message started showing up.
>>
>> does any one have resolution for this error
>>
>> sudo -u hdfs hadoop fs -ls /
>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
>> further details.
>> Found 1 items
>> drwxrwxrwt   - hdfs hadoop          0 2015-03-04 10:30 /tmp
>>
>>
>> Thanks
>> SP
>>
>

Reply via email to