You need to do authentication using “kinit” (in linux) for the user you want to use. Then you can run your application.
For more information, please refer to: http://hadoop.apache.org/docs/r2.5.0/hadoop-project-dist/hadoop-common/SecureMode.html Regards, Yi Liu From: ch huang [mailto:[email protected]] Sent: Tuesday, September 16, 2014 2:39 PM To: [email protected] Subject: issue about let a common user run application on YARN (with kerberose) hi,maillist: i use kerberos to do auth for my hadoop cluster, i have a 3-node cluster(HDFS & YARN) z1.example.com<http://z1.example.com> (NN,RM) z2.example.com<http://z2.example.com> (NM,DN) z3.example.com<http://z3.example.com> (NM,DN,proxyserver,historyserver) i create principal for NN&DN hdfs/[email protected]<mailto:[email protected]> hdfs/[email protected]<mailto:[email protected]> hdfs/[email protected]<mailto:[email protected]> and for RM&NM yarn/[email protected]<mailto:[email protected]> yarn/[email protected]<mailto:[email protected]> yarn/[email protected]<mailto:[email protected]> for mapreduce history server mapred/[email protected]<mailto:[email protected]> mapred/[email protected]<mailto:[email protected]> mapred/[email protected]<mailto:[email protected]> for http principals in SPNEGO (instead of kerberos SSL for HTTP transactions) HTTP/[email protected]<mailto:[email protected]> HTTP/[email protected]<mailto:[email protected]> HTTP/[email protected]<mailto:[email protected]> and i can start cluster (HDFS & YARN) successfully but i do not know how to let a common user to run application on yarn ,(i am not know kerberos),any one can help?
