[ https://issues.apache.org/jira/browse/HBASE-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans updated HBASE-2156: -------------------------------------- Attachment: HBASE-2156.patch Patch that fixes the bug by verifying if the set is the static one. Also adds a unit tests and re-indents the previous one in the class (which was horribly wrong). > HBASE-2037 broke Scan > --------------------- > > Key: HBASE-2156 > URL: https://issues.apache.org/jira/browse/HBASE-2156 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.20.3 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Priority: Blocker > Fix For: 0.20.3 > > Attachments: HBASE-2156.patch > > > 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: > {code} > public Scan addFamily(byte [] family) { > familyMap.remove(family); > - familyMap.put(family, null); > + familyMap.put(family, EMPTY_NAVIGABLE_SET); > return this; > } > {code} > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.