This discussion is archived
1 Reply Latest reply: Jan 29, 2013 7:33 AM by Kristen G RSS

Clover command line issue

799594 Newbie
Currently Being Moderated
Hi all,
I am new on Endeca, I am now facing an issue when trying to run "./clover" command line which is located in /home/oracle/Endeca/Discovery/2.3.0/Integrator/plugins/com.cloveretl.gui_3.2.1/lib/bin
I am using Endeca 2.3.0. and I am executing it like the following:

./clover runGraph /home/oracle/Endeca/workspace/MFGProject/graph/RunAllGraphs.grf

that graph is in charge of running several graphs. The error I am getting is the following:

INFO [main] - [Clover] phase: 1 initialized successfully.
INFO [main] - [Clover] Initializing phase: 2
DEBUG [main] - initializing edges:
DEBUG [main] - all edges initialized successfully...
DEBUG [main] - initializing nodes:
DEBUG [main] -      LOAD_CONFIGURATIONS ...OK
DEBUG [main] -      LOAD_VIEW_DEFS ...OK
INFO [main] - [Clover] phase: 2 initialized successfully.
INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1355956989516_0
DEBUG [WatchDog] - Graph properties: {CONN_DIR=${PROJECT}/conn, SEQ_DIR=${PROJECT}/seq, DATAOUT_DIR=${PROJECT}/data-out, ENDECA_SERVER_HOST=localhost, GRAPH_DIR=${PROJECT}/graph, PROJECT=/home/oracle/Endeca/workspace/MFGProject, TRANS_DIR=${PROJECT}/trans, DATATMP_DIR=${PROJECT}/data-tmp, DATA_STORE_NAME=devices_ds, ENDECA_SERVER_PORT=7770, META_DIR=${PROJECT}/meta, MULTIASSIGN_DELIMITER=, DATAIN_DIR=${PROJECT}/data-in, LOOKUP_DIR=${PROJECT}/lookup, CONFIGIN_DIR=${PROJECT}/config-in}
DEBUG [WatchDog] - Graph runtime context: {verboseMode=false, batchMode=true, runtimeClassPath=[], additionProperties={}, skipCheckConfig=false, trackingInterval=5000, synchronizedRun=false, compileClassPath=[], waitForJMXClient=false, password=null, contextURL=null, debugDirectory=/tmp, transactionMode=false, useJMX=true, debugMode=true}
INFO [WatchDog] - Starting up all nodes in phase [0]
DEBUG [WatchDog] - GET_VIEWS_AND_RESET_DS ... starting
DEBUG [WatchDog] - All components are ready to start.
INFO [WatchDog] - Successfully started all nodes in phase!
INFO [GET_VIEWS_AND_RESET_DS_0] - Running graph /home/oracle/Endeca/workspace/MFGProject/graph/1-beforeLoad/GetViewsAndResetDataStore.grf in the same instance.
ERROR [GET_VIEWS_AND_RESET_DS_0] - Unknown component: ENDECA_RESET_DATA_STORE class: ENDECA_RESET_DATA_STORE
java.lang.ClassNotFoundException: ENDECA_RESET_DATA_STORE
     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:169)
     at org.jetel.component.ComponentFactory.getComponentClass(ComponentFactory.java:97)
     at org.jetel.component.ComponentFactory.createComponent(ComponentFactory.java:126)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateNodes(TransformationGraphXMLReaderWriter.java:498)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiatePhases(TransformationGraphXMLReaderWriter.java:461)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:376)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:296)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.loadGraph(TransformationGraphXMLReaderWriter.java:225)
     at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:108)
     at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
     at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
     at org.jetel.component.RunGraph.execute(RunGraph.java:272)
     at org.jetel.graph.Node.run(Node.java:414)
     at java.lang.Thread.run(Thread.java:662)
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node GET_VIEWS_AND_RESET_DS finished with status: ERROR caused by: Unknown component: ENDECA_RESET_DATA_STORE class: ENDECA_RESET_DATA_STORE
ERROR [WatchDog] - Node GET_VIEWS_AND_RESET_DS error details:
java.lang.RuntimeException: Unknown component: ENDECA_RESET_DATA_STORE class: ENDECA_RESET_DATA_STORE
     at org.jetel.component.ComponentFactory.getComponentClass(ComponentFactory.java:108)
     at org.jetel.component.ComponentFactory.createComponent(ComponentFactory.java:126)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiateNodes(TransformationGraphXMLReaderWriter.java:498)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.instantiatePhases(TransformationGraphXMLReaderWriter.java:461)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:376)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.read(TransformationGraphXMLReaderWriter.java:296)
     at org.jetel.graph.TransformationGraphXMLReaderWriter.loadGraph(TransformationGraphXMLReaderWriter.java:225)
     at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:108)
     at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
     at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
     at org.jetel.component.RunGraph.execute(RunGraph.java:272)
     at org.jetel.graph.Node.run(Node.java:414)
     at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: ENDECA_RESET_DATA_STORE
     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:169)
     at org.jetel.component.ComponentFactory.getComponentClass(ComponentFactory.java:97)
     ... 12 more
INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
DEBUG [WatchDog] - post-execute edges finalizing:
DEBUG [WatchDog] - edges finalized successfully...
DEBUG [WatchDog] - post-execute nodes finalizing:
DEBUG [WatchDog] -      GET_VIEWS_AND_RESET_DS ...OK
INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 0
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
INFO [WatchDog] - 0 ERROR 0 33129
INFO [WatchDog] - 1 N/A 0 0
INFO [WatchDog] - 2 N/A 0 0
INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
INFO [main] - Freeing graph resources.
ERROR [main] - Execution of graph failed !

I see that there is a class that is not found: ClassNotFoundException: ENDECA_RESET_DATA_STORE, but I don't know why it is not found, I ran that graph several times on the Integrator, and it worked OK, but now it is not the same using the command line,

Do you know if something is missing on my execute command line? Any help would be appreciate,

Another question :
I am trying to make it works because I need to run the graph automatically, and the only way I found is (once it is working properly), run it from another process (like java or linux).
If you know any other better way, it will be good to notice it!

Thanks in advance,
Regards,
Pablo Lisio

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points