Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-19289

CommonFSUtils$StreamLacksCapabilityException: hflush when running test against hadoop3 beta1

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta-1, 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      As of commit d8fb10c8329b19223c91d3cda6ef149382ad4ea0 , I encountered the following exception when running unit test against hadoop3 beta1:

      testRefreshStoreFiles(org.apache.hadoop.hbase.regionserver.TestHStore)  Time elapsed: 0.061 sec  <<< ERROR!
      java.io.IOException: cannot get log writer
      	at org.apache.hadoop.hbase.regionserver.TestHStore.initHRegion(TestHStore.java:215)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:220)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:195)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:190)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:185)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:179)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:173)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.testRefreshStoreFiles(TestHStore.java:962)
      Caused by: org.apache.hadoop.hbase.util.CommonFSUtils$StreamLacksCapabilityException: hflush
      	at org.apache.hadoop.hbase.regionserver.TestHStore.initHRegion(TestHStore.java:215)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:220)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:195)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:190)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:185)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:179)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.init(TestHStore.java:173)
      	at org.apache.hadoop.hbase.regionserver.TestHStore.testRefreshStoreFiles(TestHStore.java:962)
      

        Attachments

        1. HBASE-19289.v5.patch
          7 kB
          Mike Drob
        2. HBASE-19289.v4.patch
          8 kB
          Mike Drob
        3. HBASE-19289.v3.patch
          19 kB
          Mike Drob
        4. HBASE-19289.v2.patch
          10 kB
          Mike Drob
        5. HBASE-19289.patch
          2 kB
          Mike Drob
        6. 19289.v2.txt
          2 kB
          Ted Yu
        7. 19289.v1.txt
          2 kB
          Ted Yu

          Issue Links

            Activity

              People

              • Assignee:
                mdrob Mike Drob
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: