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

Fix possibly zero length family and qualifier is TestCacheOnWrite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 1.0.1, 1.1.0, 0.98.11, 2.0.0
    • test
    • None
    • Reviewed

    Description

      TestCacheOnWrite uses TestHFileWriterV2.randomOrderedKey to generate a random byte array, then use first 32 bytes as row and remaining part as family and qualifier. But TestHFileWriterV2.randomOrderedKey may return a byte array only contains 32 bytes, so there will be zero length family and qualifier.

      Attachments

        1. HBASE-13070_1.patch
          12 kB
          Duo Zhang
        2. HBASE-13070_2.patch
          13 kB
          Duo Zhang
        3. HBASE-13070.patch
          11 kB
          Duo Zhang
        4. HBASE-13070-0.98.patch
          13 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: