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

Lars Hofhansl commented on HBASE-5656:
--------------------------------------

Hmm... My thought was "what if not all imported files have the same compression 
setting", but I guess in that case we're doomed anyway.
The HCD setting is only used to newly created files (flushes, compactions). So 
we should honor the default setting, no?

Let's do your approach, wanna make a quick patch?

                
> 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: 5656-simple.txt, HBASE-5656-0.92.patch, 
> 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

        

Reply via email to