[ 
https://issues.apache.org/jira/browse/TAJO-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033525#comment-14033525
 ] 

ASF GitHub Bot commented on TAJO-847:
-------------------------------------

Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/39#discussion_r13846303
  
    --- Diff: 
tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
 ---
    @@ -152,9 +152,20 @@ protected String getCatalogUri() {
         return catalogUri;
       }
     
    +  protected boolean isConnValid(int timeout) throws CatalogException {
    --- End diff --
    
    As I know, this function is a temporal solution to handle the internal NPE 
of MariaDB. Would you leave some descriptions of the error and this solution? 


> Supporting MariaDB-based Store, which is compatible with MySQL.
> ---------------------------------------------------------------
>
>                 Key: TAJO-847
>                 URL: https://issues.apache.org/jira/browse/TAJO-847
>             Project: Tajo
>          Issue Type: New Feature
>          Components: catalog, conf and scripts
>    Affects Versions: 0.8.0
>         Environment: Tested with Hadoop 2.4.0, Tajo 0.8.0, MariaDB 5.5.37, 
> MariaDB-Java-Client (JDBC) 1.1.7 in OpenJDK 1.7.0_55 + Ubuntu 14.04 LTS x86_64
>            Reporter: Jinhang Choi
>            Assignee: Jinhang Choi
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: TAJO-847.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> There exists an open-source database MariaDB (http://mariadb.org) which can 
> be replacement for MySQL; Since the interface of MariaDB is perfectly 
> compatible to that of MySQL, it is easy to construct CatalogStore to use 
> MariaDB in Tajo.
> Therefore, I hereby suggest MariaDBStore by duplicating MySQLStore.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to