[ 
https://issues.apache.org/jira/browse/SLIDER-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167159#comment-14167159
 ] 

Steve Loughran commented on SLIDER-500:
---------------------------------------

{code}
ServiceRecord{description='Slider Application Master'; external endpoints: 
{Endpoint{api='org.apache.slider.appmaster', addressType='host/port', 
protocolType='hadoop/protobuf', addresses=[ [ 
"ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal" "50767" ] ] }; 
Endpoint{api='org.apache.http.UI', addressType='uri', protocolType='webui', 
addresses=[ [ 
"http://ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal:40805"; ] ] }; 
Endpoint{api='org.apache.slider.management', addressType='uri', 
protocolType='REST', addresses=[ [ 
"http://ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal:40805/ws/v1/slider/mgmt";
 ] ] }; Endpoint{api='org.apache.slider.publisher', addressType='uri', 
protocolType='REST', addresses=[ [ 
"http://ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal:40805/ws/v1/slider/publisher";
 ] ] }; Endpoint{api='org.apache.slider.registry', addressType='uri', 
protocolType='REST', addresses=[ [ 
"http://ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal:40805/ws/v1/slider/registry";
 ] ] }; Endpoint{api='org.apache.slider.publisher.configurations', 
addressType='uri', protocolType='REST', addresses=[ [ 
"http://ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal:40805/ws/v1/slider/publisher/slider";
 ] ] }; }; internal endpoints: {Endpoint{api='org.apache.slider.agents.secure', 
addressType='uri', protocolType='REST', addresses=[ [ 
"https://ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal:55485/ws/v1/slider/agents";
 ] ] }; Endpoint{api='org.apache.slider.agents.oneway', addressType='uri', 
protocolType='REST', addresses=[ [ 
"https://ts-oracle6-uns-accumulo-slider-1010-4.cs1cloud.internal:55688/ws/v1/slider/agents";
 ] ] }; }, attributes: {"yarn:persistence"="application" 
"yarn:id"="application_1412950151590_0009" }}Exception: 
`/users/hrt_qa/services/org-apache-slider/test-slider-accumulo-continuous-ingest':
 Invalid Path element "hrt_qa"14/10/10 15:44:53 ERROR main.ServiceLauncher: 
Exception: 
`/users/hrt_qa/services/org-apache-slider/test-slider-accumulo-continuous-ingest':
 Invalid Path element 
"hrt_qa"org.apache.hadoop.registry.client.exceptions.InvalidPathnameException: 
`/users/hrt_qa/services/org-apache-slider/test-slider-accumulo-continuous-ingest':
 Invalid Path element "hrt_qa"
        at 
org.apache.hadoop.registry.client.binding.RegistryPathUtils.validateElementsAsDNS(RegistryPathUtils.java:78)
        at 
org.apache.hadoop.registry.client.impl.zk.RegistryOperationsService.validatePath(RegistryOperationsService.java:91)
        at 
org.apache.hadoop.registry.client.impl.zk.RegistryOperationsService.delete(RegistryOperationsService.java:151)
        at 
org.apache.slider.server.services.yarnregistry.YarnRegistryViewForProviders.putService(YarnRegistryViewForProviders.java:138)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.registerServiceInstance(SliderAppMaster.java:1002)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:846)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:507)
        at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
        at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:2124)14/10/10
 15:44:53 INFO util.ExitUtil: Exiting with status 3214/10/10 15:44:53 INFO 
mortbay.log: Shutdown hook executing14/10/10 15:44:53 INFO mortbay.log: Stopped 
[email protected]:5548514/10/10 15:44:53 INFO mortbay.log: 
Stopped [email protected]:55688
{code}

> registration failing if username isn't valid DNS entry
> ------------------------------------------------------
>
>                 Key: SLIDER-500
>                 URL: https://issues.apache.org/jira/browse/SLIDER-500
>             Project: Slider
>          Issue Type: Sub-task
>          Components: registry
>    Affects Versions: Slider 0.60
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: Slider 0.60
>
>
> registration failing if the user has underscore "user_name" as check for 
> DNS-validity fails. Registry was expected to punycode to valid entries.
> this may be a yarn registry bug, but slider could work around it



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to