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

Andrew Wang commented on HDFS-6954:
-----------------------------------

Hey Charles, could you use slf4j style "{}" template strings to avoid string 
construction in the LOG calls? I haven't checked if it's necessary, but 
converting all of CryptoCodec to do this would be nice.

> With crypto, no native lib systems are too verbose
> --------------------------------------------------
>
>                 Key: HDFS-6954
>                 URL: https://issues.apache.org/jira/browse/HDFS-6954
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: encryption
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: Charles Lamb
>         Attachments: HDFS-6954.001.patch, HDFS-6954.002.patch
>
>
> Running commands on a machine without a native library results in:
> {code}
> $ bin/hdfs dfs -put /etc/hosts /tmp
> 14/08/27 07:16:10 WARN util.NativeCodeLoader: Unable to load native-hadoop 
> library for your platform... using builtin-java classes where applicable
> 14/08/27 07:16:11 WARN crypto.CryptoCodec: Crypto codec 
> org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec is not available.
> 14/08/27 07:16:11 INFO hdfs.DFSClient: No KeyProvider found.
> {code}
> This is way too much.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to