org.apache.bsf.BSFException: exception from Groovy: com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1. Error details are [].

Oracle Community | HardikGupta | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error: ODI SQL to HIVE

    Oracle Community | 10 months ago | HardikGupta
    org.apache.bsf.BSFException: exception from Groovy: com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1. Error details are [].
  2. 0

    Error while loading data from SQL to HIVE using ODI 12c

    Oracle Community | 10 months ago | HardikGupta
    org.apache.bsf.BSFException: exception from Groovy: com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 127. Error details are [sh: /bin/sqoop: No such file or directory ].

    Root Cause Analysis

    1. com.sunopsis.dwg.function.SnpsFunctionBaseException

      ODI-30038: OS command returned 1. Error details are [].

      at com.sunopsis.dwg.tools.OSCommand.actionExecute()
    2. com.sunopsis.dwg
      SnpsFunction$execute$0.call
      1. com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:518)
      2. com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:219)
      3. com.sunopsis.dwg.function.SnpsFunction$execute$0.call(Unknown Source)
      3 frames
    3. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
      3 frames
    4. Unknown
      _.run
      1. _.run(_:23)
      1 frame
    5. Groovy
      GroovyEngine.exec
      1. groovy.lang.GroovyShell.evaluate(GroovyShell.java:570)
      2. groovy.lang.GroovyShell.evaluate(GroovyShell.java:608)
      3. groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
      4. org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:109)
      4 frames
    6. com.sunopsis.dwg
      SnpScriptingInterpretor.exec
      1. com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:353)
      2. com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:216)
      2 frames
    7. oracle.odi.runtime
      TaskExecutorAgentRequestProcessor$1.doAction
      1. oracle.odi.runtime.agent.execution.interpreter.SessionTaskScriptingInterpretor.scripting(SessionTaskScriptingInterpretor.java:171)
      2. oracle.odi.runtime.agent.execution.SessionTask.scripting(SessionTask.java:105)
      3. oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:49)
      4. oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:21)
      5. oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:52)
      6. oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:206)
      7. oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:117)
      8. oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:886)
      9. oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2227)
      10. oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:607)
      11. oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:718)
      12. oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:611)
      12 frames
    8. oracle.odi.core
      DwgObjectTemplate.execute
      1. oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)
      1 frame
    9. oracle.odi.runtime
      DefaultAgentTaskExecutor$2.run
      1. oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:800)
      2. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$1400(StartSessRequestProcessor.java:74)
      3. oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:702)
      4. oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:180)
      5. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:108)
      5 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame