Oracle Data Integrator SQL to HDFS IKM returns error -


i using odi (12.1.3.0.0). created topology oracle db ok , created topology hdfs using file technology think problem in.

dataserver hdfs, left jdbc driver empty, , filled jdbc url hdfs://remotehostname:port

physical schema hdfs, filled both schema , work schema /my/path

then created logical schema , model. after created datastore under model these definitions. name: testname resource name: testfile.txt file format: fixed

after these, created project , mapping under project.

mapping

finally when run mapping see these errors:

odi-1217: session oracle2hdfsmapping_physical_sess (15) fails return code odi-1298. odi-1226: step physical_step fails after 1 attempt(s). odi-1240: flow physical_step fails while performing add execute sqoop script-ikm sql hdfs file (sqoop)- operation. flow loads target table null. odi-1298: serial task "serial-map_main- (10)" failed because child task "serial-eu-gguser_unit (20)" in error. odi-1298: serial task "serial-eu-gguser_unit (20)" failed because child task "add execute sqoop script-ikm sql hdfs file (sqoop)- (40)" in error. caused by: java.io.ioexception: cannot run program "chmod": createprocess error=2, system cannot find file specified     @ java.lang.processbuilder.start(processbuilder.java:1047)     @ java.lang.runtime.exec(runtime.java:617)     @ java.lang.runtime.exec(runtime.java:450)     @ java.lang.runtime.exec(runtime.java:347)     @ oracle.odi.runtime.agent.execution.cmd.oscommandexecutor.execute(oscommandexecutor.java:54)     @ oracle.odi.runtime.agent.execution.cmd.oscommandexecutor.execute(oscommandexecutor.java:29)     @ oracle.odi.runtime.agent.execution.taskexecutionhandler.handletask(taskexecutionhandler.java:52)     @ oracle.odi.runtime.agent.execution.sessiontask.processtask(sessiontask.java:203)     @ oracle.odi.runtime.agent.execution.sessiontask.doexecutetask(sessiontask.java:114)     @ oracle.odi.runtime.agent.execution.abstractsessiontask.execute(abstractsessiontask.java:886)     @ oracle.odi.runtime.agent.execution.sessionexecutor$serialtrain.runtasks(sessionexecutor.java:2198)     @ oracle.odi.runtime.agent.execution.sessionexecutor.executesession(sessionexecutor.java:591)     @ oracle.odi.runtime.agent.processor.taskexecutoragentrequestprocessor$1.doaction(taskexecutoragentrequestprocessor.java:718)     @ oracle.odi.runtime.agent.processor.taskexecutoragentrequestprocessor$1.doaction(taskexecutoragentrequestprocessor.java:611)     @ oracle.odi.core.persistence.dwgobject.dwgobjecttemplate.execute(dwgobjecttemplate.java:203)     @ oracle.odi.runtime.agent.processor.taskexecutoragentrequestprocessor.doprocessstartagenttask(taskexecutoragentrequestprocessor.java:800)     @ oracle.odi.runtime.agent.processor.impl.startsessrequestprocessor.access$1400(startsessrequestprocessor.java:74)     @ oracle.odi.runtime.agent.processor.impl.startsessrequestprocessor$startsesstask.doexecute(startsessrequestprocessor.java:702)     @ oracle.odi.runtime.agent.processor.task.agenttask.execute(agenttask.java:180)     @ oracle.odi.runtime.agent.support.defaultagenttaskexecutor$2.run(defaultagenttaskexecutor.java:108)     @ java.lang.thread.run(thread.java:745) caused by: java.io.ioexception: createprocess error=2, system cannot find file specified     @ java.lang.processimpl.create(native method)     @ java.lang.processimpl.<init>(processimpl.java:385)     @ java.lang.processimpl.start(processimpl.java:136)     @ java.lang.processbuilder.start(processbuilder.java:1028)     ... 20 more 

i wonder did wrong?

for file datastore, need define attributes (columns) opening datastore , going on attribute tab. if file exists, can reverse-engineer attributes , rename them , change datatype if needed.

the error message received second task mentions file (generated in fist task) not exist. there might problem first task, due missing attributes in datastore.

here detailed article sql hdfs file (sqoop) km written odi a-team : http://www.ateam-oracle.com/importing-data-from-sql-databases-into-hadoop-with-sqoop-and-oracle-data-integrator-odi/


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -