You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gary Helmling (JIRA)" <ji...@apache.org> on 2011/08/26 21:45:29 UTC

[jira] [Created] (HBASE-4260) Expose a command to manually trigger an HLog roll

Expose a command to manually trigger an HLog roll
-------------------------------------------------

                 Key: HBASE-4260
                 URL: https://issues.apache.org/jira/browse/HBASE-4260
             Project: HBase
          Issue Type: New Feature
          Components: regionserver, shell
            Reporter: Gary Helmling


HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Updated] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

ramkrishna.s.vasudevan updated HBASE-4260:
------------------------------------------

    Attachment: HBASE-4260.patch

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>         Attachments: HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Commented] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

Ted Yu commented on HBASE-4260:
-------------------------------

+1 on patch.

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>         Attachments: HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Commented] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

Hudson commented on HBASE-4260:
-------------------------------

Integrated in HBase-TRUNK #2188 (See [https://builds.apache.org/job/HBase-TRUNK/2188/])
    HBASE-4260 Expose a command to manually trigger an HLog roll

stack : 
Files : 
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogUtils.java


> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>             Fix For: 0.92.0
>
>         Attachments: 4260-v2.patch, HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Updated] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

stack updated HBASE-4260:
-------------------------

    Tags: noob

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>              Labels: noob
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Updated] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

ramkrishna.s.vasudevan updated HBASE-4260:
------------------------------------------

    Status: Patch Available  (was: Open)

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>         Attachments: HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Assigned] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

ramkrishna.s.vasudevan reassigned HBASE-4260:
---------------------------------------------

    Assignee: ramkrishna.s.vasudevan

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Commented] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

Hudson commented on HBASE-4260:
-------------------------------

Integrated in HBase-TRUNK #2186 (See [https://builds.apache.org/job/HBase-TRUNK/2186/])
    HBASE-4260 Expose a command to manually trigger an HLog roll

stack : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* /hbase/trunk/src/main/ruby/hbase/admin.rb
* /hbase/trunk/src/main/ruby/shell.rb
* /hbase/trunk/src/main/ruby/shell/commands/hlog_roll.rb
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java


> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>             Fix For: 0.92.0
>
>         Attachments: 4260-v2.patch, HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Commented] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

ramkrishna.s.vasudevan commented on HBASE-4260:
-----------------------------------------------

Thanks Stack.

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>             Fix For: 0.92.0
>
>         Attachments: 4260-v2.patch, HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Updated] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

stack updated HBASE-4260:
-------------------------

    Labels: noob  (was: )

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>              Labels: noob
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Updated] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

stack updated HBASE-4260:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Release Note: Add an hlog_roll <SERVERNAME> to shell.  Rolls wal logs on named server.
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed to TRUNK.  Thanks for the nice patch Ram.

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>             Fix For: 0.92.0
>
>         Attachments: 4260-v2.patch, HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Commented] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

stack commented on HBASE-4260:
------------------------------

+1

I also think that our roll on 1 hour is too long.. we should roll more frequently, or else, undo the check for removal of old logs such that it can run independent of whether a roll or not.  Thats another issue though.

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>              Labels: noob
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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

        

[jira] [Updated] (HBASE-4260) Expose a command to manually trigger an HLog roll

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

stack updated HBASE-4260:
-------------------------

    Attachment: 4260-v2.patch

Here is what I committed.  It has small change to help message formatting and I changed the name of the class in hlog_roll from HLogRoll to HlogRoll (ruby wanted the latter).

I tried it and it worked for me.

> Expose a command to manually trigger an HLog roll
> -------------------------------------------------
>
>                 Key: HBASE-4260
>                 URL: https://issues.apache.org/jira/browse/HBASE-4260
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, shell
>            Reporter: Gary Helmling
>            Assignee: ramkrishna.s.vasudevan
>              Labels: noob
>             Fix For: 0.92.0
>
>         Attachments: 4260-v2.patch, HBASE-4260.patch
>
>
> HBASE-4222 added a version of HLog.rollWriter() that allows "forcing" a log roll when requested.  It would be useful to expose this as an HRegionInterface RPC method and provide a corresponding shell command to allow explicit log rolling when desired.

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