You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (Jira)" <ji...@apache.org> on 2020/01/09 04:01:00 UTC

[jira] [Commented] (HIVE-22704) Distribution package incorrectly ships the upgrade.order files from the metastore module

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

Naveen Gangam commented on HIVE-22704:
--------------------------------------

[~kgyrtkirk] The change makes sense to me. So +1 for me pending tests.
Also should we take this chance to also relocate the "https://github.com/apache/hive/tree/master/metastore/scripts/upgrade/hive/*4.0.0.sql" files to the be under standalone-metastore directory. It is inconsistent with the other DBs.

> Distribution package incorrectly ships the upgrade.order files from the metastore module
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-22704
>                 URL: https://issues.apache.org/jira/browse/HIVE-22704
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-22704.01.patch
>
>
> Expected would be to take the upgrade.order from the standalon-metastore but HIVE-19938 have broke that when it [introduced a regex|https://github.infra.cloudera.com/CDH/hive/commit/bae4c08408720d56159847603dfb8d9dab9fe1b7#diff-44c56fadf216c807d6828b60825e43baR219]
> {code}
> $ echo asd > ./metastore/scripts/upgrade/postgres/upgrade.order.postgres
> $ mvn install -pl packaging/ -Pdist -am -DskipTests -q
> $ cat ./packaging/target/apache-hive-4.0.0-SNAPSHOT-bin/apache-hive-4.0.0-SNAPSHOT-bin/scripts/metastore/upgrade/postgres/upgrade.order.postgres
> asd
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)