You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2010/12/09 20:38:01 UTC

[jira] Commented: (HIVE-1829) TestRemoteMetaStore fails if machine has multiple IPs

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

Ashutosh Chauhan commented on HIVE-1829:
----------------------------------------

I see similar errors randomly. But, whenever I see doing following always get me past it:

TestRemoteHiveMetaStore.java line number 51:
 -Thread.sleep(5000);
 +Thread.sleep(20000); 

So, not sure if it has to do anything with machine having multiple IPs. I also see "Running metastore!" occurring  2-7 times when there is a random failure.

> TestRemoteMetaStore fails if machine has multiple IPs
> -----------------------------------------------------
>
>                 Key: HIVE-1829
>                 URL: https://issues.apache.org/jira/browse/HIVE-1829
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.6.0
>            Reporter: Edward Capriolo
>
> Notice how Running metastore! appears twice.
> {noformat}
> test:
>     [junit] Running org.apache.hadoop.hive.metastore.TestEmbeddedHiveMetaStore
>     [junit] BR.recoverFromMismatchedToken
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 36.697 sec
>     [junit] Running org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore
>     [junit] Running metastore!
>     [junit] Running metastore!
>     [junit] org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:29083.
>     [junit] 	at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:98)
>     [junit] 	at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:79)
>     [junit] 	at org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.<init>(TServerSocketKeepAlive.java:34)
>     [junit] 	at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:2189)
>     [junit] 	at org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore$RunMS.run(TestRemoteHiveMetaStore.java:35)
>     [junit] 	at java.lang.Thread.run(Thread.java:619)
>     [junit] Running org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] Test org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore FAILED (crashed)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.