[
https://issues.apache.org/jira/browse/HBASE-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261683#comment-14261683
]
Nick Dimiduk commented on HBASE-12775:
--------------------------------------
Looks like it's using a mix of stderr/out and LOG. There could be a followup
JIRA that converts everything to use LOG and also has main use Tool interface.
For this patch, CompressionTest is used as a utility class in Master and
RegionServer, so please do not explicitly call System.exit. Instead throw an
IOException. With that change I'm +1.
> CompressionTest ate my HFile (sigh!)
> ------------------------------------
>
> Key: HBASE-12775
> URL: https://issues.apache.org/jira/browse/HBASE-12775
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.98.9, 0.99.2
> Reporter: Aditya Kishore
> Assignee: Aditya Kishore
> Fix For: 2.0.0
>
> Attachments: HBASE-12775-CompressionTest-ate-my-HFile.patch
>
>
> {{org.apache.hadoop.hbase.util.CompressionTest}} should abort execution if
> the file specified on the command line exists. This will help careless (me)
> or unsuspecting user to not loose data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)