Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1251

NPE at NC startup after upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • MTD - Metadata
    • None

    Description

      I upgraded my instance to latest master but got this exception:

      java.lang.NullPointerException
              at org.apache.asterix.metadata.bootstrap.MetadataBootstrap.enlistMetadataDataset(MetadataBootstrap.java:412)
              at org.apache.asterix.metadata.bootstrap.MetadataBootstrap.startUniverse(MetadataBootstrap.java:199)
              at org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.notifyStartupComplete(NCApplicationEntryPoint.java:235)
              at org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:311)
              at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:48)
      

      It seems related to the recent global resource id changes.
      But failing the instance forever seems not the right answer for that case. To me, the bottomline is that the instance can at least start (with warnings in the log saying which datasets are lost) though the old data could lose, so that a user doesn't need to reinstall a new instance.

      Attachments

        Activity

          People

            mhubail Murtadha Makki Al Hubail
            buyingyi Yingyi Bu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: