2014-09-24 104 views
0

我正嘗試使用sqerop在kerberos集羣上將hive/hdfs數據導出到oracle,但無法提交該作業,而我不知道爲什麼。使用sqoop將配置單元數據導出到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

我認爲你需要使用kinit.Also到Kerberos驗證,你需要做一些配置在蜂巢-site.xml中的Kerberos.Please參考這些linkthese對於那些配置

相關問題