Bhuvan Arumugam created AURORA-998:
--------------------------------------
Summary: aurora client
apache.aurora.client.api.ThriftInternalError error due to dup kwarg
Key: AURORA-998
URL: https://issues.apache.org/jira/browse/AURORA-998
Project: Aurora
Issue Type: Story
Components: Client
Affects Versions: 0.7.0
Reporter: Bhuvan Arumugam
It's follow-up to the fix for [AURORA-988]. The version argument for
DirectSchedulerClient constructor should be de-duped.
{code}
File
"/home/bhuvan/.pex/install/twitter.common.app-0.3.2-py2-none-any.whl.c9a6c61d19a8540640a20ab7a9e32d8fe783ded1/twitter.common.app-0.3.2-py2-none-any.whl/twitter/common/app/application.py",
line 758, in _wrap_method
return_code = method()
File
"/home/bhuvan/.pex/install/twitter.common.app-0.3.2-py2-none-any.whl.c9a6c61d19a8540640a20ab7a9e32d8fe783ded1/twitter.common.app-0.3.2-py2-none-any.whl/twitter/common/app/application.py",
line 780, in <lambda>
main = lambda: main_method(*args, **kwargs)
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/commands/core.py",
line 692, in status
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/__init__.py",
line 121, in check_status
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/__init__.py",
line 140, in query_no_configs
apache.aurora.client.api.ThriftInternalError: Error during thrift call
getTasksWithoutConfigs to vagrant: __init__() got multiple values for keyword
argument 'verbose'. Error: Traceback (most recent call last):
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/scheduler_client.py",
line 319, in method_wrapper
method = getattr(self.client(), method_name)
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/scheduler_client.py",
line 252, in _wrapper
self._construct_scheduler()
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/scheduler_client.py",
line 284, in _construct_scheduler
self._scheduler_client = SchedulerClient.get(self.cluster,
verbose=self.verbose, **self._kwargs)
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/scheduler_client.py",
line 87, in get
return DirectSchedulerClient(cluster.scheduler_uri, **kwargs)
File
"/Volumes/apple/quark/incubator-aurora/dist/aurora_client.pex/apache/aurora/client/api/scheduler_client.py",
line 204, in __init__
SchedulerClient.__init__(self, verbose=True, **kwargs)
TypeError: __init__() got multiple values for keyword argument 'verbose'
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)