stack created HBASE-20351:
-----------------------------

             Summary: Shell dumps netty properties on startup
                 Key: HBASE-20351
                 URL: https://issues.apache.org/jira/browse/HBASE-20351
             Project: HBase
          Issue Type: Bug
          Components: pain-in-the-ass, shell
            Reporter: stack
             Fix For: 2.0.0


{code}
stack@ve0524:~$ ./hbase/bin/hbase --config conf_hbase shell
2018-04-04 19:58:02,187 DEBUG [main] logging.InternalLoggerFactory: Using SLF4J 
as the default logging framework
2018-04-04 19:58:02,191 DEBUG [main] util.ResourceLeakDetector: 
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level: simple
2018-04-04 19:58:02,192 DEBUG [main] util.ResourceLeakDetector: 
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.targetRecords: 4
2018-04-04 19:58:02,214 DEBUG [main] internal.PlatformDependent0: 
-Dio.netty.noUnsafe: false
2018-04-04 19:58:02,215 DEBUG [main] internal.PlatformDependent0: Java version: 
8
2018-04-04 19:58:02,216 DEBUG [main] internal.PlatformDependent0: 
sun.misc.Unsafe.theUnsafe: available
2018-04-04 19:58:02,216 DEBUG [main] internal.PlatformDependent0: 
sun.misc.Unsafe.copyMemory: available
2018-04-04 19:58:02,217 DEBUG [main] internal.PlatformDependent0: 
java.nio.Buffer.address: available
2018-04-04 19:58:02,217 DEBUG [main] internal.PlatformDependent0: direct buffer 
constructor: available
2018-04-04 19:58:02,218 DEBUG [main] internal.PlatformDependent0: 
java.nio.Bits.unaligned: available, true
2018-04-04 19:58:02,218 DEBUG [main] internal.PlatformDependent0: 
jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to 
Java9
2018-04-04 19:58:02,218 DEBUG [main] internal.PlatformDependent0: 
java.nio.DirectByteBuffer.<init>(long, int): available
2018-04-04 19:58:02,218 DEBUG [main] internal.PlatformDependent: 
sun.misc.Unsafe: available
2018-04-04 19:58:02,218 DEBUG [main] internal.PlatformDependent: 
-Dio.netty.tmpdir: /tmp (java.io.tmpdir)
2018-04-04 19:58:02,218 DEBUG [main] internal.PlatformDependent: 
-Dio.netty.bitMode: 64 (sun.arch.data.model)
2018-04-04 19:58:02,219 DEBUG [main] internal.PlatformDependent: 
-Dio.netty.noPreferDirect: false
2018-04-04 19:58:02,219 DEBUG [main] internal.PlatformDependent: 
-Dio.netty.maxDirectMemory: 1073741824 bytes
2018-04-04 19:58:02,219 DEBUG [main] internal.PlatformDependent: 
-Dio.netty.uninitializedArrayAllocationThreshold: -1
2018-04-04 19:58:02,220 DEBUG [main] internal.CleanerJava6: 
java.nio.ByteBuffer.cleaner(): available
2018-04-04 19:58:02,220 DEBUG [main] util.ResourceLeakDetectorFactory: Loaded 
default ResourceLeakDetector: 
org.apache.hbase.thirdparty.io.netty.util.ResourceLeakDetector@7dbae40
2018-04-04 19:58:02,229 DEBUG [main] internal.PlatformDependent: 
org.jctools-core.MpscChunkedArrayQueue: available
2018-04-04 19:58:02,260 DEBUG [main] channel.MultithreadEventLoopGroup: 
-Dio.netty.eventLoopThreads: 96
2018-04-04 19:58:02,282 DEBUG [main] nio.NioEventLoop: 
-Dio.netty.noKeySetOptimization: false
2018-04-04 19:58:02,282 DEBUG [main] nio.NioEventLoop: 
-Dio.netty.selectorAutoRebuildThreshold: 512
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
Version 2.0.0, r0db342d312784a6663b406fdb0f7b3b3c1fa928d, Mon Apr  2 22:54:56 
PDT 2018
Took 0.0028 seconds
hbase(main):001:0>
{code}


Does it each time I run a command



{code}
hbase(main):001:0> describe 'ycsb'
2018-04-04 19:59:00,084 DEBUG [main] buffer.AbstractByteBuf: 
-Dorg.apache.hbase.thirdparty.io.netty.buffer.bytebuf.checkAccessible: true
2018-04-04 19:59:00,084 DEBUG [main] util.ResourceLeakDetectorFactory: Loaded 
default ResourceLeakDetector: 
org.apache.hbase.thirdparty.io.netty.util.ResourceLeakDetector@66ab924
2018-04-04 19:59:00,121 DEBUG [main] channel.DefaultChannelId: 
-Dio.netty.processId: 697 (auto-detected)
2018-04-04 19:59:00,123 DEBUG [main] util.NetUtil: -Djava.net.preferIPv4Stack: 
true
2018-04-04 19:59:00,123 DEBUG [main] util.NetUtil: 
-Djava.net.preferIPv6Addresses: false
2018-04-04 19:59:00,124 DEBUG [main] util.NetUtil: Loopback interface: lo (lo, 
127.0.0.1)
2018-04-04 19:59:00,125 DEBUG [main] util.NetUtil: 
/proc/sys/net/core/somaxconn: 128
2018-04-04 19:59:00,125 DEBUG [main] channel.DefaultChannelId: 
-Dio.netty.machineId: 00:1e:67:ff:fe:c5:54:b4 (auto-detected)
2018-04-04 19:59:00,130 DEBUG [main] internal.InternalThreadLocalMap: 
-Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
2018-04-04 19:59:00,131 DEBUG [main] internal.InternalThreadLocalMap: 
-Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
2018-04-04 19:59:00,151 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.numHeapArenas: 82
2018-04-04 19:59:00,151 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.numDirectArenas: 10
2018-04-04 19:59:00,151 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.pageSize: 8192
2018-04-04 19:59:00,151 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.maxOrder: 11
2018-04-04 19:59:00,151 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.chunkSize: 16777216
2018-04-04 19:59:00,152 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.tinyCacheSize: 512
2018-04-04 19:59:00,152 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.smallCacheSize: 256
2018-04-04 19:59:00,152 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.normalCacheSize: 64
2018-04-04 19:59:00,152 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.maxCachedBufferCapacity: 32768
2018-04-04 19:59:00,152 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.cacheTrimInterval: 8192
2018-04-04 19:59:00,152 DEBUG [main] buffer.PooledByteBufAllocator: 
-Dio.netty.allocator.useCacheForAllThreads: true
2018-04-04 19:59:00,161 DEBUG [main] buffer.ByteBufUtil: 
-Dio.netty.allocator.type: pooled
2018-04-04 19:59:00,161 DEBUG [main] buffer.ByteBufUtil: 
-Dio.netty.threadLocalDirectBufferSize: 65536
2018-04-04 19:59:00,161 DEBUG [main] buffer.ByteBufUtil: 
-Dio.netty.maxThreadLocalCharBufferSize: 16384
2018-04-04 19:59:00,189 DEBUG [Default-IPC-NioEventLoopGroup-1-1] 
util.Recycler: -Dio.netty.recycler.maxCapacityPerThread: 32768
2018-04-04 19:59:00,190 DEBUG [Default-IPC-NioEventLoopGroup-1-1] 
util.Recycler: -Dio.netty.recycler.maxSharedCapacityFactor: 2
2018-04-04 19:59:00,190 DEBUG [Default-IPC-NioEventLoopGroup-1-1] 
util.Recycler: -Dio.netty.recycler.linkCapacity: 16
2018-04-04 19:59:00,190 DEBUG [Default-IPC-NioEventLoopGroup-1-1] 
util.Recycler: -Dio.netty.recycler.ratio: 8
Table ycsb is ENABLED
ycsb
COLUMN FAMILIES DESCRIPTION
{NAME => 'family', VERSIONS => '1', EVICT_BLOCKS_ON_CLOSE => 'false', 
NEW_VERSION_BEHAVIOR => 'false', KEEP_DELETED_CELLS => 'FALSE', 
CACHE_DATA_ON_WRITE => 'false', DATA_BLOCK_ENCODING => 'NONE', TTL => 
'FOREVER', MIN_VERSIONS => '0', REPLICATION_SCOPE => '0', BLOOMFILTER => 'ROW', 
CACHE_INDEX_ON_WRITE =>
'false', IN_MEMORY => 'false', CACHE_BLOOMS_ON_WRITE => 'false', 
PREFETCH_BLOCKS_ON_OPEN => 'false', COMPRESSION => 'NONE', BLOCKCACHE => 
'true', BLOCKSIZE => '65536', METADATA => {'IN_MEMORY_COMPACTION' => 'NONE'}}
1 row(s)
Took 0.6422 seconds
hbase(main):002:0>
{code}





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to