In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
[root@ldy conf] # hadoop fs-ls / ls is similar to the linux command
Warning: $HADOOP_HOME is deprecated.
Found 1 items
Drwxr-xr-x-root supergroup 0 2016-07-05 15:55 / user
[root@ldy conf] #
[root@ldy conf] # hadoop fs-mkdir / user/root/zby creates a directory similar to the linux command
Warning: $HADOOP_HOME is deprecated.
[root@ldy conf] # hadoop fs-ls / user/root/
Warning: $HADOOP_HOME is deprecated.
Found 4 items
-rw-r--r-- 1 root supergroup 2052 2016-07-05 16:01 / user/root/hadoop-metrics2.properties
-rw-r--r-- 1 root supergroup 2460 2016-07-05 15:55 / user/root/input
Drwxr-xr-x-root supergroup 0 2016-07-05 15:57 / user/root/input1
Drwxr-xr-x-root supergroup 0 2016-07-05 16:13 / user/root/zby
[root@ldy conf] #
[root@ldy conf] hadoop fs-put hadoop-env.sh / user/root/ uploads files to the specified directory
Warning: $HADOOP_HOME is deprecated.
[root@ldy conf] #
[root@ldy conf] # hadoop fs-cat / user/root/hadoop-env.sh to view uploaded files
Warning: $HADOOP_HOME is deprecated.
# Set Hadoop-specific environment variables here.
# The only required environment variable is JAVA_HOME. All others are
# optional. When running a distributed configuration it is best to
# set JAVA_HOME in this file, so that it is correctly defined on
[root@ldy conf] # hadoop fs-get / user/root/hadoop-env.sh hadoop-env.sh3 download the specified file
Warning: $HADOOP_HOME is deprecated.
[root@ldy conf] # ls hadoop-env.sh3 to view downloaded files
Hadoop-env.sh3
[root@ldy conf] #
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.