I am trying to run a graph from command line. The graph uses PARALLEL_READER component to read some csv files. I followed following steps:
1. Set CLOVER_HOME
2. navigate to project folder
3. run graph
It throws following exception:
Unknown component: PARALLEL_READER class: PARALLEL_READER
Inner exception: org.jetel.exception.XMLConfigurationException
at org.jetel.graph.TransformationGraphXMLReaderWriter.throwXMLConfigurationException(TransformationGraphXMLReaderWriter.java:1096)
at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiatePhases(TransformationGraphXMLReaderWriter.java:528)
at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:412)
at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:317)
at org.jetel.graph.TransformationGraphXMLReaderWriter.loadGraph(TransformationGraphXMLReaderWriter.java:247)
at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraphSync(PrimitiveAuthorityProxy.java:218)
at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:503)
at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:400)
at org.jetel.component.RunGraph.execute(RunGraph.java:281)
at org.jetel.graph.Node.run(Node.java:506)
at java.lang.Thread.run(Thread.java:724)
Caused by: org.jetel.exception.XMLConfigurationException
at org.jetel.graph.TransformationGraphXMLReaderWriter.throwXMLConfigurationException(TransformationGraphXMLReaderWriter.java:1096)
at org.jetel.graph.TransformationGraphXMLReaderWriter.throwXMLConfigurationException(TransformationGraphXMLReaderWriter.java:1091)
at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateNodes(TransformationGraphXMLReaderWriter.java:581)
at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiatePhases(TransformationGraphXMLReaderWriter.java:522)
… 9 more
Caused by: java.lang.RuntimeException: Unknown component: PARALLEL_READER class: PARALLEL_READER
at org.jetel.component.ComponentFactory.getComponentClass(ComponentFactory.java:111)
at org.jetel.component.ComponentFactory.createComponent(ComponentFactory.java:128)
at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateNodes(TransformationGraphXMLReaderWriter.java:566)
… 10 more
Caused by: java.lang.ClassNotFoundException: PARALLEL_READER
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.jetel.component.ComponentFactory.getComponentClass(ComponentFactory.java:101)
… 12 more
Any ideas?
Prashant