Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-19280

Move HFileWriterImpl.compressionByName(String name) to some utility class

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This method can be moved to some utility (related jira PHOENIX-4368).

      public static Compression.Algorithm compressionByName(String algoName) {
          if (algoName == null)
            return HFile.DEFAULT_COMPRESSION_ALGORITHM;
          return Compression.getCompressionAlgorithmByName(algoName);
        }
      

      FYI, Josh Elser

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ankit@apache.org Ankit Singhal

            Dates

              Created:
              Updated:

              Slack

                Issue deployment