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

[shell] Can't set table descriptor attributes when I alter a table

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.1, 0.20.0
    • None
    • None
    • Reviewed

    Description

      I wanted to set the compaction filesize attribute but no good:

      hbase(main):005:0> alter 'TestTable', {MAX_FILESIZE => 67108864} 
      TypeError: can't convert Hash into String
      	from /Users/stack/Documents/checkouts/hbase/trunk/bin/../bin/HBase.rb:138:in `hcd'
      	from /Users/stack/Documents/checkouts/hbase/trunk/bin/../bin/HBase.rb:138:in `alter'
      	from /Users/stack/Documents/checkouts/hbase/trunk/bin/../bin/hirb.rb:239:in `alter'
      	from (hbase):6:in `binding'
      hbase(main):006:0> alter 'TestTable', {MAX_FILESIZE => 67108864}
      
      

      Attachments

        1. hbase-903.patch
          3 kB
          Jean-Daniel Cryans

        Issue Links

        Activity

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

          People

            jdcryans Jean-Daniel Cryans
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment