Actually, there is a little complicated in a Kerberized cluster. Would you 
share more details about your environment for us to better understand? such as 
config file, log file and workflow for Oozie and Sqoop etc.

BTW:
Have you ever tested Sqoop 1 in the command line? The command "kinit" is 
required.


Regards
Richard

From: Vishwakarma, Chhaya [mailto:[email protected]]
Sent: Thursday, June 11, 2015 9:10 PM
To: [email protected]
Subject: RE: Oozie-sqoop action fails in Kerberos enabled hadoop cluster

Sqoop 1.4

From: Zhou, Richard [mailto:[email protected]]
Sent: Friday, June 05, 2015 6:41 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: Oozie-sqoop action fails in Kerberos enabled hadoop cluster

Hey,

Which version of Sqoop are you using?


Regards
Richard

From: Vishwakarma, Chhaya [mailto:[email protected]]
Sent: Thursday, June 04, 2015 5:46 PM
To: [email protected]<mailto:[email protected]>
Subject: Oozie-sqoop action fails in Kerberos enabled hadoop cluster


Hi All,

I have written a Oozie workflow which has a Sqoop action to pull data from 
Teradata and load into Hive table.

I have kerberos enabled hadoop cluster.

When I run Oozie workflwo I get below error
35521 [Thread-34] INFO  org.apache.sqoop.hive.HiveImport  -
35522 [Thread-34] INFO  org.apache.sqoop.hive.HiveImport  - Logging initialized 
using configuration in file:/etc/hive/conf.dist/hive-log4j.properties
Heart beat
Heart beat

98703 [Thread-34] INFO  org.apache.sqoop.hive.HiveImport  - Exception in thread 
"main" java.lang.RuntimeException: 
org.apache.hadoop.ipc.RemoteException(java.io.IOException): Delegation Token 
can be issued only with kerberos or web authentication

98703 [Thread-34] INFO  org.apache.sqoop.hive.HiveImport  -     at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:6280)


I referred beelow link and made required changes as suggested in the 
linkhttps://prodlife.wordpress.com/2013/11/22/using-oozie-in-kerberized-cluster/

I'm missing anything here ?

please suggest

Reply via email to