oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron Goodale <good...@apache.org>
Subject Re: Trouble with CAS-PGE Learn by Example
Date Tue, 18 Jun 2013 16:56:03 GMT
Bill,

When i get these errors it is due to a Lock on the Lucene Catalog.

"Lock obtain timed out: Lock@/var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn
/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock"

If you rm that file from /var/folders/ch/....  and restart the Workflow
Manager, and rerun the test.

Good luck,


Cam


On Mon, Jun 17, 2013 at 7:38 AM, Bill Rideout <brideout@haystack.mit.edu>wrote:

> I've been trying the "CAS-PGE Learn by Example" page at
> https://cwiki.apache.org/confluence/display/OODT/CAS-PGE+Learn+by+Example.
>  I've went through the installation instructions in two ways: using the
> 0.6-SNAPSHOT release, and using the 0.3 release (since that seemed to be
> the one the author of the example used).  Both times I got an error when I
> run the test:
>
> ./wmgr-client --url http://localhost:9001 --operation --sendEvent
> --eventName fileconcatenator-pge --metaData --key RunID testNumber1
>
> Here's the traceback from the 0.3 version:
>
> dhcp28:bin brideout$ ./wmgr-client --url http://localhost:9001--operation --sendEvent
--eventName fileconcatenator-pge --metaData --key
> RunID testNumber1
> Picked up metadata: [key=RunID, values=[testNumber1]]
> Jun 14, 2013 5:00:38 PM sun.net.www.protocol.http.HttpURLConnection
> writeRequests
> FINE: sun.net.www.MessageHeader@7d2a1e449 pairs: {POST / HTTP/1.1:
> null}{Content-Type: text/xml}{Cache-Control: no-cache}{Pragma:
> no-cache}{User-Agent: Java/1.6.0_45}{Host: localhost:9001}{Accept:
> text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection:
> keep-alive}{Content-Length: 312}
> Jun 14, 2013 5:00:38 PM
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager handleEvent
> INFO: WorkflowManager: Received event: fileconcatenator-pge
> Jun 14, 2013 5:00:38 PM
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager handleEvent
> INFO: WorkflowManager: Workflow FileConcatenatorWorkflow retrieved for
> event fileconcatenator-pge
> Jun 14, 2013 5:00:39 PM
> org.apache.oodt.cas.workflow.instrepo.LuceneWorkflowInstanceRepository
> addWorkflowInstanceToCatalog
> WARNING: Unable to index workflow instance:
> [770bc822-d535-11e2-8789-a9014efdd41f]: Message: Lock obtain timed out:
> Lock@
> /var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock
> org.apache.oodt.cas.workflow.structs.exceptions.InstanceRepositoryException:
> Unable to index workflow instance: [770bc822-d535-11e2-8789-a9014efdd41f]:
> Message: Lock obtain timed out: Lock@
> /var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock
>         at
> org.apache.oodt.cas.workflow.instrepo.LuceneWorkflowInstanceRepository.addWorkflowInstanceToCatalog(LuceneWorkflowInstanceRepository.java:462)
>         at
> org.apache.oodt.cas.workflow.instrepo.LuceneWorkflowInstanceRepository.addWorkflowInstance(LuceneWorkflowInstanceRepository.java:175)
>         at
> org.apache.oodt.cas.workflow.engine.ThreadPoolWorkflowEngine.persistWorkflowInstance(ThreadPoolWorkflowEngine.java:435)
>         at
> org.apache.oodt.cas.workflow.engine.ThreadPoolWorkflowEngine.startWorkflow(ThreadPoolWorkflowEngine.java:202)
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager.handleEvent(XmlRpcWorkflowManager.java:315)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)
>         at
> org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
>         at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
>         at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
>         at org.apache.xmlrpc.WebServer$Connection.run(WebServer.java:761)
>         at org.apache.xmlrpc.WebServer$Runner.run(WebServer.java:642)
>         at java.lang.Thread.run(Thread.java:680)
> org.apache.oodt.cas.workflow.structs.exceptions.EngineException: Unable to
> index workflow instance: [770bc822-d535-11e2-8789-a9014efdd41f]: Message:
> Lock obtain timed out: Lock@
> /var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock
>         at
> org.apache.oodt.cas.workflow.engine.ThreadPoolWorkflowEngine.persistWorkflowInstance(ThreadPoolWorkflowEngine.java:443)
>         at
> org.apache.oodt.cas.workflow.engine.ThreadPoolWorkflowEngine.startWorkflow(ThreadPoolWorkflowEngine.java:202)
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager.handleEvent(XmlRpcWorkflowManager.java:315)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)
>         at
> org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
>         at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
>         at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
>         at org.apache.xmlrpc.WebServer$Connection.run(WebServer.java:761)
>         at org.apache.xmlrpc.WebServer$Runner.run(WebServer.java:642)
>         at java.lang.Thread.run(Thread.java:680)
> Jun 14, 2013 5:00:39 PM sun.net.www.protocol.http.HttpURLConnection
> getInputStream
> FINE: sun.net.www.MessageHeader@50ef55025 pairs: {null: HTTP/1.1 200
> OK}{Server: Apache XML-RPC 1.0}{Connection: close}{Content-Type:
> text/xml}{Content-Length: 596}
> org.apache.xmlrpc.XmlRpcException: java.lang.Exception:
> org.apache.oodt.cas.workflow.structs.exceptions.EngineException: Engine
> exception when starting workflow: FileConcatenatorWorkflow: Message: Unable
> to index workflow instance: [770bc822-d535-11e2-8789-a9014efdd41f]:
> Message: Lock obtain timed out: Lock@
> /var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock
>         at
> org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)
>         at
> org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)
>         at
> org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
>         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
>         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
>         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.sendEvent(XmlRpcWorkflowManagerClient.java:443)
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.main(XmlRpcWorkflowManagerClient.java:763)
> java.lang.Exception: java.lang.Exception:
> org.apache.oodt.cas.workflow.structs.exceptions.EngineException: Engine
> exception when starting workflow: FileConcatenatorWorkflow: Message: Unable
> to index workflow instance: [770bc822-d535-11e2-8789-a9014efdd41f]:
> Message: Lock obtain timed out: Lock@
> /var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.sendEvent(XmlRpcWorkflowManagerClient.java:448)
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.main(XmlRpcWorkflowManagerClient.java:763)
> Exception in thread "main" java.lang.RuntimeException:
> java.lang.Exception: java.lang.Exception:
> org.apache.oodt.cas.workflow.structs.exceptions.EngineException: Engine
> exception when starting workflow: FileConcatenatorWorkflow: Message: Unable
> to index workflow instance: [770bc822-d535-11e2-8789-a9014efdd41f]:
> Message: Lock obtain timed out: Lock@
> /var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.main(XmlRpcWorkflowManagerClient.java:766)
> Caused by: java.lang.Exception: java.lang.Exception:
> org.apache.oodt.cas.workflow.structs.exceptions.EngineException: Engine
> exception when starting workflow: FileConcatenatorWorkflow: Message: Unable
> to index workflow instance: [770bc822-d535-11e2-8789-a9014efdd41f]:
> Message: Lock obtain timed out: Lock@
> /var/folders/ch/b0hwg9sj3x382j2mmjc8jjsc0000gn/T/lucene-db9284b776af4c21082c547aaab929a3-write.lock
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.sendEvent(XmlRpcWorkflowManagerClient.java:448)
>         at
> org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.main(XmlRpcWorkflowManagerClient.java:763)
> dhcp28:bin brideout$
>
> Any suggestions?
>
> Thanks - Bill Rideout
>
>

Mime
View raw message