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

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

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

Zoltan Haindrich commented on HIVE-22704:
-----------------------------------------

patch#1) proposed solution: 

* remove regex filter
* remove duplicate order files which are not part of the distribution

> Distribution package ships the upgrade.order files from the metastore package
> -----------------------------------------------------------------------------
>
>                 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)