[
https://issues.apache.org/jira/browse/HBASE-11845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated HBASE-11845:
---------------------------------
Attachment: HBASE-11845.01.patch
HBASE-11845.01-0.98.patch
HFile.main is preserved. master patch applies cleanly to branch-1.
I assume +1 carries forward, will commit later this afternoon unless objections.
> HFile tool should implement Tool, disable blockcache by default
> ---------------------------------------------------------------
>
> Key: HBASE-11845
> URL: https://issues.apache.org/jira/browse/HBASE-11845
> Project: HBase
> Issue Type: Improvement
> Components: HFile
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Priority: Minor
> Fix For: 2.0.0, 0.98.7, 0.99.1
>
> Attachments: HBASE-11845.00-0.98.patch, HBASE-11845.00.patch,
> HBASE-11845.01-0.98.patch, HBASE-11845.01.patch
>
>
> I tried using bin/hbase hfile in a memory-constrained environment. It crashed
> while trying to instantiate a blockcache. Went to override the configuration
> and found I couldn't.
> Refactor HFile to remove main(), put implementation entirely in
> HFilePrettyPrinter. Said class now extends Configured and implements Tool so
> configs can be overridden on cli. Also disabled blockcache by default.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)