You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Haiwei Zhou (JIRA)" <ji...@apache.org> on 2017/04/12 06:46:41 UTC

[jira] [Commented] (MESOS-7380) mesos-ps reports NameError: global name 'threading' is not defined

    [ https://issues.apache.org/jira/browse/MESOS-7380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965461#comment-15965461 ] 

Haiwei Zhou commented on MESOS-7380:
------------------------------------

commit ba5a0b3c127971e813243340d6a046b2527f307a
Author: Zhou,Haiwei <zh...@qiyi.com>
Date:   Wed Apr 12 14:36:23 2017 +0800

    CLI: Fixed 'threading' is not defined when invoking mesos-ps.
    
    Review: https://reviews.apache.org/r/58380


> mesos-ps reports NameError: global name 'threading' is not defined
> ------------------------------------------------------------------
>
>                 Key: MESOS-7380
>                 URL: https://issues.apache.org/jira/browse/MESOS-7380
>             Project: Mesos
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 1.2.0
>            Reporter: Haiwei Zhou
>
> > mesos ps --master mesos-master:5050
> USER    FRAMEWORK    TASK      SLAVE              MEM                TIME              CPU (allocated)Traceback (most recent call last):
>   File "/usr/bin/mesos-ps", line 242, in <module>
>     main()
>   File "/usr/bin/mesos-ps", line 208, in main
>     for slave in slaves)
>   File "/usr/bin/mesos-ps", line 208, in <genexpr>
>     for slave in slaves)
>   File "/usr/lib/python2.7/site-packages/mesos/futures.py", line 175, in submit
>     thread = threading.Thread(target=run)
> NameError: global name 'threading' is not defined



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)