Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Load Oracle Database Table to HDP Apache Hive?

3597642Dec 4 2017 — edited Jan 24 2018

Hello!!

I'm using ODI 12c and HDP Apache Hive. I got a problem that is Loading Oracle Database table to Apache Hive. I already connected Hive by topology in ODI and Mapping Table from Oracle Database table as a source with Hive as a target table. But while executing it show the error below. So, as a conclusion I want to know the right way to Load Oracle Database Table to Apache Hive.

Thank you with regarding!!

ODI-1298: Serial task "SERIAL-MAP_MAIN- (80)" failed because child task "SERIAL-EU-Dev_Oracle_Hive_UNIT (90)" is in error.

ODI-1298: Serial task "SERIAL-EU-Dev_Oracle_Hive_UNIT (90)" failed because child task "Launch SQOOP Import-LKM SQL to Hive SQOOP-Load AAA_CSC_AP (130)" is in error.

ODI-1590: The execution of the script failed.

Caused By: org.apache.bsf.BSFException: exception from Groovy: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

Load_AAA_CSC_AP: 4: unexpected char: '\' @ line 4, column 59.

   in/sqoop \\-\\-options-file C:\Users\ADM

                                 ^

1 error

  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)

Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

Load_AAA_CSC_AP: 4: unexpected char: '\' @ line 4, column 59.

   in/sqoop \\-\\-options-file C:\Users\ADM

                                 ^

1 error

  at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)

  at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:150)

  at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:120)

  at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:132)

  at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:350)

  at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:139)

  at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:110)

  at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:234)

  at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:168)

  at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:943)

  at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:605)

  at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)

  at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)

  at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)

  at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)

  at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)

  at groovy.lang.GroovyShell.parse(GroovyShell.java:700)

  at groovy.lang.GroovyShell.evaluate(GroovyShell.java:584)

  at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)

  at groovy.lang.GroovyShell.evaluate(GroovyShell.java:604)

  at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:112)

  ... 21 more

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 19 2018
Added on Dec 4 2017
6 comments
553 views