You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by hu...@zte.com.cn on 2018/12/11 02:58:20 UTC
Question about KMS
hello, everyone:
Why there is no Java API for command "hadoop key create" in DistributedFileSystem?
胡晓东 huxiaodong
网管及服务系统部 Network Management & Service System Dept
MP: 17351011636
E: hu.xiaodong@zte.com.cn
答复: Re: Question about KMS
Posted by hu...@zte.com.cn.
Thank you very much!
胡晓东 huxiaodong
网管及服务系统部 Network Management & Service System Dept
南京市紫荆花路68号中兴通讯二期
MP: 17351011636
E: hu.xiaodong@zte.com.cn
原始邮件
发件人: <we...@cloudera.com.INVALID>;
收件人:胡晓东10180976;
抄送人: <us...@hadoop.apache.org>;邓博10070550;张东涛10052804;
日 期 :2018年12月11日 11:52
主 题 :Re: Question about KMS
Hi Xiaodong,
Generally speaking, admin operations are not in DistributedFileSystem class.
Some of the admin APIs may be found in HdfsAdmin (erasure coding, storage policy APIs)
In this case, KeyProvider#createKey() does exactly what you want.
On Mon, Dec 10, 2018 at 6:58 PM <hu...@zte.com.cn> wrote:
hello, everyone:
Why there is no Java API for command "hadoop key create" in DistributedFileSystem?
胡晓东 huxiaodong
网管及服务系统部 Network Management & Service System Dept
MP: 17351011636
E: hu.xiaodong@zte.com.cn
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
For additional commands, e-mail: user-help@hadoop.apache.org
Re: Question about KMS
Posted by Wei-Chiu Chuang <we...@cloudera.com.INVALID>.
Hi Xiaodong,
Generally speaking, admin operations are not in DistributedFileSystem class.
Some of the admin APIs may be found in HdfsAdmin (erasure coding, storage
policy APIs)
In this case, KeyProvider#createKey() does exactly what you want.
On Mon, Dec 10, 2018 at 6:58 PM <hu...@zte.com.cn> wrote:
> hello, everyone:
>
> Why there is no Java API for command "hadoop key create" in
> DistributedFileSystem?
>
>
>
>
>
> 胡晓东 huxiaodong
>
>
> 网管及服务系统部 Network Management & Service System Dept
>
>
>
>
>
> MP: 17351011636
> E: hu.xiaodong@zte.com.cn
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org