[
https://issues.apache.org/jira/browse/HBASE-8696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-8696:
-------------------------
Attachment: 8696v2.txt
Update to address Sergey's feedback and then a bunch of more changes. Here is
a commit message:
{code}
Tighten up logs. Mostly shorten thread names, use encoded name for region
in RegionStates logging rather than full toString of the HRI. Cleanup in
the file archiving so we log less.
Add means of asking for more than one regionserver when running standalone.
For example, below will start 5 regionservers in the standlone process (need
to suppress startup of the info servers to avoid complaint that port already
in use)
$ ./bin/start-hbase.sh -Dhbase.regionserver.info.port=-1 --localRegionServers=5
M bin/start-hbase.sh
Allow passing extraneous args provided when in local mode.
Useful when asking for more than one regionserver to be
started in the local process.
M hbase-client/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java
Add a short name method used when logging region name in logs
(Just prints out the encoded name)
M hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
Was printing table name as bytes...toString it.
M
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Record time at which an exception was thrown so that when we dump out all
exceptions on failure, we can see the expanse during which retries were
operating.
M
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RetriesExhaustedWithDetailsException.java
Print out time at which exception was thrown when doing summary of a list of
exceptions.
M
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZooKeeperRegistry.java
Small fixups.
M hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
M hbase-client/src/main/java/org/apache/hadoop/hbase/master/RegionState.java
Change the messages so don't output full HRI#toString just encoded region name
so lines are not unreadably long.
M hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java
Only log if a change.
M hbase-it/src/test/java/org/apache/hadoop/hbase/IngestIntegrationTestBase.java
Minor fixups.
M hbase-server/src/main/java/org/apache/hadoop/hbase/backup/HFileArchiver.java
Make some logging trace especially duplicated logging.
M hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
Tighten up thread names; instead of 'IPC Server listener on <PORT>' instead
do "RpcServer.listener,port=<PORT>".
M
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat.java
Fix table name (was bytes)
M
hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Make stuff trace.
M hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
Tighten thread name (make it like the others).
M base-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Tighten thread names.
M
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMasterCommandLine.java
Add being able to set how many masters in a process and regionservers.
M
hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/OpenedRegionHandler.java
Print encoded name rather than full region name.
M
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Fix hostname compare (was comparing hostname to servername which never
matched)
{code}
> Fixup for logs that show when running hbase-it tests.
> -----------------------------------------------------
>
> Key: HBASE-8696
> URL: https://issues.apache.org/jira/browse/HBASE-8696
> Project: HBase
> Issue Type: Improvement
> Reporter: stack
> Assignee: stack
> Fix For: 0.95.1
>
> Attachments: 8696v2.txt, 8698.txt
>
>
> I've been staring at logs trying to figure why hbase-it tests fail.
> Here are some more log cleanups that come of my frustration trying to read
> our emissions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira