[ https://issues.apache.org/jira/browse/PHOENIX-4389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16267611#comment-16267611 ]
Karan Mehta commented on PHOENIX-4389: -------------------------------------- I will modify the test so that HMaster starts on random port numbers for each test and hence doesn't throw exception. > Flapping tests SystemTablePermissionsIT and > MigrateSystemTablesToSystemNamespaceIT > ---------------------------------------------------------------------------------- > > Key: PHOENIX-4389 > URL: https://issues.apache.org/jira/browse/PHOENIX-4389 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.13.0 > Environment: Ubuntu 16.04 LTS, Oracle JDK 1.7.0_80, running long IT > for PHOENIX-4372 on 4.x-HBase1.2 > Reporter: Pedro Boado > Priority: Minor > > While running long IT, {{SystemTablePermissionsIT}} and > {{MigrateSystemTablesToSystemNamespaceIT}} are flapping throwing same > exception. Both tests run OK en their own. > {code} > [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.848 > s <<< FAILURE! - in org.apache.phoenix.end2end.SystemTablePermissionsIT > [ERROR] > testNamespaceMappedSystemTables(org.apache.phoenix.end2end.SystemTablePermissionsIT) > Time elapsed: 6.713 s <<< ERROR! > java.io.IOException: Shutting down > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testNamespaceMappedSystemTables(SystemTablePermissionsIT.java:162) > Caused by: java.lang.RuntimeException: Failed construction of Master: class > org.apache.hadoop.hbase.master.HMasterAddress already in use > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testNamespaceMappedSystemTables(SystemTablePermissionsIT.java:162) > Caused by: java.net.BindException: Port in use: 0.0.0.0:60010 > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testNamespaceMappedSystemTables(SystemTablePermissionsIT.java:162) > Caused by: java.net.BindException: Address already in use > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testNamespaceMappedSystemTables(SystemTablePermissionsIT.java:162) > [ERROR] > testSystemTablePermissions(org.apache.phoenix.end2end.SystemTablePermissionsIT) > Time elapsed: 1.133 s <<< ERROR! > java.io.IOException: Shutting down > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:104) > Caused by: java.lang.RuntimeException: Failed construction of Master: class > org.apache.hadoop.hbase.master.HMasterAddress already in use > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:104) > Caused by: java.net.BindException: Port in use: 0.0.0.0:60010 > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:104) > Caused by: java.net.BindException: Address already in use > at > org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:104) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)