[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-13 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-7213:
--

Attachment: (was: 
TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml)

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.12.patch, 
 7213-2.14.patch, 7213-2.14.patch, 7213-2.4.patch, 7213-2.6.patch, 
 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch, 7213v13.txt


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-13 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-7213:
--

Attachment: TEST-org.apache.hadoop.hbase.client.TestMultiParallel.xml

Test output for TestMultiParallel failure.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.12.patch, 
 7213-2.14.patch, 7213-2.14.patch, 7213-2.4.patch, 7213-2.6.patch, 
 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch, 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.client.TestMultiParallel.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-13 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-7213:
--

Attachment: 7213-15.patch

Patch v15 incorporates Chunhui's suggestion

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-15.patch, 7213-2.10.patch, 7213-2.11.patch, 
 7213-2.12.patch, 7213-2.14.patch, 7213-2.14.patch, 7213-2.4.patch, 
 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch, 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.client.TestMultiParallel.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-12 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-2.14.patch
diff-between-11-and-14.txt

Changed the part where I close the meta hlog, to make it less intrusive. In the 
previous patch, it seemed like I was putting state in FSHLog.closeAndDelete 
where it needed to keep track of directory being empty before deleting. Didn't 
like it so much. There is an API 'close' in FSHLog, I am now calling that from 
HRegionServer (left in a comment there about the reason). 

I have also attached the diff file that does a diff between the earlier 
committed patch (7213-2.11.patch) and the current one, for quick reference on 
what changed.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.12.patch, 
 7213-2.14.patch, 7213-2.4.patch, 7213-2.6.patch, 7213-2.8.patch, 
 7213-2.9.patch, 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 
 7213-in-progress.patch, 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-12 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: (was: diff-between-11-and-14.txt)

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.12.patch, 
 7213-2.14.patch, 7213-2.4.patch, 7213-2.6.patch, 7213-2.8.patch, 
 7213-2.9.patch, 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 
 7213-in-progress.patch, 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-12 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-7213:
--

Attachment: 7213-2.14.patch

Re-attaching patch v14.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.12.patch, 
 7213-2.14.patch, 7213-2.14.patch, 7213-2.4.patch, 7213-2.6.patch, 
 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch, 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-11 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-7213:
-

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Committed to trunk.  Thanks for the patch DD.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.4.patch, 
 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-11 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-7213:
-

Release Note: The regionserver carrying .META. region will now write two 
WALs; the usual one w/ all edits and then a special one with a .meta. suffix 
into which all edits for .META. region go.  These files will be recovered first 
on server crash.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.4.patch, 
 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-11 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-7213:
-

Attachment: 7213v13.txt

Here is what I committed last night.  I fixed a long line IIRC.  Putting this 
up in case we have to rollback.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.4.patch, 
 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch, 7213v13.txt


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-11 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-7213:
--

Attachment: 
TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.4.patch, 
 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch, 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-11 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-2.12.patch

Okay this patch fixes the issue discovered by the tests. Specifically, in the 
previous iteration, I missed the closeWAL for the meta hlog when a regionserver 
is shutdown gracefully. I also needed to add some checks around deletion of the 
log directory in FSHLog.closeAndDelete method. I manually verified that the 
failing tests in https://builds.apache.org/job/HBase-TRUNK/3732/testReport/ 
passes with this patch.

This patch also fixes the 100+ line length problem.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.12.patch, 
 7213-2.4.patch, 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 
 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 7213-in-progress.patch, 
 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-11 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Status: Patch Available  (was: Reopened)

Let's try hudson.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.12.patch, 
 7213-2.4.patch, 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 
 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 7213-in-progress.patch, 
 7213v13.txt, 
 TEST-org.apache.hadoop.hbase.catalog.TestCatalogTrackerOnCluster.xml


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-10 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-2.10.patch

Rebased (again). Also I fixed a bug in HMaster.java. Some of the unit test 
failures were legit and were caused by the bug.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.4.patch, 7213-2.6.patch, 
 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-10 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-2.11.patch

Hopefully my last rebase :-)

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.10.patch, 7213-2.11.patch, 7213-2.4.patch, 
 7213-2.6.patch, 7213-2.8.patch, 7213-2.9.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2013-01-09 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-2.9.patch

Thanks for looking, [~yuzhih...@gmail.com]. This is the rebased patch.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.4.patch, 7213-2.6.patch, 7213-2.8.patch, 
 7213-2.9.patch, 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 
 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2012-12-05 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-2.4.patch

Okay, this patch addresses most of the comments. The thing that I have left 
here not-handled is the (corner) case of the RS carrying the -root- region 
dying before its edits are persisted (splitMetaLog doesn't take into account 
-root- and the -root- edits are not written to a separate file either). The 
reason is HBASE-3171 is removing the -root- table/region and so not much point 
in trying to address -root- here .. 
I have added an API getWAL(HRegionInfo) in RegionServerServices, and when the 
argument is null, the default/common WAL is returned (imagine a WAL for meta, 
and maybe some other regions, and a common WAL for everything else).
I have broken up the ServerShutdownHandler.process into two parts and moved 
some code into MetaServerShutdownHandler.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
 Fix For: 0.96.0

 Attachments: 7213-2.4.patch, 7213-in-progress.2.2.patch, 
 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2012-12-05 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-7213:
-

Priority: Critical  (was: Major)

Marking critical so we don't forget it, so it goes in.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.4.patch, 7213-2.6.patch, 
 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2012-12-05 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-2.8.patch

bq. I can remove this on commit:

Oops.. apologies for missing the removal. This patch removes the interface 
method.

bq. This looks new (and important):

Yeah (smile). I noticed it recently..

bq. Lets wait some time on hbase-3171. If it doesn't show up soon, we'll commit 
this.

Okay. That makes sense. Thanks folks for reviewing the patch and providing good 
feedback.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
Priority: Critical
 Fix For: 0.96.0

 Attachments: 7213-2.4.patch, 7213-2.6.patch, 7213-2.8.patch, 
 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2012-12-03 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-in-progress.2.2.patch

Addresses most of the comments..

One thing I didn't change is 
bq. The check for ROOT region above is for assigning ROOT ..

In HBASE-3171, there is work underway to remove -ROOT- .. So not much gain here 
to address things to do with how the root region is handled. I have left it as 
such (with a known and a very corner case that if the server holding the root's 
region crashes before the region's edits are persisted, the assignment of the 
region might be an issue).

Manual tests seemed to indicate things are working well. I'll start the full 
set of unit tests now. 

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
 Attachments: 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 
 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2012-12-03 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Fix Version/s: 0.96.0
   Status: Patch Available  (was: Open)

Trying hadoopqa.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
 Fix For: 0.96.0

 Attachments: 7213-in-progress.2.2.patch, 7213-in-progress.2.patch, 
 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2012-12-02 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-in-progress.2.patch

A more complete version. Testing in progress. This patch adds APIs to do with 
META in some classes (as opposed to a flag, as suggested by [~stack] earlier). 
The logs for META region is written in a special file ending with .META. The 
SSH's process method treats META hlogs with higher priority and splits them 
first, and as soon as the split is done, tries to assign them, and then goes on 
to split other regions / assignments. I have not made changes to how the -ROOT- 
region is handled, and the reason is that it is very very likely the case that 
the -ROOT-'s region's edits are already persisted on disk (and in case folks 
feel that -ROOT- should be handled as well, it probably can be done in a follow 
up..).

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
 Attachments: 7213-in-progress.2.patch, 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7213) Have HLog files for .META. edits only

2012-11-27 Thread Devaraj Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7213:
---

Attachment: 7213-in-progress.patch

Here is a rough, currently work in progress, patch. At a high level:
1. There is a new MetaServices class that currently provides the services for 
creating/getting meta hlog.
2. OpenMetaHandler invokes the method for creating the meta hlog, and also 
makes sure that the opened region gets the right hlog instance.
3. The meta hlog file is created in the same root hlog directory, but is 
suffixed with .META.

I still need to plumb through the log splitting code, etc. But I thought I'll 
post what I have to see if there is any immediate feedback.

 Have HLog files for .META. edits only
 -

 Key: HBASE-7213
 URL: https://issues.apache.org/jira/browse/HBASE-7213
 Project: HBase
  Issue Type: Improvement
  Components: master, regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
 Attachments: 7213-in-progress.patch


 Over on HBASE-6774, there is a discussion on separating out the edits for 
 .META. regions from the other regions' edits w.r.t where the edits are 
 written. This jira is to track an implementation of that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira