You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nicolas Spiegelberg (JIRA)" <ji...@apache.org> on 2010/12/09 21:04:01 UTC

[jira] Created: (HBASE-3328) Admin API: Explicit Split Points

Admin API: Explicit Split Points
--------------------------------

                 Key: HBASE-3328
                 URL: https://issues.apache.org/jira/browse/HBASE-3328
             Project: HBase
          Issue Type: Improvement
          Components: client, ipc
            Reporter: Nicolas Spiegelberg
            Assignee: Nicolas Spiegelberg
            Priority: Minor


Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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


[jira] Commented: (HBASE-3328) Admin API: Explicit Split Points

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

HBase Review Board commented on HBASE-3328:
-------------------------------------------

Message from: "Nicolas" <ns...@facebook.com>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1281/
-----------------------------------------------------------

Review request for hbase.


Summary
-------

Add the ability to explicitly split an existing region at a user-specified point. Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.


This addresses bug HBASE-3328.
    http://issues.apache.org/jira/browse/HBASE-3328


Diffs
-----

  src/main/java/org/apache/hadoop/hbase/HRegionInfo.java 2e601e1 
  src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java 2fba18e 
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java cf9cad0 
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 26b4c10 
  src/main/java/org/apache/hadoop/hbase/regionserver/Store.java 4717938 
  src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java 8560d22 

Diff: http://review.cloudera.org/r/1281/diff


Testing
-------

- mvn test -Dtest=TestAdmin
- mvn test (underway)
- cluster testing
Note: this was primarily cluster-tested with 0.89 master.


Thanks,

Nicolas




> Admin API: Explicit Split Points
> --------------------------------
>
>                 Key: HBASE-3328
>                 URL: https://issues.apache.org/jira/browse/HBASE-3328
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, ipc
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>
> Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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


[jira] Commented: (HBASE-3328) Admin API: Explicit Split Points

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

HBase Review Board commented on HBASE-3328:
-------------------------------------------

Message from: "Nicolas" <ns...@facebook.com>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1281/#review2056
-----------------------------------------------------------



src/main/java/org/apache/hadoop/hbase/HRegionInfo.java
<http://review.cloudera.org/r/1281/#comment6463>

    note that this means you should not do a rolling upgrade with this patch.


- Nicolas





> Admin API: Explicit Split Points
> --------------------------------
>
>                 Key: HBASE-3328
>                 URL: https://issues.apache.org/jira/browse/HBASE-3328
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, ipc
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>
> Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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


[jira] Commented: (HBASE-3328) Admin API: Explicit Split Points

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

Jonathan Gray commented on HBASE-3328:
--------------------------------------

+1 for commit to trunk

> Admin API: Explicit Split Points
> --------------------------------
>
>                 Key: HBASE-3328
>                 URL: https://issues.apache.org/jira/browse/HBASE-3328
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, ipc
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>
> Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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


[jira] Resolved: (HBASE-3328) Admin API: Explicit Split Points

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

Nicolas Spiegelberg resolved HBASE-3328.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Hadoop Flags: [Reviewed]

> Admin API: Explicit Split Points
> --------------------------------
>
>                 Key: HBASE-3328
>                 URL: https://issues.apache.org/jira/browse/HBASE-3328
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, ipc
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.92.0
>
>
> Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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


[jira] Commented: (HBASE-3328) Admin API: Explicit Split Points

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

Hudson commented on HBASE-3328:
-------------------------------

Integrated in HBase-TRUNK #1697 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1697/])
    

> Admin API: Explicit Split Points
> --------------------------------
>
>                 Key: HBASE-3328
>                 URL: https://issues.apache.org/jira/browse/HBASE-3328
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, ipc
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.92.0
>
>
> Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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


[jira] Commented: (HBASE-3328) Admin API: Explicit Split Points

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

HBase Review Board commented on HBASE-3328:
-------------------------------------------

Message from: "Nicolas" <ns...@facebook.com>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1281/
-----------------------------------------------------------

(Updated 2010-12-11 23:21:55.350465)


Review request for hbase.


Changes
-------

I was porting this from my 0.89 diff.  In 0.90, we can just directly add an HRegionInterface RPC and not worry about incrementing the HRegionInfo VERSION.  Much cleaner and allows for rolling upgrades / mixed version environments.


Summary
-------

Add the ability to explicitly split an existing region at a user-specified point. Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.


This addresses bug HBASE-3328.
    http://issues.apache.org/jira/browse/HBASE-3328


Diffs (updated)
-----

  src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java 2fba18e 
  src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java 2c109ae 
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java cf9cad0 
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 26b4c10 
  src/main/java/org/apache/hadoop/hbase/regionserver/Store.java 4717938 
  src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java 8560d22 

Diff: http://review.cloudera.org/r/1281/diff


Testing
-------

- mvn test -Dtest=TestAdmin
- mvn test (underway)
- cluster testing
Note: this was primarily cluster-tested with 0.89 master.


Thanks,

Nicolas




> Admin API: Explicit Split Points
> --------------------------------
>
>                 Key: HBASE-3328
>                 URL: https://issues.apache.org/jira/browse/HBASE-3328
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, ipc
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>
> Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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


[jira] Commented: (HBASE-3328) Admin API: Explicit Split Points

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

HBase Review Board commented on HBASE-3328:
-------------------------------------------

Message from: "Nicolas" <ns...@facebook.com>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1281/
-----------------------------------------------------------

(Updated 2010-12-13 15:08:04.932875)


Review request for hbase.


Changes
-------

refactored HRegion::forceSplit() api


Summary
-------

Add the ability to explicitly split an existing region at a user-specified point. Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.


This addresses bug HBASE-3328.
    http://issues.apache.org/jira/browse/HBASE-3328


Diffs (updated)
-----

  src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java 2fba18e 
  src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java 2c109ae 
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java cf9cad0 
  src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 26b4c10 
  src/main/java/org/apache/hadoop/hbase/regionserver/Store.java 4717938 
  src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java 8560d22 

Diff: http://review.cloudera.org/r/1281/diff


Testing
-------

- mvn test -Dtest=TestAdmin
- mvn test (underway)
- cluster testing
Note: this was primarily cluster-tested with 0.89 master.


Thanks,

Nicolas




> Admin API: Explicit Split Points
> --------------------------------
>
>                 Key: HBASE-3328
>                 URL: https://issues.apache.org/jira/browse/HBASE-3328
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, ipc
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>
> Add the ability to explicitly split an existing region at a user-specified point.  Currently, you can disable automated splitting and can presplit a newly-created table at explicit boundaries, but cannot explicitly bound a split of an existing region.

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