hadoop - Oozie invalid user in secure mode -


configured oozie work hadoop-2.6.0 , enabled kerberos security.

i didn't ticket using kinit command when submit job using below command,

oozie job -oozie http://hostname:11000/oozie -config job.properties -run 

it throws following exception,

error: e0501 : e0501: not perform authorization operation, user: oozie/hostname@example.com not allowed impersonate kumar 

i know how solve above error question is

kumar local account username. configured kerberos, should check user ticket. didn't show me error "no credential found"

if ticket using kinit other user oozie shows same exception local user account name.

is there configure? don't understand concept. following this configure oozie kerberos on secured cluster.

i found answer in oozie authentication

once authentication performed received authentication token cached in user home directory in .oozie-auth-token file owner-only permissions. subsequent requests reuse cached token while valid.

this reason using invalid user getting ticket other user using kinit command.

i resolved below

the use of cache file can disabled invoking oozie cli -doozie.auth.token.cache false= option.

try this.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -