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

HBASE-2037 broke Scan

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.20.3
    • Fix Version/s: 0.20.3, 0.90.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Paul Ambrose wrote to the mailing list about some tests he has that doesn't pass on 0.20.3RC1-2. Looking into the issue it appears that this modification:

         public Scan addFamily(byte [] family) {
           familyMap.remove(family);
      -    familyMap.put(family, null);
      +    familyMap.put(family, EMPTY_NAVIGABLE_SET);
           return this;
         }
      

      Makes it that when you use addColumn after that you put qualifiers into EMPTY_NAVIGABLE_SET which is static hence shared among all scanners after that like META scanners when calling tableExists.

      This was introduced by HBASE-2037.

        Attachments

        1. HBASE-2156-test-fix.patch
          0.9 kB
          Jean-Daniel Cryans
        2. HBASE-2156.test-enabled.patch
          0.6 kB
          Lars Francke
        3. HBASE-2156.patch
          3 kB
          Jean-Daniel Cryans

          Activity

            People

            • Assignee:
              jdcryans Jean-Daniel Cryans
              Reporter:
              jdcryans Jean-Daniel Cryans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: