You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@localhost ~]# coca master -k 地址
Traceback (most recent call last):
File "/usr/bin/coca", line 9, in <module>
load_entry_point('Cola==0.1.0b0', 'console_scripts', 'coca')()
File "/usr/lib/python2.7/site-packages/cola/cmdline.py", line 38, in execute
args.func(args)
File "/usr/lib/python2.7/site-packages/cola/commands/master.py", line 50, in run
ctx = Context(is_client=True, master_addr=args.kill)
File "/usr/lib/python2.7/site-packages/cola/context.py", line 110, in __init__
self.addrs = [self.fix_addr(_ip) for _ip in self.ips]
File "/usr/lib/python2.7/site-packages/cola/context.py", line 66, in <lambda>
fix_addr = lambda _, addr: addr if ':' in addr \
TypeError: argument of type 'NoneType' is not iterable
提交作业时也必须给出Master:
[root@localhost ~]# coca job -u app/weibo/
Traceback (most recent call last):
File "/usr/bin/coca", line 9, in <module>
load_entry_point('Cola==0.1.0b0', 'console_scripts', 'coca')()
File "/usr/lib/python2.7/site-packages/cola/cmdline.py", line 38, in execute
args.func(args)
File "/usr/lib/python2.7/site-packages/cola/commands/job.py", line 79, in run
ctx = Context(is_client=True, master_addr=master_addr)
File "/usr/lib/python2.7/site-packages/cola/context.py", line 82, in __init__
raise ValueError('Master address must be supplied when local_mode is False')
ValueError: Master address must be supplied when local_mode is False
给出Master之后:
[root@localhost ~]# coca job -m 地址:11103 -u app/weibo/
Traceback (most recent call last):
File "/usr/bin/coca", line 9, in <module>
load_entry_point('Cola==0.1.0b0', 'console_scripts', 'coca')()
File "/usr/lib/python2.7/site-packages/cola/cmdline.py", line 38, in execute
args.func(args)
File "/usr/lib/python2.7/site-packages/cola/commands/job.py", line 79, in run
ctx = Context(is_client=True, master_addr=master_addr)
File "/usr/lib/python2.7/site-packages/cola/context.py", line 110, in __init__
self.addrs = [self.fix_addr(_ip) for _ip in self.ips]
File "/usr/lib/python2.7/site-packages/cola/context.py", line 66, in <lambda>
fix_addr = lambda _, addr: addr if ':' in addr \
TypeError: argument of type 'NoneType' is not iterable
以上问题同配置Ubuntu 14.04都是正常的。
The text was updated successfully, but these errors were encountered:
我用的是IUS的库安装的Python 2.7(因为这个库提供pip)。
运行Master或者Worker但不提供IP时无法启动:
附上IP后正常启动
但是就算是附上IP也无法关闭:
提交作业时也必须给出Master:
给出Master之后:
以上问题同配置Ubuntu 14.04都是正常的。
The text was updated successfully, but these errors were encountered: