07 2022 档案
摘要:参考地址:https://blog.csdn.net/weixin_53060366/article/details/125003182
阅读全文
摘要:一、错误日志 java.io.FileNotFoundException: File does not exist: hdfs://aaa/user/yarn/mapreduce/mr-framework/3.0.0-cdh6.1.0-mr-framework.tar.gz at org.apach
阅读全文
摘要:一、报错日志 2022-07-21 09:12:42,274 WARN - [main-SendThread(hadoop01:2181):] ~ Client session timed out, have not heard from server in 34640ms for sessioni
阅读全文
摘要:一、查看坏块 hadoop fsck / 二、尝试使用修复命令修复 三、若无法修复,则将坏块删除 hadoop fsck -delete 坏块路径(HDFS上的文件路径) 参考地址:https://blog.csdn.net/LSB19930706/article/details/116641257
阅读全文
摘要:一、统计文件夹下文件的数量 1、查看当前目录下的文件数量(不包含子目录中的文件) # ls -l 查询当前目录下文件的详细信息 # grep "^-" 使用正则匹配,其中 ^ 表示锚定行的开始,- 表示文件,^- 表示匹配以 - 开始的行,即匹配文件 # wc -l 表示统计输出信息的行数 ls -
阅读全文
摘要:一、报错日志 No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:621) at java.lang.
阅读全文
摘要:一、、下载阿里云yum源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 二、清空yum缓存 yum clean all 三、查看yum源的列表并自动下载一些相应的元数据存到
阅读全文
摘要:一、错误日志 2022-07-12 10:21:43,386 ERROR - [main:] ~ Exception thrown creating StoreManager. See the nested exception (Log4JLogger:125) Error creating tra
阅读全文
摘要:一、HDFS的NameNode主备切换致使HBase集群挂掉 1、解决 (1)查询CDH中的hdfs-site.xml配置文件,找到dfs.nameservices的值,此值为:namenodeserver(集群名称) (2)复制hdfs-site.xml配置文件至/opt/module/hbase
阅读全文
摘要:一、在Linux上以root账号登录主机 二、在主机上登录MySQL mysql -uroot -p123456 三、先删除原来的 root@% 用户(若之前没有创建,则跳过此步骤) drop user 'root'@'%'; 四、删除成功了,再创建用户 root@% create user 'ro
阅读全文
摘要:一、先安照如下地址尝试修改,若修改成功,则不必进行下一步 https://www.likecs.com/show-702538.html 二、若遇到500错误,则参考如下地址进行修改,若修改成功,则不必进行下一步 https://zhidao.baidu.com/question/502853109
阅读全文
摘要:一、错误日志 Server slave1.cdh,16020,1657157836878 has been rejected; Reported time is too far out of sync with master. Time difference of 73287ms > max all
阅读全文
摘要:一、错误日志如下: 下午4点43:28.444分 ERROR KafkaSink Failed to publish events java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.NetworkExcep
阅读全文