[jira] [Commented] (HIVE-3724) Metastore tests use hardcoded ports
[ https://issues.apache.org/jira/browse/HIVE-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547910#comment-13547910 ] Hudson commented on HIVE-3724: -- Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/]) HIVE-3724 : Metastore tests use hardcoded ports (Kevin Wilfong via Ashutosh Chauhan) (Revision 1415917) Result = ABORTED hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1415917 Files : * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEndFunctionListener.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListener.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStore.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStoreIpAddress.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestSetUGIOnOnlyClient.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestSetUGIOnOnlyServer.java > Metastore tests use hardcoded ports > --- > > Key: HIVE-3724 > URL: https://issues.apache.org/jira/browse/HIVE-3724 > Project: Hive > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Kevin Wilfong >Assignee: Kevin Wilfong >Priority: Minor > Fix For: 0.10.0 > > Attachments: HIVE-3724.1.patch.txt, HIVE-3724.2.patch.txt, > hive-3724.svn-0.10.patch > > > Several of the metastore tests use hardcoded ports for remote metastore > Thrift servers. This is causing transient failures in Jenkins, e.g. > https://builds.apache.org/job/Hive-trunk-h0.21/1804/ > A few tests already dynamically determine free ports, and this logic can be > shared. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3724) Metastore tests use hardcoded ports
[ https://issues.apache.org/jira/browse/HIVE-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529406#comment-13529406 ] Ashutosh Chauhan commented on HIVE-3724: Committed to 0.10 branch. Thanks, Sushanth for backport! > Metastore tests use hardcoded ports > --- > > Key: HIVE-3724 > URL: https://issues.apache.org/jira/browse/HIVE-3724 > Project: Hive > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Kevin Wilfong >Assignee: Kevin Wilfong >Priority: Minor > Fix For: 0.10.0 > > Attachments: HIVE-3724.1.patch.txt, HIVE-3724.2.patch.txt, > hive-3724.svn-0.10.patch > > > Several of the metastore tests use hardcoded ports for remote metastore > Thrift servers. This is causing transient failures in Jenkins, e.g. > https://builds.apache.org/job/Hive-trunk-h0.21/1804/ > A few tests already dynamically determine free ports, and this logic can be > shared. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3724) Metastore tests use hardcoded ports
[ https://issues.apache.org/jira/browse/HIVE-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507937#comment-13507937 ] Hudson commented on HIVE-3724: -- Integrated in Hive-trunk-h0.21 #1828 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1828/]) HIVE-3724 : Metastore tests use hardcoded ports (Kevin Wilfong via Ashutosh Chauhan) (Revision 1415917) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1415917 Files : * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEndFunctionListener.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListener.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStore.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStoreIpAddress.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestSetUGIOnOnlyClient.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestSetUGIOnOnlyServer.java > Metastore tests use hardcoded ports > --- > > Key: HIVE-3724 > URL: https://issues.apache.org/jira/browse/HIVE-3724 > Project: Hive > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Kevin Wilfong >Assignee: Kevin Wilfong >Priority: Minor > Fix For: 0.11 > > Attachments: HIVE-3724.1.patch.txt, HIVE-3724.2.patch.txt > > > Several of the metastore tests use hardcoded ports for remote metastore > Thrift servers. This is causing transient failures in Jenkins, e.g. > https://builds.apache.org/job/Hive-trunk-h0.21/1804/ > A few tests already dynamically determine free ports, and this logic can be > shared. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3724) Metastore tests use hardcoded ports
[ https://issues.apache.org/jira/browse/HIVE-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507106#comment-13507106 ] Mark Grover commented on HIVE-3724: --- +1 (non-committer) > Metastore tests use hardcoded ports > --- > > Key: HIVE-3724 > URL: https://issues.apache.org/jira/browse/HIVE-3724 > Project: Hive > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Kevin Wilfong >Assignee: Kevin Wilfong >Priority: Minor > Attachments: HIVE-3724.1.patch.txt, HIVE-3724.2.patch.txt > > > Several of the metastore tests use hardcoded ports for remote metastore > Thrift servers. This is causing transient failures in Jenkins, e.g. > https://builds.apache.org/job/Hive-trunk-h0.21/1804/ > A few tests already dynamically determine free ports, and this logic can be > shared. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3724) Metastore tests use hardcoded ports
[ https://issues.apache.org/jira/browse/HIVE-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507087#comment-13507087 ] Ashutosh Chauhan commented on HIVE-3724: +1 > Metastore tests use hardcoded ports > --- > > Key: HIVE-3724 > URL: https://issues.apache.org/jira/browse/HIVE-3724 > Project: Hive > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Kevin Wilfong >Assignee: Kevin Wilfong >Priority: Minor > Attachments: HIVE-3724.1.patch.txt, HIVE-3724.2.patch.txt > > > Several of the metastore tests use hardcoded ports for remote metastore > Thrift servers. This is causing transient failures in Jenkins, e.g. > https://builds.apache.org/job/Hive-trunk-h0.21/1804/ > A few tests already dynamically determine free ports, and this logic can be > shared. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3724) Metastore tests use hardcoded ports
[ https://issues.apache.org/jira/browse/HIVE-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506946#comment-13506946 ] Kevin Wilfong commented on HIVE-3724: - Thanks Ashutosh, switched to using that method in the refactored tests, and deleted the duplicate method. > Metastore tests use hardcoded ports > --- > > Key: HIVE-3724 > URL: https://issues.apache.org/jira/browse/HIVE-3724 > Project: Hive > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Kevin Wilfong >Assignee: Kevin Wilfong >Priority: Minor > Attachments: HIVE-3724.1.patch.txt, HIVE-3724.2.patch.txt > > > Several of the metastore tests use hardcoded ports for remote metastore > Thrift servers. This is causing transient failures in Jenkins, e.g. > https://builds.apache.org/job/Hive-trunk-h0.21/1804/ > A few tests already dynamically determine free ports, and this logic can be > shared. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3724) Metastore tests use hardcoded ports
[ https://issues.apache.org/jira/browse/HIVE-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506340#comment-13506340 ] Ashutosh Chauhan commented on HIVE-3724: We can reuse MetaStoreUtils::startMetaStore() for some of this refactoring which has a nice property of not waiting for fixed amount of time. See, its usage in TestMetaStoreAuthorization::testMetaStoreAuthorization. > Metastore tests use hardcoded ports > --- > > Key: HIVE-3724 > URL: https://issues.apache.org/jira/browse/HIVE-3724 > Project: Hive > Issue Type: Bug > Components: Tests >Affects Versions: 0.10.0 >Reporter: Kevin Wilfong >Assignee: Kevin Wilfong >Priority: Minor > Attachments: HIVE-3724.1.patch.txt > > > Several of the metastore tests use hardcoded ports for remote metastore > Thrift servers. This is causing transient failures in Jenkins, e.g. > https://builds.apache.org/job/Hive-trunk-h0.21/1804/ > A few tests already dynamically determine free ports, and this logic can be > shared. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira