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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: