Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Slider 0.80
-
None
Description
this is what i did
slider-0.80.0-incubating/bin/slider resolve --path /users/yarn/services/org-apache-slider/hbase1 --out hbase1_resolved.json
but, that was failed with NPE as follows.
Exception: java.lang.NullPointerException 2015-11-10 15:41:44,063 [main] ERROR main.ServiceLauncher - Exception: java.lang.NullPointerException java.lang.NullPointerException at org.apache.slider.common.tools.SliderUtils.write(SliderUtils.java:2051) at org.apache.slider.client.SliderClient.actionResolve(SliderClient.java:3494) at org.apache.slider.client.SliderClient.exec(SliderClient.java:526) at org.apache.slider.client.SliderClient.runService(SliderClient.java:424) at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188) at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:475) at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403) at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:630) at org.apache.slider.Slider.main(Slider.java:49) 2015-11-10 15:41:44,065 [main] INFO util.ExitUtil - Exiting with status 56
I think that "parentDir" in "SliderUtils.write" should be checked whether that is null or not.