Skip to content

Commit

Permalink
fixed Ambari db schema version
Browse files Browse the repository at this point in the history
  • Loading branch information
randerzander committed Aug 31, 2017
1 parent ed8ee09 commit 980c594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/postgres/scripts/100-ambari.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

cd ~/
wget https://raw.githubusercontent.com/apache/ambari/branch-2.5/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
sed -i "s/\${ambariSchemaVersion}/2.5.1/g" Ambari-DDL-Postgres-CREATE.sql
sed -i "s/\${ambariSchemaVersion}/2.5.2/g" Ambari-DDL-Postgres-CREATE.sql

psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
create database ambari;
Expand Down

0 comments on commit 980c594

Please sign in to comment.