处理语句时出错:/usr/lib/hive/lib/hive-contrib.jar不存在

时间:2019-05-31 14:59:37

标签: hadoop hive bigdata

我有三个用于Hive,Hadoop和Orcale Data Integrator的虚拟机。每个人都有自己的数据库。我的目标是使用Oracle Data Integrator连接所有组件并进行从Hive数据库到Oracle数据库的映射。

所以我使用的是Oracle Data Integrator,我想将Hive的数据映射到Oracle数据库,但是在按下播放按钮后,我遇到了以下异常:

`ODI-1590: The execution of the script failed. 
Caused By: org.apache.bsf.BSFException: exception from Groovy: java.sql.SQLException: [FMWGEN][Hive JDBC Driver][Hive]Error while processing statement: /usr/lib/hive/lib/hive-contrib.jar does not exist
at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:114)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.
execInBSFEngine(SnpScriptingInterpretor.java:396)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.
exec(SnpScriptingInterpretor.java:247)
at oracle.odi.runtime.agent.execution.interpreter.
SessionTaskScriptingInterpretor.scripting(SessionTaskScriptingInterpretor.java:190)
at oracle.odi.runtime.agent.execution.SessionTask.scripting
(SessionTask.java:105)
at oracle.odi.runtime.agent.execution.cmd.
ScriptingExecutor.execute(ScriptingExecutor.java:49)
at oracle.odi.runtime.agent.execution.cmd.
ScriptingExecutor.execute(ScriptingExecutor.java:21) 
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.
handleTask(TaskExecutionHandler.java:52)
at oracle.odi.runtime.agent.execution.SessionTask.
processTask(SessionTask.java:206)
at oracle.odi.runtime.agent.execution.SessionTask.
doExecuteTask(SessionTask.java:117)
at oracle.odi.runtime.agent.execution.AbstractSessionTask.
execute(AbstractSessionTask.java:886)
at oracle.odi.runtime.agent.execution.
SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2225)
at oracle.odi.runtime.agent.execution.SessionExecutor.
executeSession(SessionExecutor.java:610)
at oracle.odi.runtime.agent.processor.
TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:718)
at oracle.odi.runtime.agent.processor.
TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:611)
at oracle.odi.core.persistence.dwgobject.
DwgObjectTemplate.execute(DwgObjectTemplate.java:203)
at oracle.odi.runtime.agent.processor.
TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:800)
at oracle.odi.runtime.agent.processor.impl.
StartSessRequestProcessor.access$1400(StartSessRequestProcessor.java:74)
at oracle.odi.runtime.agent.processor.impl.
StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:702)
at oracle.odi.runtime.agent.processor.task.
AgentTask.execute(AgentTask.java:180)
at oracle.odi.runtime.agent.support.
DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:108)
at java.lang.Thread.run(Thread.java:748)`

0 个答案:

没有答案