Thanks a bunch Rohini. I didnt add this earlier. Will try this. ~Rajesh.B
On Sat, Jul 7, 2012 at 12:19 PM, Rohini Palaniswamy <[email protected] > wrote: > You need to add hcat credentials(delegation token) to your pig action. > Oozie will get the delegation token from hcat and add it to the credentials > of the Job it launches. > > Example: > <credentials> > <credential name="hcat_auth" type="hcat"> > <property> > <name>hcat.metastore.uri</name> > <value>thrift://<hcathost>:<hcatport></value> > </property> > <property> > <name>hcat.metastore.principal</name> > <value>hcat/<hcathost>@KDCREALM</value> > </property> > </credential> > </credentials> > <action name="somejob" cred="hcat_auth"> > .... > > Regards, > Rohini > > > On Fri, Jul 6, 2012 at 3:58 AM, Rajesh Balamohan < > [email protected] > > wrote: > > > Hi All, > > > > I have security enabled (kerberos) hadoop cluster 0.20.205x with Pig > 0.9.3 > > and Hcatalog 0.4.1 > > > > When I try to run HCatalog with PIG in standalone grunt, it works great. > > > > However, when I embed the same PIG script in oozie, it throws GSS > transport > > exception like the one mentioned in HCATALOG-366. > > > > Does HCatalog 0.4.1 work with oozie in secured mode? > > > > Any pointers would be great help. > > > > -- > > ~Rajesh.B > > > -- ~Rajesh.B
