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 14:59:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Zoltan Haindrich updated HIVE-22704:
------------------------------------
    Description: 
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}

  was:
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}


> 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
>
> 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)