If the cluster is secured, it will demand kerberos credentials. There
is no way to bypass this requirement (and it wouldn't make sense to
allow such a thing either).

If you do have a keytab file, and are wishing to automate the login by
knowing the keytab path, you can use the SecurityUtil.login(…) API:
http://hadoop.apache.org/docs/stable/api/org/apache/hadoop/security/SecurityUtil.html#login(org.apache.hadoop.conf.Configuration,%20java.lang.String,%20java.lang.String)

On Wed, Nov 28, 2012 at 2:27 PM, Oh Seok Keun <[email protected]> wrote:
> HI.
>
> I set my hadoop cluster to security enable using kerberos.
> Can I login to the hadoop cluster without execute kinit command?
> I can't find hadoop api that  I use kerberos principal (manually set
> username and password) instead cached ticket.
> How can I use hadoop api for that.
>
> thanks.
>
> --
> -----------------------------
> [email protected]
> H.P.: 010-2534-6795
> ------------------------------



-- 
Harsh J

Reply via email to