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

NPE when "slider resolve" with "--out"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Slider 0.80
    • Slider 0.91
    • client
    • 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.

      Attachments

        1. SLIDER-971-develop.patch
          2 kB
          kyungwan nam

        Activity

          People

            kyungwan nam kyungwan nam
            kyungwan nam kyungwan nam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: