You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/04 16:04:45 UTC

[jira] [Commented] (TAJO-1815) Catalog store initialization with PostgreSQL failed

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

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

GitHub user eminency opened a pull request:

    https://github.com/apache/tajo/pull/730

    TAJO-1815: Catalog store initialization with PostgreSQL failed

    Duplicated primary key definition removed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/eminency/tajo TAJO-1815

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/730.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 #730
    
----
commit 7062b0ec2ec74754d9cfd7e1568345e162172f2d
Author: Jongyoung Park <em...@gmail.com>
Date:   2015-09-04T14:02:57Z

    Duplicate primary key clause deleted

----


> Catalog store initialization with PostgreSQL failed
> ---------------------------------------------------
>
>                 Key: TAJO-1815
>                 URL: https://issues.apache.org/jira/browse/TAJO-1815
>             Project: Tajo
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: 0.10.1
>         Environment: PostgreSQL 9.4
>            Reporter: Jongyoung Park
>            Assignee: Jongyoung Park
>            Priority: Minor
>
> According to a document on Tajo website, PostgreSQL catalog store is set, but initialization failed like following:
> {quote}
> 2015-09-04 22:20:09,977 WARN org.apache.tajo.catalog.store.XMLCatalogSchemaManager: Failed to drop database objects TABLE INDEXES,TABLE STATS,TABLE PARTITION_METHODS,TABLE PARTITIONS,TABLE PARTITION_KEYS
> 2015-09-04 22:20:09,978 ERROR org.apache.tajo.catalog.CatalogServer: CatalogServer initialization failed
> java.lang.reflect.InvocationTargetException
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>   at org.apache.tajo.catalog.CatalogServer.serviceInit(CatalogServer.java:129)
>   at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>   at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
>   at org.apache.tajo.master.TajoMaster.serviceInit(TajoMaster.java:213)
>   at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>   at org.apache.tajo.master.TajoMaster.main(TajoMaster.java:561)
> Caused by: org.apache.tajo.exception.TajoInternalError: internal error: internal error: ERROR: multiple primary keys for table "indexes" are not allowed
>   Position: 586
>   at org.apache.tajo.catalog.store.AbstractDBStore.<init>(AbstractDBStore.java:187)
>   at org.apache.tajo.catalog.store.PostgreSQLStore.<init>(PostgreSQLStore.java:32)
>   ... 10 more
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)