In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the example analysis of the simple type of Hadoop1.2.1 configuration user authentication, the article is very detailed, has a certain reference value, interested friends must read it!
1. Configure the core-site.xml file, which needs to be configured as follows
Hadoop.http.filter.initializers org.apache.hadoop.security.AuthenticationFilterInitializer hadoop.http.authentication.type simple hadoop.http.authentication.token.validity 36000 hadoop.http.authentication.signature.secret.file / home/wukong/hadoop-http-auth-signature-secret hadoop.http.authentication.cookie.domain hadoop.http.authentication.simple.anonymous.allowed false
2. Add the file / home/wukong/hadoop-http-auth-signature-secret and edit the content. Write the English user name you want in it, such as: admin in the file.
3. Copy core-site.xml and hadoop-http-auth-signature-secret files to all nodes
4. Just start hadoop.
Access to http://192.168.1.11:50070/dfshealth.jsp, because there is no authentication information, so will report a 401 error.
When you access http://192.168.1.11:50070/dfshealth.jsp?user.name=admin, you can open it normally.
The above is all the contents of the article "sample Analysis of simple types of Hadoop1.2.1 configuration user Authentication". 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.