In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. View fsp_w_picpath image file
$hdfs oiv-I xxxImage-o xxx.xml-p XML
After export, put it into eclipse and format it with shift+ctrl+f and view it.
two。 View the edit_xxx edit log file
$hdfs oev-I xxx_edit-o xxx.xml-p XML
3.hadoop fs = hdfs dfs
4.$hdfs datanode
Run a datanode program in the foreground. If you want to put it from the foreground to the background, execute ctrl+z first.
Then the selected command can be called out with bg% jobnumber
% jobnumber is the sequence number (not pid) of the command being executed in the background found through the jobs command.
5. You need to add log4j.properties in windows programming
Find location: [{hadoop_home} / etc/hadoop/log4j.properties]
Put it into src/log4j.properties
6. Shut down the nodemanager and resourcemanager processes
Execute on datanode
$yarn-daemon.sh stop/start nodemanger
Execute on namenode
$yarn-daemon.sh stop/start resourcemanager
7. The foreground starts the balancer balancer
$hdfs balancer
8. Merge getmerge command
$hdfs dfs-getmerge-nl / user/ubuntu/data/hi.txt / user/ubuntu/data/hello.txt ~ / merge.txt
In fact, it merges two pieces of content and downloads them locally.
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.