Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

TypeError: unsupported operand type(s) for +: 'int' and 'NoneType' #44

Closed
Kaliscuit opened this issue Dec 24, 2014 · 1 comment
Closed

Comments

@Kaliscuit
Copy link

在Mesos上跑当计算文件数量稍多时会报下面的错…

2014-12-24 20:02:30,120 [ERROR] [pymesos.process] error while call <function handle at 0x1566ed8> (tried 4 times)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/pymesos-0.0.3-py2.6.egg/pymesos/process.py", line 69, in run_jobs
    func(*args, **kw)
  File "/usr/lib64/python2.6/site-packages/pymesos-0.0.3-py2.6.egg/pymesos/process.py", line 139, in handle
    f(*args)
  File "/usr/lib64/python2.6/site-packages/pymesos-0.0.3-py2.6.egg/pymesos/scheduler.py", line 93, in onResourceOffersMessage
    self.sched.resourceOffers(self, list(offers))
  File "/usr/lib64/python2.6/site-packages/DPark-0.1-py2.6-linux-x86_64.egg/dpark/schedule.py", line 448, in _
    r = f(self, *a, **kw)
  File "/usr/lib64/python2.6/site-packages/DPark-0.1-py2.6-linux-x86_64.egg/dpark/schedule.py", line 685, in resourceOffers
    len(offers), sum(cpus), sum(mems), len(self.activeJobs))
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
@Kaliscuit
Copy link
Author

起了Nginx之后就没有这个错了。另外Nginx的default root应该改成 /dev/shm,文档该更新了。

windreamer added a commit to windreamer/dpark that referenced this issue May 25, 2016
When failing to decompress a GZ file, show file path in error message.
windreamer added a commit to windreamer/dpark that referenced this issue May 25, 2016
compatible support for mpich2 1.x and 3.x
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant