reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Weimer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-1229) Local Runtime Evaluator exits before writing PID
Date Mon, 29 Feb 2016 18:09:18 GMT

    [ https://issues.apache.org/jira/browse/REEF-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172268#comment-15172268
] 

Markus Weimer commented on REEF-1229:
-------------------------------------

Turns out that the PidStoreHandler is also bound several times. Once in {{REEFLauncher}} and
once in each runtime. This also creates potential issues when these are invoked in order,
where the PID file might be created, deleted and re-created. If the Evaluator exits somewhere
in the middle of that process, we are doomed.

> Local Runtime Evaluator exits before writing PID
> ------------------------------------------------
>
>                 Key: REEF-1229
>                 URL: https://issues.apache.org/jira/browse/REEF-1229
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF Runtime Local
>            Reporter: Boris Shulman
>            Assignee: Markus Weimer
>
> The following trace appears in the logs When running HelloREEF:
> {code}
> Feb 28, 2016 10:51:51 PM org.apache.reef.runtime.local.process.RunnableProcess cancel
> SEVERE: Unable to kill the process.
> java.io.FileNotFoundException: C:\work\GitHub\incubator-reef\lang\java\reef-examples\target\REEF_LOCAL_RUNTIME\HelloREEF-1456728708940\Node-2-1456728710592\PID.txt
(The system cannot find the file specified)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:101)
> 	at org.apache.reef.runtime.local.process.RunnableProcess.readPID(RunnableProcess.java:240)
> 	at org.apache.reef.runtime.local.process.RunnableProcess.cancel(RunnableProcess.java:218)
> 	at org.apache.reef.runtime.local.driver.ProcessContainer.close(ProcessContainer.java:181)
> 	at org.apache.reef.runtime.local.driver.ContainerManager.release(ContainerManager.java:377)
> 	at org.apache.reef.runtime.local.driver.ResourceManager.onResourceReleaseRequest(ResourceManager.java:135)
> 	at org.apache.reef.runtime.local.driver.LocalResourceReleaseHandler.onNext(LocalResourceReleaseHandler.java:45)
> 	at org.apache.reef.runtime.local.driver.LocalResourceReleaseHandler.onNext(LocalResourceReleaseHandler.java:32)
> 	at org.apache.reef.runtime.common.driver.evaluator.EvaluatorManager$1.onNext(EvaluatorManager.java:246)
> 	at org.apache.reef.runtime.common.driver.evaluator.EvaluatorManager$1.onNext(EvaluatorManager.java:243)
> 	at org.apache.reef.wake.time.event.Alarm.handle(Alarm.java:37)
> 	at org.apache.reef.wake.time.runtime.RuntimeClock.run(RuntimeClock.java:250)
> 	at org.apache.reef.runtime.common.REEFLauncher.main(REEFLauncher.java:174)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message