org.apache.bsf.BSFException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error: ODI SQL to HIVE
    via by HardikGupta,
  • Loading data from MS Sql to Oracle.
    via by 881812,
  • OdiOsCommand Failure
    via by Papai,
  • Open Discussion - DW TeamDW Team
    via by Unknown author,
  • Send mail in ODI using Gmail CredentialsDW Team
    via by Unknown author,
    • 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 ]. at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:111) at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:353) at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:216) at oracle.odi.runtime.agent.execution.interpreter.SessionTaskScriptingInterpretor.scripting(SessionTaskScriptingInterpretor.java:171) 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:2227) at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:607) 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:745) Caused by: com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 127. Error details are [sh: /bin/sqoop: No such file or directory ]. at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:518) at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:219) at com.sunopsis.dwg.function.SnpsFunction$execute$0.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at _.run(_:23) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:570) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:608) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589) at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:109) ... 21 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    4 more bugmates