[jira] [Assigned] (SPARK-22813) run-tests.py fails when /usr/sbin/lsof does not exist

2017-12-18 Thread Hyukjin Kwon (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-22813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon reassigned SPARK-22813:


Assignee: Kazuaki Ishizaki

> run-tests.py fails when /usr/sbin/lsof does not exist
> -
>
> Key: SPARK-22813
> URL: https://issues.apache.org/jira/browse/SPARK-22813
> Project: Spark
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 2.2.1, 2.3.0
>Reporter: Kazuaki Ishizaki
>Assignee: Kazuaki Ishizaki
>Priority: Minor
> Fix For: 2.3.0
>
>
> Running ./dev/run-tests.py for mvn on OS that does not have /usr/sbin/lsof 
> (e.g. /usr/bin/lsof) gives the error
> {code}
> /bin/sh: 1: /usr/sbin/lsof: not found
> Usage:
>  kill [options]  [...]
> Options:
>   [...]send signal to every  listed
>  -, -s, --signal 
> specify the  to be sent
>  -l, --list=[]  list all signal names, or convert one to a name
>  -L, --tablelist all signal names in a nice table
>  -h, --help display this help and exit
>  -V, --version  output version information and exit
> For more details see kill(1).
> Traceback (most recent call last):
>   File "./dev/run-tests.py", line 626, in 
> main()
>   File "./dev/run-tests.py", line 597, in main
> build_apache_spark(build_tool, hadoop_version)
>   File "./dev/run-tests.py", line 389, in build_apache_spark
> build_spark_maven(hadoop_version)
>   File "./dev/run-tests.py", line 329, in build_spark_maven
> exec_maven(profiles_and_goals)
>   File "./dev/run-tests.py", line 270, in exec_maven
> kill_zinc_on_port(zinc_port)
>   File "./dev/run-tests.py", line 258, in kill_zinc_on_port
> subprocess.check_call(cmd, shell=True)
>   File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
> raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '/usr/sbin/lsof -P |grep 3156 | grep 
> LISTEN | awk '{ print $2; }' | xargs kill' returned non-zero exit status 123
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (SPARK-22813) run-tests.py fails when /usr/sbin/lsof does not exist

2017-12-15 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-22813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-22813:


Assignee: Apache Spark

> run-tests.py fails when /usr/sbin/lsof does not exist
> -
>
> Key: SPARK-22813
> URL: https://issues.apache.org/jira/browse/SPARK-22813
> Project: Spark
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 2.2.1, 2.3.0
>Reporter: Kazuaki Ishizaki
>Assignee: Apache Spark
>Priority: Minor
>
> Running ./dev/run-tests.py for mvn on OS that does not have /usr/sbin/lsof 
> (e.g. /usr/bin/lsof) gives the error
> {code}
> /bin/sh: 1: /usr/sbin/lsof: not found
> Usage:
>  kill [options]  [...]
> Options:
>   [...]send signal to every  listed
>  -, -s, --signal 
> specify the  to be sent
>  -l, --list=[]  list all signal names, or convert one to a name
>  -L, --tablelist all signal names in a nice table
>  -h, --help display this help and exit
>  -V, --version  output version information and exit
> For more details see kill(1).
> Traceback (most recent call last):
>   File "./dev/run-tests.py", line 626, in 
> main()
>   File "./dev/run-tests.py", line 597, in main
> build_apache_spark(build_tool, hadoop_version)
>   File "./dev/run-tests.py", line 389, in build_apache_spark
> build_spark_maven(hadoop_version)
>   File "./dev/run-tests.py", line 329, in build_spark_maven
> exec_maven(profiles_and_goals)
>   File "./dev/run-tests.py", line 270, in exec_maven
> kill_zinc_on_port(zinc_port)
>   File "./dev/run-tests.py", line 258, in kill_zinc_on_port
> subprocess.check_call(cmd, shell=True)
>   File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
> raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '/usr/sbin/lsof -P |grep 3156 | grep 
> LISTEN | awk '{ print $2; }' | xargs kill' returned non-zero exit status 123
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (SPARK-22813) run-tests.py fails when /usr/sbin/lsof does not exist

2017-12-15 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-22813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-22813:


Assignee: (was: Apache Spark)

> run-tests.py fails when /usr/sbin/lsof does not exist
> -
>
> Key: SPARK-22813
> URL: https://issues.apache.org/jira/browse/SPARK-22813
> Project: Spark
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 2.2.1, 2.3.0
>Reporter: Kazuaki Ishizaki
>Priority: Minor
>
> Running ./dev/run-tests.py for mvn on OS that does not have /usr/sbin/lsof 
> (e.g. /usr/bin/lsof) gives the error
> {code}
> /bin/sh: 1: /usr/sbin/lsof: not found
> Usage:
>  kill [options]  [...]
> Options:
>   [...]send signal to every  listed
>  -, -s, --signal 
> specify the  to be sent
>  -l, --list=[]  list all signal names, or convert one to a name
>  -L, --tablelist all signal names in a nice table
>  -h, --help display this help and exit
>  -V, --version  output version information and exit
> For more details see kill(1).
> Traceback (most recent call last):
>   File "./dev/run-tests.py", line 626, in 
> main()
>   File "./dev/run-tests.py", line 597, in main
> build_apache_spark(build_tool, hadoop_version)
>   File "./dev/run-tests.py", line 389, in build_apache_spark
> build_spark_maven(hadoop_version)
>   File "./dev/run-tests.py", line 329, in build_spark_maven
> exec_maven(profiles_and_goals)
>   File "./dev/run-tests.py", line 270, in exec_maven
> kill_zinc_on_port(zinc_port)
>   File "./dev/run-tests.py", line 258, in kill_zinc_on_port
> subprocess.check_call(cmd, shell=True)
>   File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
> raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '/usr/sbin/lsof -P |grep 3156 | grep 
> LISTEN | awk '{ print $2; }' | xargs kill' returned non-zero exit status 123
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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