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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.2, 0.94.2
    • None
    • None
    • 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-92.txt
          0.7 kB
          Ted Yu
        2. 6268-94.txt
          0.7 kB
          Lars Hofhansl

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment