用的是Hadoop2.7.3+Hive2.1.0+mysql-connector-java-5.1.40-bin.jar,按照老师教的没有启动成功。第一次运行需要初始化,需要运行schematool -dbType mysql -initSchema(在conf 下的文件),然后再运行hive
2016-12-23
老师的配置没有问题,连接不上可能是mysql不允许远程登录所致
Use mysql
Select host,user from user;
Update user set hose = ‘%’ where user = ‘root’;
Flush privileges;
Use mysql
Select host,user from user;
Update user set hose = ‘%’ where user = ‘root’;
Flush privileges;
2016-12-13