Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4389

Flapping tests SystemTablePermissionsIT and MigrateSystemTablesToSystemNamespaceIT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.13.0
    • 4.14.0, 4.13.2, 5.0.0
    • None
    • None

    Description

      While running long IT, SystemTablePermissionsIT and MigrateSystemTablesToSystemNamespaceIT are flapping throwing same exception. Both tests run OK en their own.

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

      Attachments

        1. PHOENIX-4389.001.patch
          2 kB
          Karan Mehta

        Activity

          People

            karanmehta93 Karan Mehta
            pboado Pedro Boado
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: