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

Hbase Shell hcd() method is broken by the replication scope parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.0
    • 0.90.0
    • scripts
    • Hbase trunk, hadoop 0.21 branch

    • Hide
      Attached HBASE-2276.patch file contains a patch that adds REPLICATION_SCOPE support to hcd() method and to the shell itself by defining the REPLICATION_SCOPE constant
      Show
      Attached HBASE-2276 .patch file contains a patch that adds REPLICATION_SCOPE support to hcd() method and to the shell itself by defining the REPLICATION_SCOPE constant
    • patch

    Description

      Since an additional HColumnDescriptor constructor parameter (scope) was introduced, hbase shell hcd() method fails to create a HColumnDescriptor object:

      hbase(main):007:0> alter 'doc_total_stats',

      {NAME => 'country_views', VERSIONS => 1}

      ArgumentError: wrong # of arguments(8 for 9)

      Attachments

        1. HBASE-2276.patch
          2 kB
          Alexey Kovyrin

        Activity

          People

            kovyrin Alexey Kovyrin
            kovyrin Alexey Kovyrin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: