Bläddra i källkod

HUE-478. Including execution of 0.7 scripts in hive upgrade's README.

vinithra 14 år sedan
förälder
incheckning
3b502b4b75

+ 2 - 1
apps/beeswax/hive/scripts/metastore/upgrade/derby/README

@@ -5,11 +5,12 @@
    the easiest way of doing this is to just create a copy of the
    the easiest way of doing this is to just create a copy of the
    Derby database "metastore_db" directory.
    Derby database "metastore_db" directory.
 
 
-3) Execute the upgrade script:
+3) Execute the Hive 0.6 and Hive 0.7 upgrade scripts:
    % ij
    % ij
    ij version 10.4
    ij version 10.4
    ij> CONNECT 'jdbc:derby:/Users/bob/hive/metastore_db;databaseName=metastore_db';
    ij> CONNECT 'jdbc:derby:/Users/bob/hive/metastore_db;databaseName=metastore_db';
    ij> RUN 'upgrade-0.6.0.derby.sql';
    ij> RUN 'upgrade-0.6.0.derby.sql';
+   ij> RUN 'upgrade-0.7.0.derby.sql';
    ij> quit;
    ij> quit;
 
 
 NOTE: You may need to install the Derby 'ij' utility.
 NOTE: You may need to install the Derby 'ij' utility.

+ 3 - 1
apps/beeswax/hive/scripts/metastore/upgrade/mysql/README

@@ -4,6 +4,8 @@
 2) Perform a backup of your MySQL metastore database:
 2) Perform a backup of your MySQL metastore database:
    % mysqldump --opt <metastore_db_name> > metastore_backup.sql
    % mysqldump --opt <metastore_db_name> > metastore_backup.sql
 
 
-3) Execute the upgrade script:
+3) Execute the Hive 0.6 and Hive 0.7 upgrade scripts:
    % mysql --user=<username> --password=<password> \
    % mysql --user=<username> --password=<password> \
      <metastore_db_name> < upgrade-0.6.0.mysql.sql
      <metastore_db_name> < upgrade-0.6.0.mysql.sql
+   % mysql --user=<username> --password=<password> \
+     <metastore_db_name> < upgrade-0.7.0.mysql.sql