[
https://issues.apache.org/jira/browse/HBASE-5656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239919#comment-13239919
]
Lars Hofhansl commented on HBASE-5656:
--------------------------------------
{code}
+ Algorithm compression = HFile.createReader(fs, hfiles[0],
+ new
CacheConfig(getConf())).getCompressionAlgorithm();
{code}
Do you need to close the reader?
> LoadIncrementalHFiles createTable should detect and set compression algorithm
> -----------------------------------------------------------------------------
>
> Key: HBASE-5656
> URL: https://issues.apache.org/jira/browse/HBASE-5656
> Project: HBase
> Issue Type: Bug
> Components: util
> Affects Versions: 0.92.1
> Reporter: Cosmin Lehene
> Assignee: Cosmin Lehene
> Fix For: 0.92.2, 0.94.0, 0.96.0
>
> Attachments: HBASE-5656-0.92.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> LoadIncrementalHFiles doesn't set compression when creating the the table.
> This can be detected from the files within each family dir.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira