hadoop - Using krb5 API to get credential and use it to access secure HDFS -


so problem access kerberos secured hdfs, using c++, given keytab. somehow must use krb5 apis , keytab authenticate program , furthur access hdfs.

so example, if use krb5_get_init_creds_keytab credentials, krb5_creds. use jni access hdfs. however, i didn't find way use krb5_creds access hdfs.

what know far:

  1. usergroupinformation can read kerberos key cach on filesystem. don't want have key cash on file system. directly use krb5_creds function call
  2. i looked libhdfs -> hdfs.c -> hdfsbuilderconnect, don't see authenticate user using keytab. seems me libhdfs subset of api of hdfs.

any suggestions?


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -