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

Can't enable a table on a 0.94 cluster from a 0.92 client

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.2, 0.94.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In 0.92 we know a table's enabled by doing this in HCM.isEnabledTable:

      return getTableState(zkw, tableName) == null;

      In 0.94 we do:

      return getTableState(zkw, tableName) == TableState.ENABLED;

      So what happens is that the the 0.92 client will hang forever since the znode contains ENABLED instead of being absent.

        Attachments

        1. 6268-94.txt
          0.7 kB
          Lars Hofhansl
        2. 6268-92.txt
          0.7 kB
          Ted Yu

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              jdcryans Jean-Daniel Cryans
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: