[ https://issues.apache.org/jira/browse/SLIDER-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billie Rinaldi resolved SLIDER-1070. ------------------------------------ Resolution: Fixed Fix Version/s: Slider 1.0.0 I believe this is fixed in SLIDER-875. > Component name with character dash ( "-" ) in it errors out > ----------------------------------------------------------- > > Key: SLIDER-1070 > URL: https://issues.apache.org/jira/browse/SLIDER-1070 > Project: Slider > Issue Type: Bug > Components: core > Affects Versions: Slider 0.80 > Reporter: Manoj Samel > Assignee: Billie Rinaldi > Fix For: Slider 1.0.0 > > Attachments: am.log, component_agent.log > > > Slider version 0.80 with secured cluster. > Attempt to create a component with characters like dash '-' or many other > characters fail to bring up the component with error. It seems the only valid > character in component name besides [A-Z][a-z[0-9] is underscore '_'. > Per discussion, dash is a allowed character and should work, hence filing > jira. > I recreated issue with OOB jmemcached by creating component name my-name. > The component fails to come up. The component agent log shows following > error. > INFO 2016-01-12 20:52:02,484 NetUtil.py:45 - Calling url received 200 > INFO 2016-01-12 20:52:02,487 Controller.py:140 - Registering with the server > at > https://host36:46236/ws/v1/slider/agents/container_1452195922769_0005_01_000002___my-name/register > with data '{"tags": "", "timestamp": 1452631922486, "expectedState": 0, > "responseId": -1, "actualState": 0, "logFolders": {}, "agentVersion": "1", > "allocatedPorts": {}, "appVersion": null, "publicHostname": "host38", > "label": "container_1452195922769_0005_01_000002___my-name"}' > INFO 2016-01-12 20:52:02,487 security.py:89 - SSL Connect being called.. > connecting to the server > INFO 2016-01-12 20:52:02,568 security.py:51 - SSL connection established. > Two-way SSL authentication is turned off on the server. > INFO 2016-01-12 20:52:02,617 Controller.py:183 - Unable to connect to: > https://host38:46236/ws/v1/slider/agents/container_1452195922769_0005_01_000002___my-name/register > Traceback (most recent call last): > File > "/data/yarn/local/usercache/foo/appcache/application_1452195922769_0005/filecache/10/slider-agent.tar.gz/slider-agent/agent/Controller.py", > line 142, in registerWithServer > regResp = json.loads(response) > File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads > return _default_decoder.decode(s) > File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) > File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode > raise ValueError("No JSON object could be decoded") > ValueError: No JSON object could be decoded > The AM log shows AM not getting container heartbeat (since container start > has error), marks container lost (-100) and keeps attempting to get new > container. -- This message was sent by Atlassian JIRA (v6.3.4#6332)