Skip to content

Commit

Permalink
fix add update-schema_2.8.2.8_to_3.2.0.0.sql to go directly from 2.8.…
Browse files Browse the repository at this point in the history
…2.8 to 3.2.0.0
  • Loading branch information
berthoug committed Sep 10, 2019
1 parent 2026767 commit 23d79ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion schema/create-tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ mysql --host=$1 --port=$2 -u $3 -p$4 $5 < update-schema_2.8.2.4_to_2.8.2.5.sql &
mysql --host=$1 --port=$2 -u $3 -p$4 $5 < update-schema_2.8.2.5_to_2.8.2.6.sql &&
mysql --host=$1 --port=$2 -u $3 -p$4 $5 < update-schema_2.8.2.6_to_2.8.2.7.sql &&
mysql --host=$1 --port=$2 -u $3 -p$4 $5 < update-schema_2.8.2.7_to_2.8.2.8.sql &&
mysql --host=$1 --port=$2 -u $3 -p$4 $5 < update-schema_2.8.2.8_to_2.8.2.9.sql &&
mysql --host=$1 --port=$2 -u $3 -p$4 $5 < update-schema_2.8.2.8_to_3.2.0.0.sql
3 changes: 3 additions & 0 deletions schema/update-schema_2.8.2.8_to_3.2.0.0.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ALTER TABLE `hdfs_inodes` CHANGE `num_xattrs` `num_user_xattrs` tinyint(4) NOT NULL DEFAULT '0';
ALTER TABLE `hdfs_inodes` ADD COLUMN `num_sys_xattrs` tinyint(4) NOT NULL DEFAULT '0';
ALTER TABLE `hdfs_xattrs` MODIFY COLUMN `value` varbinary(13500) DEFAULT "";
CREATE TABLE `yarn_conf_mutation` (
`index` int(11) NOT NULL,
`mutation` varbinary(13000) NOT NULL,
Expand Down

0 comments on commit 23d79ad

Please sign in to comment.