hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13491) Testing : log thread stacks when metastore fails to start
Date Tue, 12 Apr 2016 07:37:25 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236763#comment-15236763
] 

Thejas M Nair commented on HIVE-13491:
--------------------------------------

Also increased the frequency of checks for metastore startup from every 10 sec to every sec.
1 sec pause should be more than enough to not consume too much of cpu resources on the machine.


> 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)

Mime
View raw message