![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Problem Summary
工作中遇到问题解决记录
@TangXin
路漫漫其修远兮,吾将上下而求索。
展开
-
Ambari屏蔽大数据组件
文章目录1.问题:2.如果该 Ambari 集群已经部署成功,则操作步骤如下:3.如果该 Ambari 集群尚未部署,则操作步骤如下:1.问题:在 Ambari 页面,屏蔽大数据组件,使其在安装页面上,大数据组件对用户不可见,不可安装。2.如果该 Ambari 集群已经部署成功,则操作步骤如下:在 /var/lib/ambari-server/resources/stacks/HDP/3.1/services 目录下,删除该大数据组件目录及该目录下所有内容;重启 ambari-server:原创 2020-09-29 16:18:32 · 307 阅读 · 0 评论 -
报错:The current failed datanode replacement policy is DEFAULT
文章目录1.问题2.原因3.解决办法1.问题20/08/19 11:20:26 ERROR AsyncEventQueue: Listener EventLoggingListener threw an exceptionjava.io.IOException: Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try. (Nodes: c原创 2020-08-19 11:32:30 · 1473 阅读 · 0 评论 -
Timeline Service V2.0 Reader启动失败
文章目录1.问题2.解决1.问题Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/timelinereader.py", line 119, in <module> ApplicationTimelineReader().execute() File "/usr/lib/ambari-agent/li原创 2020-08-19 09:05:21 · 1636 阅读 · 0 评论 -
CentOS7操作系统启动时报错--error:block 0x955f802 (“xfs_trans_read_buf_map“) error 117
问题: 操作系统启动时报错:error:block 0x955f802 (“xfs_trans_read_buf_map”) error 117 mumblks 1报错信息截图如下:解决:ls -l /dev/mapperumount /dev/mapper/centos-rootxfs_repair /dev/mapper/centos-root -L原创 2020-08-14 13:48:44 · 3541 阅读 · 3 评论 -
docker: Error response from daemon: driver failed programming external connectivity on endpoint
问题:启动容器时报错docker: Error response from daemon: driver failed programming external connectivity on endpoint nginx01 (2045d3145ef7eabb2df755aec8e32409eaa19b696fca4598ead87c8ac047471c): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport原创 2020-07-10 11:05:02 · 589 阅读 · 0 评论 -
Config inconsistency exists: unknown configType=hdfs-site
问题:2020-06-10 11:32:45,987 ERROR [ambari-client-thread-91] HostImpl:1111 - Config inconsistency exists: unknown configType=hdfs-site2020-06-10 11:32:45,988 ERROR [ambari-client-thread-91] HostImpl:1111 - Config inconsistency exists: unknown configType=h原创 2020-06-10 14:01:44 · 375 阅读 · 0 评论 -
linux(CentOS6)服务器可以ping通,但是访问不了--Ip地址:端口--
问题:使用CentOS6版本搭建Ambari集群,在另外一台CentOS6或Window上不能访问 ip:port 服务,节点之间IP和域名可以相互ping通,就是不能访问 IP(域名):端口。解决:最后查到了,仅仅关闭防火墙并不行。应该再开启,再关闭:开启: service iptables start关闭: service iptables stop参考:https://blog.csdn.net/zbuger/article/details/47174401...原创 2020-05-27 15:55:34 · 2666 阅读 · 0 评论 -
HDFS encryption: User:hdfs not allowed to do 'DECRYPT_EEK' on 'key1'
环境:Ambari 2.7.3 - - HDP 3.1.0Hadoop 3.1.1Ranger 1.1.0RangerKMS 1.1.0[root@managerhd ~]# su - hdfs## 作为HDFS管理员,创建一个新的空目录[hdfs@managerhd ~]$ hdfs dfs -mkdir /zone_encr## 使用加密密钥,使目录成为加密区域,...原创 2020-04-01 09:55:40 · 840 阅读 · 0 评论 -
Hue Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worth
问题:thriftpy.transport.TTransportException: TTransportException(type=1, message="Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found'")原因...原创 2020-03-09 11:21:59 · 1119 阅读 · 0 评论 -
Django2.2报错:mysqlclient 1.3.13 or newer is required; you have 0.9.3.
Django连接MySQL时默认使用MySQLdb驱动,但MySQLdb不支持Python3,因此这里将MySQL驱动设置为pymysql,使用 pip install pymysql 进行安装,然后在工程文件__init__.py添加以下代码即可。pip install pymysqlimport pymysqlpymysql.install_as_MySQLdb()方法1:...原创 2019-12-18 16:38:50 · 689 阅读 · 1 评论 -
Excel鼠标所在行列填充颜色
打开需要设置的工作簿,按下快捷键:Alt + F11在跳出的窗口中,双击选中需要设置的工作簿,填充如下内容:Private Sub Worksheet_SelectionChange(ByVal Target As Range) With Target .Parent.Cells.Interior.ColorIndex = xlNone .Entir...原创 2019-11-21 17:29:15 · 3363 阅读 · 0 评论 -
Postman发送POST请求时报错:HTTP Status 400 - Missing Required Header for CSRF Vulnerability Protection
<html> <head> <title>Apache Tomcat/7.0.85 - Error report</title> <style> <!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;backgr...原创 2019-09-02 14:15:11 · 3089 阅读 · 0 评论 -
问题: java.lang.NoClassDefFoundError:org/apache/hadoop/mapred/InputSplitWithLocationInfo
问题描述:Exception in thread “dag-scheduler-event-loop” java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/InputSplitWithLocationInfo缺少jar包在pom.xml文件中添加以下内容&lt;dependency&gt; &lt;groupId&gt;or...原创 2018-12-26 10:22:51 · 3146 阅读 · 1 评论