[
https://issues.apache.org/jira/browse/TAJO-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386710#comment-14386710
]
ASF GitHub Bot commented on TAJO-1479:
--------------------------------------
GitHub user blrunner opened a pull request:
https://github.com/apache/tajo/pull/481
TAJO-1479: NPE during startup AbstractMySQLMariaDBStore
I succeed to startup MySQLStore on my local cluster. For the reference, I
fixed some typos about partition tables.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/blrunner/tajo TAJO-1479
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/481.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #481
----
commit daed3524b3f6a00a58348170fd501d05247ffc13
Author: JaeHwa Jung <[email protected]>
Date: 2015-03-30T13:40:40Z
TAJO-1479: NPE during startup AbstractMySQLMariaDBStore
----
> NPE during startup AbstractMySQLMariaDBStore
> --------------------------------------------
>
> Key: TAJO-1479
> URL: https://issues.apache.org/jira/browse/TAJO-1479
> Project: Tajo
> Issue Type: Bug
> Components: catalog
> Reporter: Jaehwa Jung
> Assignee: Jaehwa Jung
>
> Currently, NPE occurs during startup AbstractMySQLMariaDBStore on initial
> state as following:
> {code:xml}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)