Hadoop, mail # user - Re: SIMPLE authentication is not enabled. Available:[TOKEN] - 2014-03-16, 12:45
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
Re: SIMPLE authentication is not enabled. Available:[TOKEN]
Here's my sample for your reference  ( If you are running unmanaged AM in
client side):

1.  set token in UserGroupInformation
2.  do the registration in the way of UserGroupInformation as following

 try {


      ugi.doAs(new PrivilegedExceptionAction<Void>() {


        public Void run() throws Exception {

          AMRMClient<ContainerRequest> amRMClient = AMRMClient


          amRMClientAsync =

              200, new InnerCallbackHandler());



          amRMClientAsync.registerApplicationMaster("localhost", 0, "url");

          return null;



    } catch (Throwable ex) {


On Sun, Mar 16, 2014 at 8:19 PM, Oleg Zhurakousky <

Best Regards

Jeff Zhang

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB