You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Adam Gerber (JIRA)" <ji...@apache.org> on 2008/08/11 18:48:44 UTC

[jira] Created: (HBASE-817) Hbase/Shell Truncate

Hbase/Shell Truncate
--------------------

                 Key: HBASE-817
                 URL: https://issues.apache.org/jira/browse/HBASE-817
             Project: Hadoop HBase
          Issue Type: New Feature
            Reporter: Adam Gerber
            Priority: Minor


Hbase Shell should allow for the truncation of tables, similar to the functionality provided by HQL

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


Re: [jira] Commented: (HBASE-817) Hbase/Shell Truncate

Posted by "Edward J. Yoon" <ed...@apache.org>.
I don't know well about new shell and roadmap. but, there is no reason
to follow HQL. :)

-Edward

On Wed, Aug 20, 2008 at 10:58 AM, Jim Kellerman (JIRA) <ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/HBASE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623874#action_12623874 ]
>
> Jim Kellerman commented on HBASE-817:
> -------------------------------------
>
> Why? For convenience? All truncate does is "disable <table name>", "delete <table name>", and "create <table name>"; possibly only saving the specification of the schema (HTableDescriptor) required to recreate the table.
>
>> Hbase/Shell Truncate
>> --------------------
>>
>>                 Key: HBASE-817
>>                 URL: https://issues.apache.org/jira/browse/HBASE-817
>>             Project: Hadoop HBase
>>          Issue Type: New Feature
>>            Reporter: Adam Gerber
>>            Priority: Minor
>>
>> Hbase Shell should allow for the truncation of tables, similar to the functionality provided by HQL
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>



-- 
Best regards, Edward J. Yoon
edwardyoon@apache.org
http://blog.udanax.org

[jira] Assigned: (HBASE-817) Hbase/Shell Truncate

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

stack reassigned HBASE-817:
---------------------------

    Assignee: Jean-Daniel Cryans

> Hbase/Shell Truncate
> --------------------
>
>                 Key: HBASE-817
>                 URL: https://issues.apache.org/jira/browse/HBASE-817
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: Adam Gerber
>            Assignee: Jean-Daniel Cryans
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: hbase-817-v1.patch
>
>
> Hbase Shell should allow for the truncation of tables, similar to the functionality provided by HQL

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


[jira] Updated: (HBASE-817) Hbase/Shell Truncate

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

Jean-Daniel Cryans updated HBASE-817:
-------------------------------------

    Attachment: hbase-817-v1.patch

Here is a patch that truncates a table using some of the other irb commands.

> Hbase/Shell Truncate
> --------------------
>
>                 Key: HBASE-817
>                 URL: https://issues.apache.org/jira/browse/HBASE-817
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: Adam Gerber
>            Priority: Minor
>         Attachments: hbase-817-v1.patch
>
>
> Hbase Shell should allow for the truncation of tables, similar to the functionality provided by HQL

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


[jira] Resolved: (HBASE-817) Hbase/Shell Truncate

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

stack resolved HBASE-817.
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.19.0

Committed.  Thanks J-D.

> Hbase/Shell Truncate
> --------------------
>
>                 Key: HBASE-817
>                 URL: https://issues.apache.org/jira/browse/HBASE-817
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: Adam Gerber
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: hbase-817-v1.patch
>
>
> Hbase Shell should allow for the truncation of tables, similar to the functionality provided by HQL

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


[jira] Commented: (HBASE-817) Hbase/Shell Truncate

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

Jim Kellerman commented on HBASE-817:
-------------------------------------

Why? For convenience? All truncate does is "disable <table name>", "delete <table name>", and "create <table name>"; possibly only saving the specification of the schema (HTableDescriptor) required to recreate the table.

> Hbase/Shell Truncate
> --------------------
>
>                 Key: HBASE-817
>                 URL: https://issues.apache.org/jira/browse/HBASE-817
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: Adam Gerber
>            Priority: Minor
>
> Hbase Shell should allow for the truncation of tables, similar to the functionality provided by HQL

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


[jira] Commented: (HBASE-817) Hbase/Shell Truncate

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

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

I think this would be convenient since, during development, tables are dropped often only to be recreated. 

> Hbase/Shell Truncate
> --------------------
>
>                 Key: HBASE-817
>                 URL: https://issues.apache.org/jira/browse/HBASE-817
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: Adam Gerber
>            Priority: Minor
>
> Hbase Shell should allow for the truncation of tables, similar to the functionality provided by HQL

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