ulysses-you commented on issue #26365: [SPARK-29720][CORE] Add linux condition 
to make ProcfsMetricsGetter more complete
URL: https://github.com/apache/spark/pull/26365#issuecomment-549101205
 
 
   This catch just confirm `echo $PPID ` is support for current os . But not 
sure whether current os support `porc`. E.g. mac os, `echo $PPID ` can return 
the right pid. 
   Add Linux condition is just to avoid that other os has the same dir like 
`/proc/$pid/stat` but in different use case.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to