YohLee / Learning

学习资料
2 stars 0 forks source link

Ambari 问题归类 #22

Open YohLee opened 4 years ago

YohLee commented 4 years ago

1.Permission denied: user=dr.who, access=READ_EXECUTE, inode="/warehouse 权限问题 解决方案有两种,一是直接修改/warehouse 目录的权限设置,操作如下, /bin/hdfs dfs -chmod -R 755 /tmp 二是直接修改hdfs的权限配置,建议在测试环境下操作:

dfs.permissions.enabled false

2.ambari Service 'hdfs' check failed: Server Error,查看日志: Caused by: org.apache.ambari.server.ClusterNotFoundException: Cluster not found, clusterId=2 at org.apache.ambari.server.state.cluster.ClustersImpl.getCluster(ClustersImpl.java:277) at org.apache.ambari.server.view.ViewRegistry.getCluster(ViewRegistry.java:928) … 101 more 出现原因:在新建文件视图之后,对俩个文件视图进行了对比,发现是集群名字跟hdfs配置没有关联起来 解决方案:新建一个文件视图,发现可以成功查看。 https://blog.csdn.net/weixin_43556228/article/details/101022015

3.Error downloading packages: spark2_3_1_0_0_78-2.3.2.3.1.0.0-78.noarch: [Errno 256] No more mirrors to try. 问题原因:no more mirrors to try,很明显,这是由于源有问题,但是,我们明明已经把源做成了本地源,肯定是没问题的,那么可以使用以下命令进行更新源: (1).yum clean all (2).yum update https://blog.csdn.net/strongyoung88/article/details/53149538

YohLee commented 3 years ago

hive刷票据

kinit -k -t /etc/security/keytabs/hive.service.keytab hive/node2@KRB.COM