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

list_quota_snapshots fails with ‘ERROR NameError: uninitialized constant Shell::Commands::ListQuotaSnapshots::TABLE’

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0, 3.0.0-alpha-3, 2.4.11
    • 2.5.0, 3.0.0-alpha-3, 2.4.12
    • shell
    • None

    Description

      The list_quota_snapshots command fails with 

      ERROR NameError: uninitialized constant Shell::Commands::ListQuotaSnapshots::TABLE

      regardless of the parameters it's called with.

      Apparently, it used to work in HBase 2.2.

      I don't know enough about Ruby to tell why it used to work, and what broke this exactly,  but using qualified constants fixes the problem.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: