Question about KMS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about KMS

hu.xiaodong
hello, everyone:


    Why there is no Java API for command  "hadoop key create" in DistributedFileSystem?




















胡晓东 huxiaodong






网管及服务系统部 Network Management & Service System Dept










                         
MP: 17351011636                                    
E: [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Question about KMS

Wei-Chiu Chuang-3
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 <[hidden email]> 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: [hidden email]                               

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

答复: Re: Question about KMS

hu.xiaodong
Thank you very much!























胡晓东 huxiaodong






网管及服务系统部 Network Management & Service System Dept










南京市紫荆花路68号中兴通讯二期                            
MP: 17351011636                                    
E: [hidden email]                              






原始邮件




发件人: <[hidden email]>;
收件人:胡晓东10180976;
抄送人: <[hidden email]>;邓博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 <[hidden email]> 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: [hidden email]                              




 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]