hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-20402) [hbck] support verbose option for hbck and by default don't display log messages on stdout/stderr
Date Thu, 19 Sep 2019 22:08:00 GMT

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

stack resolved HBASE-20402.
---------------------------
    Resolution: Won't Fix

Work on hbck1. Won't happen.

> [hbck] support verbose option for hbck and by default don't display log messages on stdout/stderr
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-20402
>                 URL: https://issues.apache.org/jira/browse/HBASE-20402
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Umesh Agashe
>            Priority: Major
>
> hbck output by default contains lot of clutter (log messages) which can be displayed
if -verbose is specified E.g.
> {code}
> $ bin/hbase hbck -summary
> 2018-04-12 13:16:10,695 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
> 2018-04-12 13:16:11,027 INFO  [main] zookeeper.RecoverableZooKeeper: Process identifier=hbase
Fsck connecting to ZooKeeper ensemble=localhost:2181
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f,
built on 03/23/2017 10:13 GMT
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:host.name=dhcp-10-16-0-251.pa.cloudera.com
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:java.version=1.8.0_151
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:java.vendor=Oracle
Corporation
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: /lib/osgi-resource-locator-1.0.1.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/paranamer-2.3.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/protobuf-java-2.5.0.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/slf4j-api-1.7.25.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/slf4j-log4j12-1.7.25.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/snappy-java-1.1.4.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/spymemcached-2.12.2.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/validation-api-1.1.0.Final.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/xmlenc-0.52.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/xz-1.0.jar:/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT/bin/../lib/zookeeper-3.4.10.jar:
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:java.library.path=/Users/uagashe/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/var/folders/h0/l18445qs64dc1cyb5gcqvyr40000gp/T/
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:os.name=Mac
OS X
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:os.arch=x86_64
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:os.version=10.13.3
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:user.name=uagashe
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:user.home=/Users/uagashe
> 2018-04-12 13:16:11,056 INFO  [main] zookeeper.ZooKeeper: Client environment:user.dir=/Users/uagashe/dev/apache/hbase-standalone/hbase-3.0.0-SNAPSHOT
> 2018-04-12 13:16:11,066 INFO  [main] zookeeper.ZooKeeper: Initiating client connection,
connectString=localhost:2181 sessionTimeout=90000 watcher=org.apache.hadoop.hbase.zookeeper.PendingWatcher@233795b6
> 2018-04-12 13:16:11,091 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn:
Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate
using SASL (unknown error)
> 2018-04-12 13:16:11,119 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn:
Socket connection established to localhost/0:0:0:0:0:0:0:1:2181, initiating session
> 2018-04-12 13:16:11,129 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn:
Session establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, sessionid = 0x162bb7704d20021,
negotiated timeout = 90000
> 2018-04-12 13:16:11,235 INFO  [main] util.HBaseFsck: HBaseFsck Version: 0.0.0
> 2018-04-12 13:16:11,238 INFO  [main] util.HBaseFsck: Launching hbck
> 2018-04-12 13:16:11,308 INFO  [main] zookeeper.ReadOnlyZKClient: Connect 0x2f953efd to
localhost:2181 with session timeout=90000ms, retries 30, retry interval 1000ms, keepAlive=60000ms
> 2018-04-12 13:16:11,313 INFO  [ReadOnlyZKClient-localhost:2181@0x2f953efd] zookeeper.ZooKeeper:
Initiating client connection, connectString=localhost:2181 sessionTimeout=90000 watcher=org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient$$Lambda$11/800593939@6aba8380
> 2018-04-12 13:16:11,314 INFO  [ReadOnlyZKClient-localhost:2181@0x2f953efd-SendThread(localhost:2181)]
zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not
attempt to authenticate using SASL (unknown error)
> 2018-04-12 13:16:11,315 INFO  [ReadOnlyZKClient-localhost:2181@0x2f953efd-SendThread(localhost:2181)]
zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating
session
> 2018-04-12 13:16:11,318 INFO  [ReadOnlyZKClient-localhost:2181@0x2f953efd-SendThread(localhost:2181)]
zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid
= 0x162bb7704d20022, negotiated timeout = 90000
> 2018-04-12 13:16:11,833 INFO  [main] util.HBaseFsck: Computing mapping of all store files
> 2018-04-12 13:16:11,993 INFO  [main] util.HBaseFsck: Validating mapping using HDFS state
> 2018-04-12 13:16:11,993 INFO  [main] util.HBaseFsck: Computing mapping of all link files
> 2018-04-12 13:16:12,009 INFO  [main] util.HBaseFsck: Validating mapping using HDFS state
> 2018-04-12 13:16:12,104 INFO  [main] util.HBaseFsck: Loading regionsinfo from the hbase:meta
table
> 2018-04-12 13:16:12,187 INFO  [main] util.HBaseFsck: getTableDescriptors == tableNames
=> [hbase:acl, test2, hbase:namespace]
> 2018-04-12 13:16:12,188 INFO  [main] zookeeper.ReadOnlyZKClient: Connect 0x05fcacc0 to
localhost:2181 with session timeout=90000ms, retries 30, retry interval 1000ms, keepAlive=60000ms
> 2018-04-12 13:16:12,188 INFO  [ReadOnlyZKClient-localhost:2181@0x05fcacc0] zookeeper.ZooKeeper:
Initiating client connection, connectString=localhost:2181 sessionTimeout=90000 watcher=org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient$$Lambda$11/800593939@6aba8380
> 2018-04-12 13:16:12,189 INFO  [ReadOnlyZKClient-localhost:2181@0x05fcacc0-SendThread(localhost:2181)]
zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not
attempt to authenticate using SASL (unknown error)
> 2018-04-12 13:16:12,190 INFO  [ReadOnlyZKClient-localhost:2181@0x05fcacc0-SendThread(localhost:2181)]
zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating
session
> 2018-04-12 13:16:12,192 INFO  [ReadOnlyZKClient-localhost:2181@0x05fcacc0-SendThread(localhost:2181)]
zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid
= 0x162bb7704d20023, negotiated timeout = 90000
> 2018-04-12 13:16:12,214 INFO  [main] client.ConnectionImplementation: Closing master
protocol: MasterService
> 2018-04-12 13:16:12,214 INFO  [main] zookeeper.ReadOnlyZKClient: Close zookeeper connection
0x05fcacc0 to localhost:2181
> 2018-04-12 13:16:12,215 INFO  [ReadOnlyZKClient-localhost:2181@0x05fcacc0] zookeeper.ZooKeeper:
Session: 0x162bb7704d20023 closed
> 2018-04-12 13:16:12,215 INFO  [ReadOnlyZKClient-localhost:2181@0x05fcacc0-EventThread]
zookeeper.ClientCnxn: EventThread shut down for session: 0x162bb7704d20023
> 2018-04-12 13:16:12,222 INFO  [main] util.HBaseFsck: Loading region directories from
HDFS
> 2018-04-12 13:16:12,237 INFO  [main] util.HBaseFsck: Loading region information from
HDFS
> 2018-04-12 13:16:12,268 INFO  [main] util.HBaseFsck: Checking and fixing region consistency
> 2018-04-12 13:16:12,277 INFO  [main] util.HBaseFsck: Handling overlap merges in parallel.
set hbasefsck.overlap.merge.parallel to false to run serially.
> 0 inconsistencies detected.
> Status: OK
> 2018-04-12 13:16:12,327 INFO  [main] zookeeper.ZooKeeper: Session: 0x162bb7704d20021
closed
> 2018-04-12 13:16:12,327 INFO  [main-EventThread] zookeeper.ClientCnxn: EventThread shut
down for session: 0x162bb7704d20021
> 2018-04-12 13:16:12,327 INFO  [main] client.ConnectionImplementation: Closing master
protocol: MasterService
> 2018-04-12 13:16:12,327 INFO  [main] zookeeper.ReadOnlyZKClient: Close zookeeper connection
0x2f953efd to localhost:2181
> 2018-04-12 13:16:12,329 INFO  [ReadOnlyZKClient-localhost:2181@0x2f953efd] zookeeper.ZooKeeper:
Session: 0x162bb7704d20022 closed
> 2018-04-12 13:16:12,329 INFO  [ReadOnlyZKClient-localhost:2181@0x2f953efd-EventThread]
zookeeper.ClientCnxn: EventThread shut down for session: 0x162bb7704d20022
> {code}
> Notice following summary in the above output:
> {code}
> 0 inconsistencies detected.
> Status: OK
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message