Created 11-08-2016 06:59 PM
Hi,
I am having issues while creating an encryption zone using the HDFS super-user (hdfs). I can list leys just fine but when I exec the create zone command I get:
[hdfs@myhost ~]$ hdfs crypto -createZone -keyName ezkey2 -path /enc_zone2/ 16/11/08 18:46:41 WARN retry.RetryInvocationHandler: Exception while invoking ClientNamenodeProtocolTranslatorPB.createEncryptionZone over sm04.atlnp1/10.121.41.198:8020. Not retrying because try once and fail. org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): cannot find /enc_zone2
Any idea what may be causing this?
Thanks,
Sadek
Created 11-08-2016 07:20 PM
Did you created encrypted zone as per doc below -
hdfs dfs -mkdir /zone_encr
Can you paste output of below command -
$hadoop key list -metadata $hdfs crypto -listZones $hdfs dfs -ls -R /enc_zone2 I suspect the sub-directory structure is not created hence its giving error.
Created 11-08-2016 07:18 PM
Can you trying creating an encryption zone on a path which already exists on HDFS ? The error says that it cannot find /enc_zone2. Trying doing "hdfs dfs -mkdir -p /enc_zone2 and then execute this command.
Created 11-08-2016 07:20 PM
Did you created encrypted zone as per doc below -
hdfs dfs -mkdir /zone_encr
Can you paste output of below command -
$hadoop key list -metadata $hdfs crypto -listZones $hdfs dfs -ls -R /enc_zone2 I suspect the sub-directory structure is not created hence its giving error.
Created 11-08-2016 07:20 PM
Please do check Ranger-HDFS repository policy also for hdfs user in Ranger webui.
Created 11-09-2016 06:26 PM
The provisioning script should have created it but it hadn't. Thanks!
Created 05-18-2019 08:09 AM
Cryptocurrency blockchain system is based on encrypted code system. All crypto platform is logically encrypted with algorithms. Now am looking for Zcash euro .