In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. View help
Hadoop fs-help
2. Upload
Hadoop fs-put
Such as hadoop fs-put test.log /
3. View the contents of the file
Hadoop fs-cat
For example: hadoop fs-cat / test.log
4. View the list of files
Hadoop fs-ls /
5. Download the file
Hadoop fs-get
6. Create a directory: hadoop fs-mkdir
Such as hadoop fs-mkdir / myDir
7. Delete the file: hadoop fs-rm-r
8. Execute jar: such as the wordcount program that comes with hadoop.
Hadoop jar hadoop-mapreduce-examples-2.4.1.jar wordcount/ wordcount/in / wordcount/out
The execution result is as follows:
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.