Running a map reduce job as a different user
问题 I have a web application which interacts with Hadoop. (Cloudera cdh3u6) A particular user operation should launch a new Map Reduce job in the cluster. The cluster is not a secure cluster, but it uses simple group authentication - so if I ssh to it as myself, I can launch MR jobs from the command line. In the web application, I'm using the ToolRunner to run my job: MyMapReduceWrapperClass mr = new MyMapReduceWrapperClass(); ToolRunner.run(mr, null); // inside the run implementation of my