ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
- 启动hadoop ``` start-dfs.sh start-yarn.sh ``` - 停止hadoop ``` stop-dfs.sh stop-yarn.sh ``` > 启动或停止所有,即:HDFS和Yarn ### 配置hadoop环境变量 让命令随处可行 export HADOOP_HOME=/opt/hadoop/hadoop-2.6.0-cdh5.4.0 export PATH=${HADOOP_HOME}/bin:${HADOOP_HOME}/sbin:$PATH ### 创建目录等操作 hadoop dfs -mkdir /test/input hadoop dfs -ls / hadoop dfs -put test.txt /test/input