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 E44F010E8A for ; Wed, 5 Mar 2014 21:07:09 +0000 (UTC) Received: (qmail 63306 invoked by uid 500); 5 Mar 2014 21:06:53 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 63258 invoked by uid 500); 5 Mar 2014 21:06:52 -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 63064 invoked by uid 99); 5 Mar 2014 21:06:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2014 21:06:48 +0000 Date: Wed, 5 Mar 2014 21:06:48 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10670) HBaseFsck#connect() should use new connection 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-10670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921403#comment-13921403 ] Hudson commented on HBASE-10670: -------------------------------- SUCCESS: Integrated in HBase-TRUNK #4979 (See [https://builds.apache.org/job/HBase-TRUNK/4979/]) HBASE-10670 HBaseFsck#connect() should use new connection (tedyu: rev 1574588) * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java > HBaseFsck#connect() should use new connection > --------------------------------------------- > > Key: HBASE-10670 > URL: https://issues.apache.org/jira/browse/HBASE-10670 > Project: HBase > Issue Type: Task > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.98.1, 0.99.0 > > Attachments: 10670-TestHBaseFsck.testCheckTableLocks.html, 10670-v1.txt > > > When investigating TestHBaseFsck#testCheckTableLocks failure, I noticed the following: > {code} > 2014-03-03 04:26:04,981 WARN [Thread-1180] client.ConnectionManager$HConnectionImplementation(1998): Checking master connection > com.google.protobuf.ServiceException: java.io.IOException: Call to c59-s15.cs1cloud.internal/172.18.145.15:52272 failed on local exception: org.apache.hadoop.hbase.ipc.RpcClient$CallTimeoutException: Call id=1282, waitTime=1, rpcTimeout=0 > at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1699) > at org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(RpcClient.java:1740) > at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$BlockingStub.isMasterRunning(MasterProtos.java:40216) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$MasterServiceState.isMasterRunning(ConnectionManager.java:1358) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.isKeepAliveMasterConnectedAndRunning(ConnectionManager.java:1991) > at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getKeepAliveMasterService(ConnectionManager.java:1710) > at org.apache.hadoop.hbase.client.HBaseAdmin$MasterCallable.prepare(HBaseAdmin.java:3199) > at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:120) > at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:97) > at org.apache.hadoop.hbase.client.HBaseAdmin.executeCallable(HBaseAdmin.java:3226) > at org.apache.hadoop.hbase.client.HBaseAdmin.getClusterStatus(HBaseAdmin.java:2158) > at org.apache.hadoop.hbase.util.HBaseFsck.connect(HBaseFsck.java:308) > at org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:52) > at org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:43) > at org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:38) > at org.apache.hadoop.hbase.util.TestHBaseFsck.testCheckTableLocks(TestHBaseFsck.java:2100) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) > Caused by: java.io.IOException: Call to c59-s15.cs1cloud.internal/172.18.145.15:52272 failed on local exception: org.apache.hadoop.hbase.ipc.RpcClient$CallTimeoutException: Call id=1282, waitTime=1, rpcTimeout=0 > at org.apache.hadoop.hbase.ipc.RpcClient.wrapException(RpcClient.java:1516) > at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1486) > at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1684) > ... 24 more > Caused by: org.apache.hadoop.hbase.ipc.RpcClient$CallTimeoutException: Call id=1282, waitTime=1, rpcTimeout=0 > at org.apache.hadoop.hbase.ipc.RpcClient$Connection.cleanupCalls(RpcClient.java:1214) > at org.apache.hadoop.hbase.ipc.RpcClient$Connection.cleanupCalls(RpcClient.java:1205) > at org.apache.hadoop.hbase.ipc.RpcClient$Connection.close(RpcClient.java:1006) > at org.apache.hadoop.hbase.ipc.RpcClient$Connection.run(RpcClient.java:749) > {code} > This ctor was used in HBaseFsck#connect(): > {code} > public HBaseAdmin(Configuration c) > throws MasterNotRunningException, ZooKeeperConnectionException, IOException { > // Will not leak connections, as the new implementation of the constructor > // does not throw exceptions anymore. > this(ConnectionManager.getConnectionInternal(new Configuration(c))); > {code} > The connection retrieved would have been timed out by edge.incrementTime() call: > {code} > edge.incrementTime(conf.getLong(TableLockManager.TABLE_LOCK_EXPIRE_TIMEOUT, > TableLockManager.DEFAULT_TABLE_LOCK_EXPIRE_TIMEOUT_MS)); // let table lock expire > {code} > New connection should be used in HBaseFsck#connect(). -- This message was sent by Atlassian JIRA (v6.2#6252)