hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: HBase 0.96 LogLevel?
Date Sat, 14 Dec 2013 15:25:48 GMT
How did you set log level to DEBUG ?

I tried the following command and it worked:

hbase -Dhbase.root.logger=DEBUG,RFA
org.apache.hadoop.hbase.util.CompressionTest file:///tmp/test.txt snappy

Snippet of log file:

2013-12-14 15:23:37,853 DEBUG [main] hdfs.BlockReaderLocal: The
short-circuit local reads feature is enabled.
2013-12-14 15:23:37,900 INFO  [main] compress.CodecPool: Got brand-new
decompressor [.snappy]
2013-12-14 15:23:37,901 DEBUG [main] compress.CodecPool: Got recycled
decompressor

Cheers


On Sat, Dec 14, 2013 at 5:42 AM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Hi there,
>
> I'm trying this tool:
> bin/hbase org.apache.hadoop.hbase.util.CompressionTest file:///tmp/test.txt
> snappy
>
> And I want to set the log level to debug to see why it fails. But it seems
> that it's not taking the log4j.conf into consideraion. I tried to remove
> it, same result. I tried to set to debug, same result.
>
> Any idea how to change the loglevel and why it's not taking our default
> config file into consideration?
>
> JM
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message