Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-582

Registry test may fail if ~ expands to a path with upper case

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.50
    • Slider 0.60
    • registry
    • None
    • Slider October #2

    Description

      2014-10-29 22:51:10,667 [JUnit] INFO  framework.SliderShell (?:call(?)) - /Users/smohanty/enlistments/incubator-slider/slider-assembly/target/slider-0.51.0-incubating-SNAPSHOT-all/slider-0.51.0-incubating-SNAPSHOT/bin/slider resolve --list --path \~
      2014-10-29 22:51:10,667 [JUnit] DEBUG framework.SliderShell (?:call(?)) - export SLIDER_CONF_DIR=/Users/smohanty/enlistments/incubator-slider/src/test/clusters/remote/slider;
      /Users/smohanty/enlistments/incubator-slider/slider-assembly/target/slider-0.51.0-incubating-SNAPSHOT-all/slider-0.51.0-incubating-SNAPSHOT/bin/slider resolve --list --path \~
      2014-10-29 22:51:12,765 [JUnit] ERROR framework.SliderShell (?:call(?)) - 56 =>/Users/smohanty/enlistments/incubator-slider/slider-assembly/target/slider-0.51.0-incubating-SNAPSHOT-all/slider-0.51.0-incubating-SNAPSHOT/bin/slider resolve --list --path \~
      2014-10-29 22:51:12,765 [JUnit] ERROR framework.SliderShell (NativeMethodAccessorImpl.java:invoke0(?)) - return code = 56
      2014-10-29 22:51:12,765 [JUnit] INFO  framework.SliderShell (NativeMethodAccessorImpl.java:invoke0(?)) -
      
      2014-10-29 22:51:12,652 [main] ERROR main.ServiceLauncher (ServiceLauncher.java:error(344)) - Exception: `/Users/smohanty': Invalid Path element "Users"
      org.apache.hadoop.registry.client.exceptions.InvalidPathnameException: `/Users/smohanty': Invalid Path element "Users"
      	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.list(RegistryOperationsService.java:145)
      	at org.apache.hadoop.registry.client.binding.RegistryUtils.statChildren(RegistryUtils.java:178)
      	at org.apache.slider.client.SliderClient.actionResolve(SliderClient.java:2475)
      	at org.apache.slider.client.SliderClient.exec(SliderClient.java:398)
      	at org.apache.slider.client.SliderClient.runService(SliderClient.java:341)
      	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
      	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:473)
      	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
      	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:628)
      	at org.apache.slider.Slider.main(Slider.java:49)
      2014-10-29 22:51:12,655 [main] INFO  util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting with status 56
      

      Attachments

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              sumitmohanty Sumit Mohanty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Agile

                  Completed Sprint:
                  Slider October #2 ended 04/Nov/14
                  View on Board

                  Slack

                    Issue deployment