Hello Rahul, Hadoop processes, including the map and reduce tasks of a MapReduce job, handle Kerberos authentication transparently after the user submitting the job runs kinit to obtain a ticket. MapReduce jobs do not require any particular code changes to run with Kerberos. You can take a MapReduce job that was coded and tested in an unsecured cluster and then submit it to a secured cluster without changing any of the code.
Chris Nauroth Hortonworks http://hortonworks.com/ On 2/23/15, 7:06 AM, "Rahul Shrivastava" <rhshr...@gmail.com> wrote: >I am new to Hadoop Authentication ( Kerberos, Simple Authentication). I >have been doing reading for security aspects of Hadoop at >http://blog.godatadriven.com/kerberos_kdc_install.html and >http://blog.cloudera.com/blog/2012/03/authorization-and-authentication-in- >hadoop/. >Can someone provide me a Java code example of a map -reduce program that >uses Kerberos. I writeup that does a walk through of how to setup a >map-reduce program using kerberos would be helpful. Here I would not need >how to do setup of kerberos but rather how to setup a map-reduce program >that uses kerberos. > >thanks >Rahul