Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3958

Monitor.fetchData should check for null instance name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.4, 1.7.1, 1.8.0
    • monitor
    • None

    Description

      Had an odd situation where the monitor would throw an NPE constantly when I tried to view any page.

      It was throwing a NPE trying to accessed the cached instance name. It appears that HdfsZooInstance.getInstance().getInstanceName( may return null, but the monitor code is not written to account for that.

      The monitor should check for null values before setting the instance name into cachedInstanceName. When the instance name is null, it should reschedule the timertask to try to fetch a (non-null) instance name.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h