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 Reef OSUtils.getPID() randomly fails
Date Thu, 01 Feb 2018 19:50:58 GMT
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





Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message