分享

hive启动metastore所报的问题,求解决!!

北北北 发表于 2016-4-19 11:30:59 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 16 68697
北北北 发表于 2016-4-20 10:14:27
bioger_hit 发表于 2016-4-19 22:25
grant reload on *.* to 你的用户

格式如下

mysql> grant reload on *.* to 'test'@'Master';
ERROR 1045 (28000): Access denied for user 'hive'@'%' (using password: YES)
mysql>


[root@Master Desktop]# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

现在是这个问题

回复

使用道具 举报

atsky123 发表于 2016-4-20 10:17:17
北北北 发表于 2016-4-20 10:14
mysql> grant reload on *.* to 'test'@'Master';
ERROR 1045 (28000): Access denied for user 'hive'@ ...

建议楼主先熟悉下一些mysql相关知识
grant reload on *.* to 'hive'@'Master';
回复

使用道具 举报

北北北 发表于 2016-4-20 10:21:24
atsky123 发表于 2016-4-20 10:17
建议楼主先熟悉下一些mysql相关知识
grant reload on *.* to 'hive'@'Master';

mysql> grant reload on *.* to 'hive'@'Master';
ERROR 1045 (28000): Access denied for user 'hive'@'%' (using password: YES)
谢谢,我记得我权限已经赋了啊,
Your MySQL connection id is 1
Server version: 5.1.73 Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> select host,user from user;
+--------+------+
| host   | user |
+--------+------+
| %      | hive |
| Master | hive |
| Master | root |
| master | hive |
| master | root |
+--------+------+
5 rows in set (0.00 sec)

这个不对吗

回复

使用道具 举报

bioger_hit 发表于 2016-4-20 17:57:03
北北北 发表于 2016-4-20 10:21
mysql> grant reload on *.* to 'hive'@'Master';
ERROR 1045 (28000): Access denied for user 'hive'@ ...

mysql问题比较多,可能安装的过程中就有问题。建议重置下。然后找个好文档,或则专门看些mysql视频。
否则可能一个错误连着另外一个错误
回复

使用道具 举报

wscl1213 发表于 2016-4-20 18:03:38
先用root用户给其它用户授权,授予全部权限。root用户,楼主还有两个?而且还有大小写?
回复

使用道具 举报

北北北 发表于 2016-4-21 20:20:12
wscl1213 发表于 2016-4-20 18:03
先用root用户给其它用户授权,授予全部权限。root用户,楼主还有两个?而且还有大小写?

谢谢,有没有靠谱点的hive安装教程啊???
回复

使用道具 举报

wscl1213 发表于 2016-4-22 15:42:53
北北北 发表于 2016-4-21 20:20
谢谢,有没有靠谱点的hive安装教程啊???

单独的没有,有个整合。可以去除hbase部分。剩下的都是一样的。对于网络学习,楼主尽量多参考几篇文章,这样更全面,不容易出错。
hbase0.96与hive0.12整合高可靠文档及问题总结
http://www.aboutyun.com/forum.php?mod=viewthread&tid=7881


回复

使用道具 举报

12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条