Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB26F1016E for ; Tue, 11 Jun 2013 18:56:20 +0000 (UTC) Received: (qmail 75307 invoked by uid 500); 11 Jun 2013 18:56:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 75269 invoked by uid 500); 11 Jun 2013 18:56:20 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 75260 invoked by uid 99); 11 Jun 2013 18:56:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jun 2013 18:56:20 +0000 Date: Tue, 11 Jun 2013 18:56:20 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8696) Fixup for logs that show when running hbase-it tests. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 ' instead do "RpcServer.listener,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