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

Artem Ervits commented on HBASE-22561:
--------------------------------------

[~openinx] spoke with [~elserj] and tend to agree that check for rootDir needs 
to happen in the jsp not in the utility. Moved that code block to 
storeFile.jsp, attaching images for validation. I will work on a test case for 
the webpage and attaching .v07 patch for posterity as well as anything I've 
missed.

> 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, 2.2.0, 2.3.0, 2.1.5
>            Reporter: Artem Ervits
>            Assignee: Artem Ervits
>            Priority: Minor
>         Attachments: HBASE-22561.v06.patch, HBASE-22561.v07.patch
>
>
> 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
(v7.6.3#76005)

Reply via email to