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

Jim Kellerman updated HBASE-483:
--------------------------------

    Attachment: patch.txt

FileSystemVersionException: new exception

HLog: make rollWriter public

HMaster:
- deleteRegion throws exception rather than returning status
- Replace deprecatate FileSystem.listPaths with FileSystem.listStatus
- FSUtils.checkVersion throws exception rather than returning status

HMerge: remove main program and baggage that it carried

HRegion:
- replace closeAndMerge with mergeAdjacent
- add new method merge: merging is now done by copy and compaction
- added debugging method listFiles
- make compactStores public
- added new private method rowIsInRange
- make createHRegion public
- added new public method openHRegion
- make addRegionToMETA public
- deleteRegion throws exceptions rather than return status
- new private method deleteRegion uses FileUtil.fullyDelete

HStoreFile: removed method mergeStoreFiles

FSUtils: checkVersion throws exception rather than returning status, optionally 
prints message to console if upgrade required.

JenkinsHash: now has main program to compute hash of file specified on command 
line

Merge: new file that implements merge utility

MetaUtils: new file that consolidates methods shared by Merge and Migrate 
utilities

Migrate: modified to use MetaUtils

TestHRegion: modified to use HRegion.mergeAdjacent

TestMergeTool: new test case for Merge

TestMigrate: modified to reflect HBase as a subproject rather than contrib



> Merge tool won't merge two overlapping regions
> ----------------------------------------------
>
>                 Key: HBASE-483
>                 URL: https://issues.apache.org/jira/browse/HBASE-483
>             Project: Hadoop HBase
>          Issue Type: Task
>    Affects Versions: 0.1.0
>            Reporter: stack
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.1.0
>
>         Attachments: patch.txt, subset_of_meta.txt
>
>
> hbase-480 adds a merge tool. Seems to work for two adjacent regions in tests 
> but not for the case where we've made two overlapping regions: i.e. both have 
> a start key of 'A' but one regions endkey is less than the end key of the 
> others (See up on Lars cluster hbase-471).  I ran the merge and it made a new 
> region with the right start and end keys but there was nothing in it.
> We need this tool to do fix up when hbase goes awry.

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

Reply via email to