You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Sebastien Rainville (JIRA)" <ji...@apache.org> on 2008/07/28 20:25:31 UTC

[jira] Created: (HBASE-782) The DELETE key in the hbase shell deletes the wrong character

The DELETE key in the hbase shell deletes the wrong character
-------------------------------------------------------------

                 Key: HBASE-782
                 URL: https://issues.apache.org/jira/browse/HBASE-782
             Project: Hadoop HBase
          Issue Type: Bug
          Components: client
    Affects Versions: 0.2.0
            Reporter: Sebastien Rainville


Within the hbase shell, if you type "monkey", then place the cursor on the letter 'k' and hit the key 'DELETE' several times it will do this:
monkey
mokey
mkey
key
key
key
...


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


[jira] Updated: (HBASE-782) The DELETE key in the hbase shell deletes the wrong character

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

Tim Sell updated HBASE-782:
---------------------------

    Attachment: 782.patch

> The DELETE key in the hbase shell deletes the wrong character
> -------------------------------------------------------------
>
>                 Key: HBASE-782
>                 URL: https://issues.apache.org/jira/browse/HBASE-782
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.19.0, 0.18.2
>            Reporter: Sebastien Rainville
>            Assignee: Tim Sell
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: 782.patch
>
>
> Within the hbase shell, if you type "monkey", then place the cursor on the letter 'k' and hit the key 'DELETE' several times it will do this:
> monkey
> mokey
> mkey
> key
> key
> key
> ...

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


[jira] Commented: (HBASE-782) The DELETE key in the hbase shell deletes the wrong character

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

Sebastien Rainville commented on HBASE-782:
-------------------------------------------

yes it's supposed to delete k, then e, then y... and no it's not working for me.

OS: Ubuntu 8.04

It's the only place I see that behaviour... never seen it before in any program...


> The DELETE key in the hbase shell deletes the wrong character
> -------------------------------------------------------------
>
>                 Key: HBASE-782
>                 URL: https://issues.apache.org/jira/browse/HBASE-782
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.2.0
>            Reporter: Sebastien Rainville
>            Priority: Minor
>
> Within the hbase shell, if you type "monkey", then place the cursor on the letter 'k' and hit the key 'DELETE' several times it will do this:
> monkey
> mokey
> mkey
> key
> key
> key
> ...

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


[jira] Updated: (HBASE-782) The DELETE key in the hbase shell deletes the wrong character

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

Tim Sell updated HBASE-782:
---------------------------

        Fix Version/s: 0.19.0
             Assignee: Tim Sell
    Affects Version/s:     (was: 0.2.0)
                       0.18.2
                       0.19.0
               Status: Patch Available  (was: Open)

This happens to me too and finally annoyed me enough to look at it.
It's due to the suppressing 'nil' output incorrectly (or too optimistically?)

Attached a wonderfully simple patch. Should also work for all versions since hirb.rb was included.

> The DELETE key in the hbase shell deletes the wrong character
> -------------------------------------------------------------
>
>                 Key: HBASE-782
>                 URL: https://issues.apache.org/jira/browse/HBASE-782
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.19.0, 0.18.2
>            Reporter: Sebastien Rainville
>            Assignee: Tim Sell
>            Priority: Minor
>             Fix For: 0.19.0
>
>
> Within the hbase shell, if you type "monkey", then place the cursor on the letter 'k' and hit the key 'DELETE' several times it will do this:
> monkey
> mokey
> mkey
> key
> key
> key
> ...

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


[jira] Updated: (HBASE-782) The DELETE key in the hbase shell deletes the wrong character

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

stack updated HBASE-782:
------------------------

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

Thanks for the patch Tim.  Committed.

> The DELETE key in the hbase shell deletes the wrong character
> -------------------------------------------------------------
>
>                 Key: HBASE-782
>                 URL: https://issues.apache.org/jira/browse/HBASE-782
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.19.0, 0.18.2
>            Reporter: Sebastien Rainville
>            Assignee: Tim Sell
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: 782.patch
>
>
> Within the hbase shell, if you type "monkey", then place the cursor on the letter 'k' and hit the key 'DELETE' several times it will do this:
> monkey
> mokey
> mkey
> key
> key
> key
> ...

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


[jira] Updated: (HBASE-782) The DELETE key in the hbase shell deletes the wrong character

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

Sebastien Rainville updated HBASE-782:
--------------------------------------

    Priority: Minor  (was: Major)

> The DELETE key in the hbase shell deletes the wrong character
> -------------------------------------------------------------
>
>                 Key: HBASE-782
>                 URL: https://issues.apache.org/jira/browse/HBASE-782
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.2.0
>            Reporter: Sebastien Rainville
>            Priority: Minor
>
> Within the hbase shell, if you type "monkey", then place the cursor on the letter 'k' and hit the key 'DELETE' several times it will do this:
> monkey
> mokey
> mkey
> key
> key
> key
> ...

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


[jira] Commented: (HBASE-782) The DELETE key in the hbase shell deletes the wrong character

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

stack commented on HBASE-782:
-----------------------------

Whats it supposed to do Sebastien?  Delete k, then e, then y? (Seems to work properly to me).

> The DELETE key in the hbase shell deletes the wrong character
> -------------------------------------------------------------
>
>                 Key: HBASE-782
>                 URL: https://issues.apache.org/jira/browse/HBASE-782
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.2.0
>            Reporter: Sebastien Rainville
>            Priority: Minor
>
> Within the hbase shell, if you type "monkey", then place the cursor on the letter 'k' and hit the key 'DELETE' several times it will do this:
> monkey
> mokey
> mkey
> key
> key
> key
> ...

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