[
https://issues.apache.org/jira/browse/HBASE-22561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159851#comment-17159851
]
Wellington Chevreuil commented on HBASE-22561:
----------------------------------------------
{quote}see that hbase-1.2 is looking for a different hbase.rootdir despite
configured as /hbase{quote}
As pointed out on "fix versions", this patch was never applied to any base 1
branches.
{quote}Same for hbase 2.1{quote}
Which specific minor version of 2.1? This fix is present from 2.1.6 onwards
only.
> modify HFilePrettyPrinter to accept non-hbase.rootdir directories
> -----------------------------------------------------------------
>
> Key: HBASE-22561
> URL: https://issues.apache.org/jira/browse/HBASE-22561
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0-alpha-1, 2.2.0, 2.3.0, 2.1.5
> Reporter: Artem Ervits
> Assignee: Artem Ervits
> Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.0, 2.0.6, 2.2.1, 2.1.6
>
> Attachments: HBASE-22561.v06.patch, HBASE-22561.v07.patch,
> HBASE-22561.v11.patch, HBASE-22561.v12.patch, non_root_dir.png, root_dir.png
>
>
> Today {{hbase hfile}} utility accepts only _hbase.rootDir_ directory. It is
> more useful to pass other locations with HFile as well.
> {code:java}
> hbase org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter hfileoutput
> ...
> ERROR, file (hfileoutput) is not in HBase's root directory
> (hdfs://hadoop.example.com:9000/apps/hbase/)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)