HBase
  1. HBase
  2. HBASE-6268

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Jean-Daniel Cryans created issue -
        Ted Yu made changes -
        Field Original Value New Value
        Attachment 6268-92.txt [ 12543227 ]
        stack made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Assignee Ted Yu [ yuzhihong@gmail.com ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Attachment 6268-94.txt [ 12543408 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.2 [ 12321884 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development