User root is not allowed to impersonate anonymous                     

简介: 错误:bymain is not allowed to impersonate hadoop(或者         User root is not allowed to impersonate anonymou...
错误:
1 修改/home/bymain/hadoop-3.0/etc/hadoop/core-site.xml
添加 两条属性:
hadoop.proxyuser.bymain.hosts
*

hadoop.proxyuser.bymain.groups
*

bymain是当前操作的用户名
重启 hadoop
----------------------------------------------------------------------
2错误 :
Permission denied: user=hadoop, access=EXECUTE, inode="/tmp":bymain:supergroup:drwx------、
修改 tmp 权限
hadoop fs -chmod 755 /tmp
重启 hadoop
-------------------------------------------------------------------------
3错误:
Permission denied: user=hadoop, access=EXECUTE, inode="/user/hive/warehouse ":bymain:supergroup:drwx------、

修改权限
hadoop fs -chmod 755 /user/hive/warehouse

4.还有就是重启mysql服务 su 到root下 service mysqld restart
5. pas aux|grep 10000,看hiveserver2是否正在运行!!!!!
记得重启hadoop
相关文章
|
5月前
|
关系型数据库 MySQL 数据库
【已解决】ERROR 1045 - Access denied for user ‘root‘@‘localhost‘ (using password: YES)
【已解决】ERROR 1045 - Access denied for user ‘root‘@‘localhost‘ (using password: YES)
|
存储 关系型数据库 MySQL
The user specified as a definer (‘root‘@‘%‘) does not exist
The user specified as a definer (‘root‘@‘%‘) does not exist
132 0
Access denied for user ''@'localhost' (using password: NO)问题的解决
Access denied for user ''@'localhost' (using password: NO)问题的解决
128 0
|
缓存 关系型数据库 MySQL
ERROR 1698 (28000): Access denied for user ‘root‘@‘localhost‘解决方法
ERROR 1698 (28000): Access denied for user ‘root‘@‘localhost‘解决方法
356 0
|
关系型数据库 MySQL 数据库
ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘解决方法
ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘解决方法
419 1
|
SQL 关系型数据库 MySQL
Access denied for user ‘root‘ @‘123.233.244.218‘(using password:YES)的解决方法
Access denied for user ‘root‘ @‘123.233.244.218‘(using password:YES)的解决方法
246 1
Access denied for user ‘root‘ @‘123.233.244.218‘(using password:YES)的解决方法
|
关系型数据库 MySQL 数据库
ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
390 0
ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
|
关系型数据库 MySQL
The user specified as a definer (‘root‘@‘%‘) does not exist(已解决)
The user specified as a definer (‘root‘@‘%‘) does not exist(已解决)
818 0
The user specified as a definer (‘root‘@‘%‘) does not exist(已解决)
|
关系型数据库 MySQL 数据库
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES/NO)
初次安装mysql,net start mysql,然后输入mysql -u root -p, 出现enter password,我直接点击回车,结果出现如果下错误: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)。
4352 1
|
关系型数据库 MySQL 数据安全/隐私保护
ERROR 1142 (42000): GRANT command denied to user ** 或 ERROR 1045 (28000): Access denied for user '**'@'localhost' (using password: YES)
ERROR 1142 (42000): GRANT command denied to user ** 或 ERROR 1045 (28000): Access denied for user '**'@'localhost' (using password: YES)
816 0