Grokbase Groups HBase dev March 2010
FAQ
Hbase Shell hcd() method is broken by the replication scope parameter
---------------------------------------------------------------------

Key: HBASE-2276
URL: https://issues.apache.org/jira/browse/HBASE-2276
Project: Hadoop HBase
Issue Type: Bug
Components: util
Affects Versions: 0.21.0
Environment: Hbase trunk, hadoop 0.21 branch
Reporter: Alexey Kovyrin
Fix For: 0.21.0


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)


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Jean-Daniel Cryans (JIRA) at Mar 1, 2010 at 8:17 am
    [ https://issues.apache.org/jira/browse/HBASE-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839471#action_12839471 ]

    Jean-Daniel Cryans commented on HBASE-2276:
    -------------------------------------------

    Thanks for figuring it and making a patch Alexey, I forgot to check the shell.
    Hbase Shell hcd() method is broken by the replication scope parameter
    ---------------------------------------------------------------------

    Key: HBASE-2276
    URL: https://issues.apache.org/jira/browse/HBASE-2276
    Project: Hadoop HBase
    Issue Type: Bug
    Components: scripts
    Affects Versions: 0.21.0
    Environment: Hbase trunk, hadoop 0.21 branch
    Reporter: Alexey Kovyrin
    Assignee: Alexey Kovyrin
    Fix For: 0.21.0

    Attachments: HBASE-2276.patch


    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lars George (JIRA) at Mar 1, 2010 at 8:40 am
    [ https://issues.apache.org/jira/browse/HBASE-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lars George reassigned HBASE-2276:
    ----------------------------------

    Assignee: Alexey Kovyrin
    Hbase Shell hcd() method is broken by the replication scope parameter
    ---------------------------------------------------------------------

    Key: HBASE-2276
    URL: https://issues.apache.org/jira/browse/HBASE-2276
    Project: Hadoop HBase
    Issue Type: Bug
    Components: scripts
    Affects Versions: 0.21.0
    Environment: Hbase trunk, hadoop 0.21 branch
    Reporter: Alexey Kovyrin
    Assignee: Alexey Kovyrin
    Fix For: 0.21.0

    Attachments: HBASE-2276.patch


    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lars George (JIRA) at Mar 1, 2010 at 8:42 am
    [ https://issues.apache.org/jira/browse/HBASE-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lars George updated HBASE-2276:
    -------------------------------

    Resolution: Fixed
    Status: Resolved (was: Patch Available)

    Made Alexey a contributor so I could assign his name to the issue. Committed since this is a trivial fix.
    Hbase Shell hcd() method is broken by the replication scope parameter
    ---------------------------------------------------------------------

    Key: HBASE-2276
    URL: https://issues.apache.org/jira/browse/HBASE-2276
    Project: Hadoop HBase
    Issue Type: Bug
    Components: scripts
    Affects Versions: 0.21.0
    Environment: Hbase trunk, hadoop 0.21 branch
    Reporter: Alexey Kovyrin
    Assignee: Alexey Kovyrin
    Fix For: 0.21.0

    Attachments: HBASE-2276.patch


    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Alexey Kovyrin (JIRA) at Mar 1, 2010 at 9:01 am
    [ https://issues.apache.org/jira/browse/HBASE-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Alexey Kovyrin updated HBASE-2276:
    ----------------------------------

    Release Note: 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
    Status: Patch Available (was: Open)
    Hbase Shell hcd() method is broken by the replication scope parameter
    ---------------------------------------------------------------------

    Key: HBASE-2276
    URL: https://issues.apache.org/jira/browse/HBASE-2276
    Project: Hadoop HBase
    Issue Type: Bug
    Components: util
    Affects Versions: 0.21.0
    Environment: Hbase trunk, hadoop 0.21 branch
    Reporter: Alexey Kovyrin
    Fix For: 0.21.0

    Attachments: HBASE-2276.patch


    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Alexey Kovyrin (JIRA) at Mar 1, 2010 at 9:09 am
    [ https://issues.apache.org/jira/browse/HBASE-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Alexey Kovyrin updated HBASE-2276:
    ----------------------------------

    Attachment: HBASE-2276.patch
    Hbase Shell hcd() method is broken by the replication scope parameter
    ---------------------------------------------------------------------

    Key: HBASE-2276
    URL: https://issues.apache.org/jira/browse/HBASE-2276
    Project: Hadoop HBase
    Issue Type: Bug
    Components: util
    Affects Versions: 0.21.0
    Environment: Hbase trunk, hadoop 0.21 branch
    Reporter: Alexey Kovyrin
    Fix For: 0.21.0

    Attachments: HBASE-2276.patch


    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Alexey Kovyrin (JIRA) at Mar 1, 2010 at 9:15 am
    [ https://issues.apache.org/jira/browse/HBASE-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Alexey Kovyrin updated HBASE-2276:
    ----------------------------------

    Component/s: (was: util)
    scripts
    Hbase Shell hcd() method is broken by the replication scope parameter
    ---------------------------------------------------------------------

    Key: HBASE-2276
    URL: https://issues.apache.org/jira/browse/HBASE-2276
    Project: Hadoop HBase
    Issue Type: Bug
    Components: scripts
    Affects Versions: 0.21.0
    Environment: Hbase trunk, hadoop 0.21 branch
    Reporter: Alexey Kovyrin
    Fix For: 0.21.0

    Attachments: HBASE-2276.patch


    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedMar 1, '10 at 8:17a
activeMar 1, '10 at 9:15a
posts7
users1
websitehbase.apache.org

1 user in discussion

Alexey Kovyrin (JIRA): 7 posts

People

Translate

site design / logo © 2022 Grokbase