Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBFFB197DC for ; Tue, 12 Apr 2016 18:03:25 +0000 (UTC) Received: (qmail 54520 invoked by uid 500); 12 Apr 2016 18:03:25 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 54459 invoked by uid 500); 12 Apr 2016 18:03:25 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 54432 invoked by uid 99); 12 Apr 2016 18:03:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 18:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8E0B32C1F56 for ; Tue, 12 Apr 2016 18:03:25 +0000 (UTC) Date: Tue, 12 Apr 2016 18:03:25 +0000 (UTC) From: "Szehon Ho (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13491) Testing : log thread stacks when metastore fails to start 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/HIVE-13491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237653#comment-15237653 ] Szehon Ho commented on HIVE-13491: ---------------------------------- Thanks +1 > Testing : log thread stacks when metastore fails to start > ---------------------------------------------------------- > > Key: HIVE-13491 > URL: https://issues.apache.org/jira/browse/HIVE-13491 > Project: Hive > Issue Type: Bug > Components: Test, Testing Infrastructure > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Attachments: HIVE-13491.1.patch > > > Many tests are failing in ptest2 because metastore fails to startup in the expected time. > There is not enough information to figure out why the metastore startup failed/got hung in the hive.log file. Printing the thread dumps when that happens would be useful for finding the root cause. > The stack in test failure looks like this - > {code} > java.net.ConnectException: Connection refused > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) > at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198) > at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > at java.net.Socket.connect(Socket.java:579) > at org.apache.hadoop.hive.metastore.MetaStoreUtils.loopUntilHMSReady(MetaStoreUtils.java:1208) > at org.apache.hadoop.hive.metastore.MetaStoreUtils.startMetaStore(MetaStoreUtils.java:1195) > at org.apache.hadoop.hive.metastore.MetaStoreUtils.startMetaStore(MetaStoreUtils.java:1177) > at org.apache.hadoop.hive.thrift.TestHadoopAuthBridge23.setup(TestHadoopAuthBridge23.java:153) > at org.apache.hadoop.hive.thrift.TestHadoopAuthBridge23.testMetastoreProxyUser(TestHadoopAuthBridge23.java:241) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)