分割cd /root cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop- 2.8.3/share/hadoop/common/lib/ cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop-2.8.3/share/hadoop/tools/lib cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop2.8.3/share/hadoop/hƩ pfs/tomcat/webapps/webhdfs/WEB-INF/lib/ cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop-2.8.3/share/hadoop/hdfs/lib/
时间: 2023-07-07 16:29:17 浏览: 327
win10下安装hadoop-2.8.3详细步骤
1. cd /root
2. cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop-2.8.3/share/hadoop/common/lib/
3. cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop-2.8.3/share/hadoop/tools/lib
4. cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop2.8.3/share/hadoop/hdfs/tomcat/webapps/webhdfs/WEB-INF/lib/
5. cp hadoop-huaweicloud-2.8.3-hw-39.jar /home/modules/hadoop-2.8.3/share/hadoop/hdfs/lib/
这里将这段代码分割成了5行,每行代表一个命令。第一行是定位到根目录 /root;接下来四行是复制 hadoop-huaweicloud-2.8.3-hw-39.jar 文件到不同的目录下,分别是 common/lib、tools/lib、webhdfs/WEB-INF/lib 和 hdfs/lib。
阅读全文