Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1848

ShutdownHook in TajoMaster can throw NPE if serviceInit() is failed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0
    • None
    • None

    Description

      If serviceInit() is failed, ShutdownHook in TajoMaster can throw NPE.

      // If embedded derby is used as catalog, shutdown it.
              if (catalogServer.getStoreClassName().equals("org.apache.tajo.catalog.store.DerbyStore")
                  && AbstractDBStore.needShutdown(catalogServer.getStoreUri())) {
                DerbyStore.shutdown();
              }
      

      Attachments

        Activity

          People

            hyunsik Hyunsik Choi
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: