In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces what problems will be encountered when debugging hadoop examples. It is very detailed and has a certain reference value. Friends who are interested must finish reading it!
After installing the plug-in for hadoop in eclipse, you cannot connect to dfs
Modify the localhost configured in etc/hadoop/core-site.xml to ip address
After connecting to dfs, the file cannot be uploaded or deleted
[root@localhost hadoop-2.6.3] # vi etc/hadoop/mapred-site.xml.template [root@localhost hadoop-2.6.3] # cp etc/hadoop/mapred-site.xml.template etc/hadoop/mapred-site.xml
Add the following configuration
Dfs.permissions false
When running remotely under windows 7, you need the winutils.exe corresponding to the version
Download address corresponding to hadoop2.6: http://down.51cto.com/data/1983230
Add the following variable settings to the code
System.setProperty ("hadoop.home.dir", "D:\ open_source\\ zip\\ hadoop\\ hadoop-2.6.3"); System.setProperty ("HADOOP_HOME", "D:\ open_source\\ zip\\ hadoop\\ hadoop-2.6.3")
Or add PATH,HADDOOP_HOME in the eclisep-> run-> Run Configurations-> Environment tab
HADOOP_HOME D:\ open_source\ zip\ hadoop\ hadoop-2.6.3
PATH% PATH%;D:\ open_source\ zip\ hadoop\ hadoop-2.6.3\ bin
The above is all the contents of the article "what problems you will encounter when debugging hadoop samples". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.