reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chenxi Zhao <Chenxi.Z...@microsoft.com.INVALID>
Subject RE: Reef OSUtils.getPID() randomly fails
Date Thu, 01 Feb 2018 22:21:32 GMT
Thanks Gon. I have created JIRA ticket https://issues.apache.org/jira/browse/REEF-1977 for
this issue. However I could not change the assignee to myself as the contribution guide says.

Could you or someone help grant me the access to do that? My JIRA username is homezcx.

Thanks,
Chenxi



-----Original Message-----
From: Byung-Gon Chun [mailto:bgchun@gmail.com] 
Sent: Thursday, February 1, 2018 1:00 PM
To: dev@reef.apache.org
Subject: Re: Reef OSUtils.getPID() randomly fails

Hi Chenxi,

Thank you for reporting the bug.
Please create a JIRA issue about it.

Thanks.
-Gon


On Fri, Feb 2, 2018 at 4:55 AM, Chenxi Zhao < Chenxi.Zhao@microsoft.com.invalid> wrote:

> Adding the exception in text:
>
> Feb 01, 2018 5:29:33 AM org.apache.reef.util.OSUtils getPID
> SEVERE: Unable to determine PID
> java.lang.NumberFormatException: For input string: ""
>                 at 
> java.lang.NumberFormatException.forInputString(Unknown
> Source)
>                 at java.lang.Long.parseLong(Unknown Source)
>                 at java.lang.Long.valueOf(Unknown Source)
>                 at org.apache.reef.util.OSUtils.getPID(OSUtils.java:104)
>                 at org.apache.reef.runtime.common.evaluator.
> PIDStoreStartHandler.onNext(PIDSto
> reStartHandler.java:62)
>                 at org.apache.reef.runtime.common.evaluator.
> EvaluatorRuntime$RuntimeStartHandl
> er.onNext(EvaluatorRuntime.java:184)
>                 at org.apache.reef.runtime.common.evaluator.
> EvaluatorRuntime$RuntimeStartHandl
> er.onNext(EvaluatorRuntime.java:178)
>                 at
> org.apache.reef.wake.impl.PubSubEventHandler.onNext(
> PubSubEventHandler.java:98)
>                 at org.apache.reef.wake.time.runtime.RuntimeClock.run(
> RuntimeClock.java:292)
>                 at
> org.apache.reef.runtime.common.REEFEnvironment.run(
> REEFEnvironment.java:191)
>                 at org.apache.reef.runtime.common.REEFLauncher.main(
> REEFLauncher.java:181)
>
> Chenxi
>
> From: Chenxi Zhao [mailto:Chenxi.Zhao@microsoft.com.INVALID]
> Sent: Thursday, February 1, 2018 11:51 AM
> To: dev@reef.apache.org
> Subject: Reef OSUtils.getPID() randomly fails
>
> Hi,
>
> I want to bring up an issue here that OSUtils.getPID() is randomly failing.
>
> The problem is:
> Inside getPID() call, it is trying to read the command execution 
> result without waiting for the process execution to be completed.
> There are chances that this method gets the empty result and generates 
> below exception:
>
>
>         [Feb 01, 2018 5:29:33 AM org.apache.reef.util.OSUtils getPID
> SEVERE: Unable to determine PID  java.lang.NumberFormatException: For
> input string: ""    at java.lang.NumberFormatException.forInputString(Unknown
> Source)       at java.lang.Long.parseLong(Unknown Source)     at
> java.lang.Long.valueOf(Unknown Source)       at
> org.apache.reef.util.OSUtils.getPID(OSUtils.java:104)        at
> org.apache.reef.runtime.common.evaluator.PIDStoreStartHandler.onNext(PIDSto
> reStartHandler.java:62)         at org.apache.reef.runtime.
> common.evaluator.EvaluatorRuntime$RuntimeStartHandl
> er.onNext(EvaluatorRuntime.java:184)    at org.apache.reef.runtime.
> common.evaluator.EvaluatorRuntime$RuntimeStartHandl
> er.onNext(EvaluatorRuntime.java:178)    at   org.apache.reef.wake.impl.
> PubSubEventHandler.onNext(PubSubEventHandler.java:98)    at
> org.apache.reef.wake.time.runtime.RuntimeClock.run(RuntimeClock.java:292)
>   at   org.apache.reef.runtime.common.REEFEnvironment.run(REEFEnvironment.java:191)
>      at org.apache.reef.runtime.common.REEFLauncher.main(
> REEFLauncher.java:181)]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Shall I proceed to create a ticket on this?
>
> Thanks,
> Chenxi
>
>
>
>
>


--
Byung-Gon Chun
Mime
View raw message