hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11845) HFile tool should implement Tool, disable blockcache by default
Date Wed, 10 Sep 2014 22:51:34 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129293#comment-14129293

stack commented on HBASE-11845:

+1 if this works for sure +    conf.setFloat(HConstants.HFILE_BLOCK_CACHE_SIZE_KEY, 0); (it
didn't seem to work for me last night and I was gong to add an explicit flag... it seemed
to disable the LruBC but if the config had bucketcache configured, we'd instantiate that....)

> 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,
> 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

View raw message