mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haiwei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-7380) mesos-ps reports NameError: global name 'threading' is not defined
Date Wed, 12 Apr 2017 06:16:41 GMT

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

Haiwei Zhou updated MESOS-7380:
-------------------------------
    Description: 

> 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


  was:

```
# 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
```


> 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)

Mime
View raw message