You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2018/03/02 02:16:00 UTC
[jira] [Updated] (HBASE-19280) Move
HFileWriterImpl.compressionByName(String name) to some utility class
[ https://issues.apache.org/jira/browse/HBASE-19280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-19280:
--------------------------
Fix Version/s: (was: 2.0.0)
> Move HFileWriterImpl.compressionByName(String name) to some utility class
> -------------------------------------------------------------------------
>
> Key: HBASE-19280
> URL: https://issues.apache.org/jira/browse/HBASE-19280
> Project: HBase
> Issue Type: Bug
> Reporter: Ankit Singhal
> Priority: Trivial
>
> This method can be moved to some utility (related jira PHOENIX-4368).
> {code}
> public static Compression.Algorithm compressionByName(String algoName) {
> if (algoName == null)
> return HFile.DEFAULT_COMPRESSION_ALGORITHM;
> return Compression.getCompressionAlgorithmByName(algoName);
> }
> {code}
> FYI, [~elserj]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)