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

Allen Wittenauer commented on HDFS-6954:
----------------------------------------

distcp is even worse:

{code}
$ bin/hadoop distcp /tmp /1
14/08/27 07:23:52 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
14/08/27 07:23:52 WARN crypto.CryptoCodec: Crypto codec 
org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec is not available.
14/08/27 07:23:52 INFO hdfs.DFSClient: No KeyProvider found.
14/08/27 07:23:52 INFO tools.DistCp: Input Options: 
DistCpOptions{atomicCommit=false, syncFolder=false, deleteMissing=false, 
ignoreFailures=false, maxMaps=20, sslConfigurationFile='null', 
copyStrategy='uniformsize', sourceFileListing=null, sourcePaths=[/tmp], 
targetPath=/1, targetPathExists=false, preserveRawXattrs=false}
14/08/27 07:23:53 INFO client.RMProxy: Connecting to ResourceManager at 
aw-mbp-work.local/192.168.101.138:8032
14/08/27 07:23:53 WARN crypto.CryptoCodec: Crypto codec 
org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec is not available.
14/08/27 07:23:53 INFO hdfs.DFSClient: No KeyProvider found.
14/08/27 07:23:53 WARN crypto.CryptoCodec: Crypto codec 
org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec is not available.
14/08/27 07:23:53 INFO Configuration.deprecation: io.sort.mb is deprecated. 
Instead, use mapreduce.task.io.sort.mb
14/08/27 07:23:53 INFO Configuration.deprecation: io.sort.factor is deprecated. 
Instead, use mapreduce.task.io.sort.factor
14/08/27 07:23:53 INFO client.RMProxy: Connecting to ResourceManager at 
aw-mbp-work.local/192.168.101.138:8032
14/08/27 07:23:53 WARN crypto.CryptoCodec: Crypto codec 
org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec is not available.
14/08/27 07:23:53 INFO hdfs.DFSClient: No KeyProvider found.
14/08/27 07:23:53 WARN crypto.CryptoCodec: Crypto codec 
org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec is not available.
...
{code}

> 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
>            Reporter: Allen Wittenauer
>
> 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