Created
December 29, 2016 06:58
-
-
Save kepricon/71fbdf1987cc0c663dc3ef26f21e48cb to your computer and use it in GitHub Desktop.
agent_request.py result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xiaoyzhu@hn0-xiaoyz:~/kepricon/git/lagom-skil-api/skildistro/target/skil-distro-1.1-SNAPSHOT-dist/skil-distro-1.1-SNAPSHOT$ python sbin/agent_request.py --host localhost --port 9000 spark --deployMode client --trainingMasterPath "/tmp/parameteraveraging.json" --modelPath "/tmp/neuralnet.json" | |
{'status': '', 'totalExecutorCores': 1, 'driverClassPath': '', 'uiUrl': '', 'driverMemory': '8g', 'kill': '', 'principal': '', 'deployMode': 'client', 'driverLibraryPath': '', 'numExecutors': 2, 'modelPath': '', 'mainClass': 'io.skymind.skil.train.spark.SKILSparkMain', 'master': 'local[*]', 'driverCores': 1, 'jars': '', 'executorMemory': '', 'files': '', 'keyTab': '', 'propertiesFile': '', 'trainingMasterPath': '', 'supervise': '', 'yarnQueue': 'default', 'packages': '', 'excludePackages': '', 'name': 'SKILTrain', 'proxyUser': '', 'repositories': '', 'driverJavaOptions': ''} | |
Traceback (most recent call last): | |
File "sbin/agent_request.py", line 177, in <module> | |
route=endpoint) | |
File "sbin/agent_request.py", line 97, in send_request | |
json=http_args) | |
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 88, in post | |
return request('post', url, data=data, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request | |
return session.request(method=method, url=url, **kwargs) | |
TypeError: request() got an unexpected keyword argument 'json' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment