| # 启动hadoop集群后DataNode不显示 |
| # 执行命令 hdfs dfs -ls -R / 不起作用 |
| |
| hdfs namenode -format |
| |
| |
| |
| cd /opt/software/hadoop-2.9.2/dfs |
| rm -rf data |
| mkdir data |
| |
| |
| |
| |
| Application application_1705164916779_0001 failed 1 times (global limit =2; local limit is =1) due to AM Container for appattempt_1705164916779_0001_000001 exited with exitCode: 1 |
| Failing this attempt.Diagnostics: [2024-01-14 00:57:25.540]Exception from container-launch. |
| Container id: container_1705164916779_0001_01_000001 |
| Exit code: 1 |
| [2024-01-14 00:57:25.550]Container exited with a non-zero exit code 1. Error file: prelaunch.err. |
| Last 4096 bytes of prelaunch.err : |
| Last 4096 bytes of stderr : |
| 错误: 找不到或无法加载主类 org.apache.spark.deploy.yarn.ApplicationMaster |
| [2024-01-14 00:57:25.551]Container exited with a non-zero exit code 1. Error file: prelaunch.err. |
| Last 4096 bytes of prelaunch.err : |
| Last 4096 bytes of stderr : |
| 错误: 找不到或无法加载主类 org.apache.spark.deploy.yarn.ApplicationMaster |
| For more detailed output, check the application tracking page: http://slave3:8088/cluster/app/application_1705164916779_0001 Then click on links to logs of each attempt. |
| . Failing the application. |
| |
| |
| |
| hdfs dfs -mkdir /spark/hive-jars |
| hadoop fs -put /usr/local/software/spark-2.2.0/jars/* /spark/hive-jars |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?