摘要:
在hadoop安装目录下:/hadoop2/hadoop-2.7.3 1.创建目录 bin/hdfs dfs -mkdir /user bin/hdfs dfs -mkdir /user/<username> 在HDFS中创建一个名为path的目录,如果它的上级目录不存在,也会被创建,如同linux 阅读全文
posted @ 2018-07-23 15:47
王毅2016
阅读(851)
评论(0)
推荐(0)
摘要:
执行 #!/bin/bash #声明使用的解释器 echo "Hello World !" #输出语句 chmod +x ./test.sh #赋予可执行权限 ./test.sh #执行脚本 bin/sh test.sh #也可以解释器运行 shell 变量 可以用语句赋值 for file in 阅读全文
posted @ 2018-07-23 15:45
王毅2016
阅读(176)
评论(0)
推荐(0)
摘要:
1. 阅读全文
posted @ 2018-07-23 15:44
王毅2016
阅读(119)
评论(0)
推荐(0)