[hd@master hive]$ schematool -dbType mysql -initSchema
Initialization script completed #表示初始化成功
schemaTool completed
如图所示:

[hd@master hive]$ schematool -dbType mysql -initSchema
Initialization script completed #表示初始化成功
schemaTool completed
如图所示: