Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/19695
Ah, for https://github.com/apache/spark/pull/19695#discussion_r149851570
and https://github.com/apache/spark/pull/19695#issuecomment-342865001, actually
the problem here is not the different path for `lsof` IIUC but `lsof` is not in
the path somehow in few OSes. I take @holdenk's words in #19359, it should be
in the path. However, the problem is, it looks being failed specifically in few
machines of Jenkins, which I assume CentOS 6.5.
So, yea, this is a band-aid fix to avoid the failures actually. Probably, I
can add some comments here.
FWIW, for different paths, I just double checked they are different too
(thanks for testing this out @kiszk):
**Ubuntu 14.04 LTS**
```bash
$ which lsof
/usr/bin/lsof
```
**CentOS 7.3.1611**
```
$ which lsof
/usr/sbin/lsof
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]