๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ’ปTech/๐Ÿ˜hadoop

Ambari table ์ƒ์„ฑ

by _viper_ 2020. 2. 14.
๋ฐ˜์‘ํ˜•

Ambari ์„ค์น˜ ํ›„ ์‹คํ–‰ํ•˜๊ธฐ ์ „ ๊ด€๋ จ ํ…Œ์ด๋ธ”์„ ์ƒ์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

์ƒ์„ฑํ•˜์ง€ ์•Š๊ณ  ambari-server start ์‹คํ–‰์„ ํ•˜๋ฉด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

 

ambari ์„ค์น˜๊ฐ€ ์™„๋ฃŒ ๋˜์—ˆ์œผ๋ฉด ์•„๋ž˜ ๋ช…๋ น์–ด ์‹คํ–‰ํ•ด์„œ ๊ด€๋ จ ํ…Œ์ด๋ธ”์„ ๋ชจ๋‘ ์ƒ์„ฑํ•ด ์ค๋‹ˆ๋‹ค.

mysql -u ambari -p ambari < /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql