reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chenxi Zhao <>
Subject Reef OSUtils.getPID() randomly fails
Date Thu, 01 Feb 2018 19:50:58 GMT

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(        at org.apache.reef.runtime.common.evaluator.PIDStoreStartHandler.onNext(PIDSto         at org.apache.reef.runtime.common.evaluator.EvaluatorRuntime$RuntimeStartHandl
 er.onNext(    at org.apache.reef.runtime.common.evaluator.EvaluatorRuntime$RuntimeStartHandl
 er.onNext(    at   org.apache.reef.wake.impl.PubSubEventHandler.onNext(
   at    at
      at org.apache.reef.runtime.common.REEFLauncher.main(]

Shall I proceed to create a ticket on this?


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