Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3015

HmsCatalogTest.TestMetastoreUuid sometimes fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.10.0, 1.10.1, 1.11.0, 1.11.1
    • None
    • hms, test
    • None

    Description

      The HmsCatalogTest.TestMetastoreUuid test scenario sometimes fails due to longer startup times of HMS. For example, below it's clear that it took a bit more than 36 seconds to start HMS, but ASSERT_EVENTUALLY was waiting for 30 seconds, so the test failed:

      W1207 20:28:27.577484   394 client.h:352] Failed to connect to Hive Metastore (127.0.0.1:33087): Network error: failed to open Hive Metastore connection: socket open() error: Connection refused
      W1207 20:28:38.521863   218 mini_hms.cc:96] Time spent Starting HMS: real 36.962s user 0.030s sys 0.094s
      /data/somelongdirectorytoavoidrpathissues/src/kudu/src/kudu/hms/hms_catalog-test.cc:483: Failure
      Value of: s2.IsNotSupported()                                                   
        Actual: false                                                                 
      Expected: true                                                                  
      /data/somelongdirectorytoavoidrpathissues/src/kudu/src/kudu/util/test_util.cc:326: Failure
      Failed                                                                          
      Timed out waiting for assertion to pass.  
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            aserbin Alexey Serbin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: