TestRemoteHiveMetaStoreIpAddress always uses the same port
----------------------------------------------------------
Key: HIVE-2959
URL: https://issues.apache.org/jira/browse/HIVE-2959
Project: Hive
Issue Type: Test
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
TestRemoteHiveMetaStoreIpAddress always uses the same port, meaning that if
another process happens to be using that port, the tests cannot succeed.
There seems to be a standard way of finding a free port using Java's
ServerSocket class, this should be used instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira