You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/03/03 20:38:36 UTC

[jira] Created: (HBASE-3595) get_counter broken in shell

get_counter broken in shell
---------------------------

                 Key: HBASE-3595
                 URL: https://issues.apache.org/jira/browse/HBASE-3595
             Project: HBase
          Issue Type: Bug
          Components: shell
    Affects Versions: 0.90.1
            Reporter: Todd Lipcon
            Priority: Critical
             Fix For: 0.90.2


hbase(main):010:0> incr 't', 'r1', 'f1:c1'
COUNTER VALUE = 2

hbase(main):011:0> get_counter 't', 'r1', 'f1:c1'

ERROR: undefined method `first' for #<#<Class:01x79f7abae>:0x73286b10>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HBASE-3595) get_counter broken in shell

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008265#comment-13008265 ] 

Hudson commented on HBASE-3595:
-------------------------------

Integrated in HBase-TRUNK #1794 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1794/])
    HBASE-3595 get_counter broken in shell
HBASE-3595 get_counter broken in shell


> get_counter broken in shell
> ---------------------------
>
>                 Key: HBASE-3595
>                 URL: https://issues.apache.org/jira/browse/HBASE-3595
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.90.2
>
>         Attachments: hbase-3595.txt
>
>
> hbase(main):010:0> incr 't', 'r1', 'f1:c1'
> COUNTER VALUE = 2
> hbase(main):011:0> get_counter 't', 'r1', 'f1:c1'
> ERROR: undefined method `first' for #<#<Class:01x79f7abae>:0x73286b10>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (HBASE-3595) get_counter broken in shell

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002311#comment-13002311 ] 

stack commented on HBASE-3595:
------------------------------

The test facility was broke by move back to jruby 1.0.3.  See hbase-3374 patch where TestShell is removed (It wouldn't work w/ the old ruby).

> get_counter broken in shell
> ---------------------------
>
>                 Key: HBASE-3595
>                 URL: https://issues.apache.org/jira/browse/HBASE-3595
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.90.2
>
>         Attachments: hbase-3595.txt
>
>
> hbase(main):010:0> incr 't', 'r1', 'f1:c1'
> COUNTER VALUE = 2
> hbase(main):011:0> get_counter 't', 'r1', 'f1:c1'
> ERROR: undefined method `first' for #<#<Class:01x79f7abae>:0x73286b10>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HBASE-3595) get_counter broken in shell

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002312#comment-13002312 ] 

stack commented on HBASE-3595:
------------------------------

+1 on patch

> get_counter broken in shell
> ---------------------------
>
>                 Key: HBASE-3595
>                 URL: https://issues.apache.org/jira/browse/HBASE-3595
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.90.2
>
>         Attachments: hbase-3595.txt
>
>
> hbase(main):010:0> incr 't', 'r1', 'f1:c1'
> COUNTER VALUE = 2
> hbase(main):011:0> get_counter 't', 'r1', 'f1:c1'
> ERROR: undefined method `first' for #<#<Class:01x79f7abae>:0x73286b10>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HBASE-3595) get_counter broken in shell

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3595.
--------------------------

    Resolution: Fixed
      Assignee: Todd Lipcon

Applied patch and TRUNK

> get_counter broken in shell
> ---------------------------
>
>                 Key: HBASE-3595
>                 URL: https://issues.apache.org/jira/browse/HBASE-3595
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.90.2
>
>         Attachments: hbase-3595.txt
>
>
> hbase(main):010:0> incr 't', 'r1', 'f1:c1'
> COUNTER VALUE = 2
> hbase(main):011:0> get_counter 't', 'r1', 'f1:c1'
> ERROR: undefined method `first' for #<#<Class:01x79f7abae>:0x73286b10>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (HBASE-3595) get_counter broken in shell

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HBASE-3595:
-------------------------------

    Attachment: hbase-3595.txt

Here's a fix. There appear to be tests in src/test/ruby that would catch this, but I don't know how to run those tests. Is that documented somewhere? We should set up a Hudson job to run them.

> get_counter broken in shell
> ---------------------------
>
>                 Key: HBASE-3595
>                 URL: https://issues.apache.org/jira/browse/HBASE-3595
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.90.2
>
>         Attachments: hbase-3595.txt
>
>
> hbase(main):010:0> incr 't', 'r1', 'f1:c1'
> COUNTER VALUE = 2
> hbase(main):011:0> get_counter 't', 'r1', 'f1:c1'
> ERROR: undefined method `first' for #<#<Class:01x79f7abae>:0x73286b10>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira