使用sqoop将配置单元数据导出到oracle

时间:2014-09-24 13:16:42

标签: hive kerberos sqoop sqoop2

我试图在kerberos群集上使用sqoop将hive / hdfs数据导出到oracle,但无法提交作业,我不确定原因。

我收到以下错误:

2014-09-23 11:11:05 IST: FAILURE_ON_SUBMIT
Exception: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Authorization (hadoop.security.authorization) is enabled but authentication (hadoop.security.authentication) is configured as simple. Please configure another method like kerberos or digest.
Stack trace: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.Acc essControlException): Authorization (hadoop.security.authorization) is enabled but authentication (hadoop.security.authentication) is configured as simple. Please configure another method like kerberos or digest.
        at org.apache.hadoop.ipc.Client.call(Client.java:1238)
        at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:225)
        at org.apache.hadoop.mapred.$Proxy13.getStagingAreaDir(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83)
        at org.apache.hadoop.mapred.$Proxy13.getStagingAreaDir(Unknown Source)
        at org.apache.hadoop.mapred.JobClient.getStagingAreaDir(JobClient.java:1366)

1 个答案:

答案 0 :(得分:1)

我认为您需要使用kinit对Kerberos进行身份验证。此外,您需要在hive-site.xml中为Kerberos进行一些配置。请参考这些linkthese进行配置