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

NPE during startup CatalogStore

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Catalog
    • Labels:
      None

      Description

      Currently, NPE occurs during startup MySQLStore on initial state as following:

      Caused by: java.lang.NullPointerException
      	at org.apache.tajo.util.FileUtil.readTextFromStream(FileUtil.java:99)
      	at org.apache.tajo.util.FileUtil.readTextFileFromResource(FileUtil.java:90)
      	at org.apache.tajo.catalog.store.AbstractDBStore.readSchemaFile(AbstractDBStore.java:174)
      	at org.apache.tajo.catalog.store.AbstractMySQLMariaDBStore.readSchemaFile(AbstractMySQLMariaDBStore.java:68)
      	at org.apache.tajo.catalog.store.MySQLStore.readSchemaFile(MySQLStore.java:52)
      	at org.apache.tajo.catalog.store.AbstractMySQLMariaDBStore.createBaseTable(AbstractMySQLMariaDBStore.java:209)
      	at org.apache.tajo.catalog.store.AbstractDBStore.<init>(AbstractDBStore.java:152)
      

      For the reference, there are similar situations at other CatalogStores, such as, MariaDB, Oracle, PostgreSQL.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                blrunner Jaehwa Jung
                Reporter:
                blrunner Jaehwa Jung
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: