In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the hadoop startup times ssh error how to do, the article is very detailed, has a certain reference value, interested friends must read it!
1) question:
When hadoop starts, report ssh: Could not resolve hostname xxx: Name or service not known
2) error message:
[root [@ master] (https://my.oschina.net/u/48054) hadoop-2.2.0] # sbin/start-dfs.sh 17-08-06 13:08:59 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... Using builtin-java classes where applicableStarting namenodes on [Java HotSpot (TM) 64-Bit Server VM warning: You have loaded library / data/cloud/hadoop/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.It's highly recommended that you fix the library with 'execstack-c', or link it with'- z noexecstack'.master] sed:-e expression # 1 Char 6: unknown option to `s'library: ssh: Could not resolve hostname library: Name or service not knownloaded: Could not resolve hostname loaded: Name or service not knownVM: ssh: Could not resolve hostname VM: Name or service not knownhave: ssh: Could not resolve hostname have: Name or service not knownServer: ssh: Could not resolve hostname Server: Name or service not known64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not knownhave: ssh: Could not resolve hostname have: Name or service not knowndisabled: ssh: Could not resolve hostname disabled: Name or service not knownVM: ssh: Could not resolve hostname VM: Name or service not knownto: ssh: Could not resolve hostname to: No address associated with hostnameJava: ssh: Could not resolve hostnameJava: No address associated with hostnamewhich: ssh: Could not resolve hostnamewhich: Name or service not knownwill: ssh: Could not resolve hostname will: Name or service not knownmight: ssh: Could not resolve hostname might: Name or service not knownstack: ssh: Could not resolve hostname stack: Name or service not knownThe: ssh: Could not resolve hostname The: Name or service not knownstack: ssh: Could not resolve hostname stack: Name or service not knownguard.: ssh: Could not resolve hostname guard.: Name or service not knownrecommended: ssh: Could not resolve hostname recommended: Name or service not knownguard: ssh: Could not resolve hostname guard: Name or service not knowntry: ssh: Could not resolve hostname try: Name or service not knownfix: ssh: Could not resolve hostname fix: Name or service not known-c: Unknown cipher type 'cd'fix: ssh: Could not resolve hostname fix: Name or service not knownthe: ssh: Could not resolve hostname the: Name or service not Knownthe: ssh: Could not resolve hostname the: Name or service not knownwith: ssh: Could not resolve hostnamewith: Name or service not knownit: ssh: Could not resolve hostname it: ssh: Could not resolve hostnamewith: Name or service not knownor: ssh: Could not resolve hostname or: Name or service not knownThe authenticity of host 'master (192.168.1.110)' can't be established.RSA key fingerprint is db:8e:ce:15:18:ad:9d:16:0e:88:98:0d: Da:06:e4:18.Are you sure you want to continue connecting (yes/no)? That: ssh: Could not resolve hostname that: Name or service not knownhighly: ssh: Could not resolve hostname highly: Name or service not knownlibrary: ssh: Could not resolve hostname library: Could not resolve hostname now.: No address associated with hostnameYou: ssh: Could not resolve hostnameYou: No address associated with hostnameyou: ssh: Could not resolve hostnameyou: No address associated with hostnamelink: ssh: Could not resolve hostnamelink: No address associated with hostnameHotSpot (TM): ssh: Could not resolve hostnameHotSpot (TM): Temporary failure in name Resolutionwarning:: ssh: Could not resolve hostname warning:: Temporary failure in name resolutionIt's: ssh: Could not resolve hostname It's: Temporary failure in name resolution' : ssh: Could not resolve hostname',: Temporary failure in name resolution'execstack: ssh: Could not resolve hostname 'execstack: Temporary failure in name resolution'-z: ssh: Could not resolve hostname'-z: Temporary failure in name resolutionnoexecstack'.: ssh: Could not resolve hostname noexecstack'.: Temporary failure in name resolution
3) solution:
Add: export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native export HADOOP_OPTS=-Djava.library.path=$HADOOP_HOME/lib Note: export HADOOP_OPTS=-Djava.library.path=$HADOOP_HOME/lib, not export HADOOP_OPTS= "- Djava.library.path=$HADOOP_HOME/lib" in the / etc/profile file. These are all the contents of the article "what to do with ssh errors in the hadoop Startup Times". 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.