linux64位安装hadoop2.2.0报本地库不匹配错误

配置好hadoop后,格式化namenode时报错:

[root@sjfx home]# hadoop namenode -format
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

08/01/25 00:27:02 INFO namenode.NameNode: STARTUP_MSG: 
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = sjfx/192.168.57.127
STARTUP_MSG:   args = [-format]
STARTUP_MSG:   version = 2.2.0
STARTUP_MSG:   classpath = /home/hadoop/etc/hadoop:/home/hadoop/share/hadoop/common/lib/netty-3.6.2.Final.jar:/home/hadoop/share/hadoop/common/lib/junit-4.8.2.jar:/home/hadoop/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/home/hadoop/share/hadoop/common/lib/log4j-1.2.17.jar:/home/hadoop/share/hadoop/common/lib/slf4j-api-1.7.5.jar:/home/hadoop/share/hadoop/common/lib/jackson-mapper-asl-1.8.8.jar:/home/hadoop/share/hadoop/common/lib/jackson-core-asl-1.8.8.jar:/home/hadoop/share/hadoop/common/lib/jasper-runtime-5.5.23.jar:/home/hadoop/share/hadoop/common/lib/commons-lang-2.5.jar:/home/hadoop/share/hadoop/common/lib/jersey-core-1.9.jar:/home/hadoop/share/hadoop/common/lib/commons-compress-1.4.1.jar:/home/hadoop/share/hadoop/common/lib/jersey-server-1.9.jar:/home/hadoop/share/hadoop/common/lib/jets3t-0.6.1.jar:/home/hadoop/share/hadoop/common/lib/commons-io-2.1.jar:/home/hadoop/share/hadoop/common/lib/guava-11.0.2.jar:/home/hadoop/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/home/hadoop/share/hadoop/common/lib/jsr305-1.3.9.jar:/home/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar:/home/hadoop/share/hadoop/common/lib/jettison-1.1.jar:/home/hadoop/share/hadoop/common/lib/servlet-api-2.5.jar:/home/hadoop/share/hadoop/common/lib/jetty-6.1.26.jar:/home/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar:/home/hadoop/share/hadoop/common/lib/commons-digester-1.8.jar:/home/hadoop/share/hadoop/common/lib/commons-logging-1.1.1.jar:/home/hadoop/share/hadoop/common/lib/stax-api-1.0.1.jar:/home/hadoop/share/hadoop/common/lib/jackson-xc-1.8.8.jar:/home/hadoop/share/hadoop/common/lib/jsch-0.1.42.jar:/home/hadoop/share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/home/hadoop/share/hadoop/common/lib/jsp-api-2.1.jar:/home/hadoop/share/hadoop/common/lib/commons-net-3.1.jar:/home/hadoop/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/home/hadoop/share/hadoop/common/lib/zookeeper-3.4.5.jar:/home/hadoop/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/hadoop/share/hadoop/common/lib/asm-3.2.jar:/home/hadoop/share/hadoop/common/lib/hadoop-auth-2.2.0.jar:/home/hadoop/share/hadoop/common/lib/avro-1.7.4.jar:/home/hadoop/share/hadoop/common/lib/commons-math-2.1.jar:/home/hadoop/share/hadoop/common/lib/xz-1.0.jar:/home/hadoop/share/hadoop/common/lib/activation-1.1.jar:/home/hadoop/share/hadoop/common/lib/paranamer-2.3.jar:/home/hadoop/share/hadoop/common/lib/mockito-all-1.8.5.jar:/home/hadoop/share/hadoop/common/lib/commons-httpclient-3.1.jar:/home/hadoop/share/hadoop/common/lib/jetty-util-6.1.26.jar:/home/hadoop/share/hadoop/common/lib/xmlenc-0.52.jar:/home/hadoop/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/home/hadoop/share/hadoop/common/lib/jersey-json-1.9.jar:/home/hadoop/share/hadoop/common/lib/commons-codec-1.4.jar:/home/hadoop/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/home/hadoop/share/hadoop/common/lib/jasper-compiler-5.5.23.jar:/home/hadoop/share/hadoop/common/lib/commons-el-1.0.jar:/home/hadoop/share/hadoop/common/lib/jackson-jaxrs-1.8.8.jar:/home/hadoop/share/hadoop/common/lib/commons-configuration-1.6.jar:/home/hadoop/share/hadoop/common/lib/hadoop-annotations-2.2.0.jar:/home/hadoop/share/hadoop/common/hadoop-common-2.2.0-tests.jar:/home/hadoop/share/hadoop/common/hadoop-common-2.2.0.jar:/home/hadoop/share/hadoop/common/hadoop-nfs-2.2.0.jar:/home/hadoop/share/hadoop/hdfs:/home/hadoop/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/home/hadoop/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/home/hadoop/share/hadoop/hdfs/lib/jackson-mapper-asl-1.8.8.jar:/home/hadoop/share/hadoop/hdfs/lib/jackson-core-asl-1.8.8.jar:/home/hadoop/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/home/hadoop/share/hadoop/hdfs/lib/jasper-runtime-5.5.23.jar:/home/hadoop/share/hadoop/hdfs/lib/commons-lang-2.5.jar:/home/hadoop/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/home/hadoop/share/hadoop/hdfs/lib/jersey-server-1.9.jar:/home/hadoop/share/hadoop/hdfs/lib/commons-io-2.1.jar:/home/hadoop/share/hadoop/hdfs/lib/guava-11.0.2.jar:/home/hadoop/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/home/hadoop/share/hadoop/hdfs/lib/jsr305-1.3.9.jar:/home/hadoop/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/home/hadoop/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/home/hadoop/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/home/hadoop/share/hadoop/hdfs/lib/commons-logging-1.1.1.jar:/home/hadoop/share/hadoop/hdfs/lib/jsp-api-2.1.jar:/home/hadoop/share/hadoop/hdfs/lib/asm-3.2.jar:/home/hadoop/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/home/hadoop/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/home/hadoop/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/home/hadoop/share/hadoop/hdfs/lib/commons-el-1.0.jar:/home/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.2.0-tests.jar:/home/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.2.0.jar:/home/hadoop/share/hadoop/hdfs/hadoop-hdfs-nfs-2.2.0.jar:/home/hadoop/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/home/hadoop/share/hadoop/yarn/lib/log4j-1.2.17.jar:/home/hadoop/share/hadoop/yarn/lib/jackson-mapper-asl-1.8.8.jar:/home/hadoop/share/hadoop/yarn/lib/jackson-core-asl-1.8.8.jar:/home/hadoop/share/hadoop/yarn/lib/jersey-core-1.9.jar:/home/hadoop/share/hadoop/yarn/lib/javax.inject-1.jar:/home/hadoop/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/home/hadoop/share/hadoop/yarn/lib/jersey-server-1.9.jar:/home/hadoop/share/hadoop/yarn/lib/aopalliance-1.0.jar:/home/hadoop/share/hadoop/yarn/lib/commons-io-2.1.jar:/home/hadoop/share/hadoop/yarn/lib/guice-3.0.jar:/home/hadoop/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:/home/hadoop/share/hadoop/yarn/lib/junit-4.10.jar:/home/hadoop/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/home/hadoop/share/hadoop/yarn/lib/snappy-java-1.0.4.1.jar:/home/hadoop/share/hadoop/yarn/lib/hamcrest-core-1.1.jar:/home/hadoop/share/hadoop/yarn/lib/asm-3.2.jar:/home/hadoop/share/hadoop/yarn/lib/avro-1.7.4.jar:/home/hadoop/share/hadoop/yarn/lib/xz-1.0.jar:/home/hadoop/share/hadoop/yarn/lib/paranamer-2.3.jar:/home/hadoop/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/home/hadoop/share/hadoop/yarn/lib/hadoop-annotations-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-common-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-site-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-server-tests-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-api-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-server-common-2.2.0.jar:/home/hadoop/share/hadoop/yarn/hadoop-yarn-client-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/home/hadoop/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/home/hadoop/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.8.8.jar:/home/hadoop/share/hadoop/mapreduce/lib/jackson-core-asl-1.8.8.jar:/home/hadoop/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/home/hadoop/share/hadoop/mapreduce/lib/javax.inject-1.jar:/home/hadoop/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:/home/hadoop/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/home/hadoop/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/home/hadoop/share/hadoop/mapreduce/lib/commons-io-2.1.jar:/home/hadoop/share/hadoop/mapreduce/lib/guice-3.0.jar:/home/hadoop/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/home/hadoop/share/hadoop/mapreduce/lib/junit-4.10.jar:/home/hadoop/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/home/hadoop/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/home/hadoop/share/hadoop/mapreduce/lib/hamcrest-core-1.1.jar:/home/hadoop/share/hadoop/mapreduce/lib/asm-3.2.jar:/home/hadoop/share/hadoop/mapreduce/lib/avro-1.7.4.jar:/home/hadoop/share/hadoop/mapreduce/lib/xz-1.0.jar:/home/hadoop/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/home/hadoop/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/home/hadoop/share/hadoop/mapreduce/lib/hadoop-annotations-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar:/home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.2.0-tests.jar:/contrib/capacity-scheduler/*.jar:/contrib/capacity-scheduler/*.jar
STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/common -r 1529768; compiled by 'hortonmu' on 2013-10-07T06:28Z
STARTUP_MSG:   java = 1.7.0_45
************************************************************/
08/01/25 00:27:02 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT]
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hadoop/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 <libfile>', or link it with '-z noexecstack'.
08/01/25 00:27:03 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
08/01/25 00:27:03 WARN common.Util: Path /hadoop/hdfs/name should be specified as a URI in configuration files. Please update hdfs configuration.
08/01/25 00:27:03 WARN common.Util: Path /hadoop/hdfs/name should be specified as a URI in configuration files. Please update hdfs configuration.
Formatting using clusterid: CID-e335ddca-d64a-4a8e-adb2-85b447c0a796
08/01/25 00:27:03 INFO namenode.HostFileManager: read includes:
HostSet(
)
08/01/25 00:27:03 INFO namenode.HostFileManager: read excludes:
HostSet(
)
08/01/25 00:27:03 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit=1000
08/01/25 00:27:03 INFO util.GSet: Computing capacity for map BlocksMap
08/01/25 00:27:03 INFO util.GSet: VM type       = 64-bit
08/01/25 00:27:03 INFO util.GSet: 2.0% max memory = 889 MB
08/01/25 00:27:03 INFO util.GSet: capacity      = 2^21 = 2097152 entries
08/01/25 00:27:03 INFO blockmanagement.BlockManager: dfs.block.access.token.enable=false
08/01/25 00:27:03 INFO blockmanagement.BlockManager: defaultReplication         = 3
08/01/25 00:27:03 INFO blockmanagement.BlockManager: maxReplication             = 512
08/01/25 00:27:03 INFO blockmanagement.BlockManager: minReplication             = 1
08/01/25 00:27:03 INFO blockmanagement.BlockManager: maxReplicationStreams      = 2
08/01/25 00:27:03 INFO blockmanagement.BlockManager: shouldCheckForEnoughRacks  = false
08/01/25 00:27:03 INFO blockmanagement.BlockManager: replicationRecheckInterval = 3000
08/01/25 00:27:03 INFO blockmanagement.BlockManager: encryptDataTransfer        = false
08/01/25 00:27:03 INFO namenode.FSNamesystem: fsOwner             = root (auth:SIMPLE)
08/01/25 00:27:03 INFO namenode.FSNamesystem: supergroup          = supergroup
08/01/25 00:27:03 INFO namenode.FSNamesystem: isPermissionEnabled = true
08/01/25 00:27:03 INFO namenode.FSNamesystem: Determined nameservice ID: ns1
08/01/25 00:27:03 INFO namenode.FSNamesystem: HA Enabled: false
08/01/25 00:27:03 INFO namenode.FSNamesystem: Append Enabled: true
08/01/25 00:27:03 INFO util.GSet: Computing capacity for map INodeMap
08/01/25 00:27:03 INFO util.GSet: VM type       = 64-bit
08/01/25 00:27:03 INFO util.GSet: 1.0% max memory = 889 MB
08/01/25 00:27:03 INFO util.GSet: capacity      = 2^20 = 1048576 entries
08/01/25 00:27:03 INFO namenode.NameNode: Caching file names occuring more than 10 times
08/01/25 00:27:03 INFO namenode.FSNamesystem: dfs.namenode.safemode.threshold-pct = 0.9990000128746033
08/01/25 00:27:03 INFO namenode.FSNamesystem: dfs.namenode.safemode.min.datanodes = 0
08/01/25 00:27:03 INFO namenode.FSNamesystem: dfs.namenode.safemode.extension     = 30000
08/01/25 00:27:03 INFO namenode.FSNamesystem: Retry cache on namenode is enabled
08/01/25 00:27:03 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis
08/01/25 00:27:03 INFO util.GSet: Computing capacity for map Namenode Retry Cache
08/01/25 00:27:03 INFO util.GSet: VM type       = 64-bit
08/01/25 00:27:03 INFO util.GSet: 0.029999999329447746% max memory = 889 MB
08/01/25 00:27:03 INFO util.GSet: capacity      = 2^15 = 32768 entries
08/01/25 00:27:03 INFO common.Storage: Storage directory /hadoop/hdfs/name has been successfully formatted.
08/01/25 00:27:04 INFO namenode.FSImage: Saving image file /hadoop/hdfs/name/current/fsimage.ckpt_0000000000000000000 using no compression
08/01/25 00:27:04 INFO namenode.FSImage: Image file /hadoop/hdfs/name/current/fsimage.ckpt_0000000000000000000 of size 196 bytes saved in 0 seconds.
08/01/25 00:27:04 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0
08/01/25 00:27:04 INFO util.ExitUtil: Exiting with status 0
08/01/25 00:27:04 INFO namenode.NameNode: SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at sjfx/192.168.57.127
************************************************************/


启动hdfs时报同样的错:

[root@sjfx home]# start-dfs.sh
08/01/25 00:27:23 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hadoop/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 <libfile>', or link it with '-z noexecstack'.
sjfx]
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
Java: ssh: Could not resolve hostname Java: Name or service not known
64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
sed: -e expression #1, char 6: unknown option to `s'
VM: ssh: Could not resolve hostname VM: Name or service not known
Server: ssh: Could not resolve hostname Server: Name or service not known
loaded: ssh: Could not resolve hostname loaded: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
You: ssh: Could not resolve hostname You: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
which: ssh: Could not resolve hostname which: Name or service not known
guard.: ssh: Could not resolve hostname guard.: Name or service not known
disabled: ssh: Could not resolve hostname disabled: Name or service not known
might: ssh: Could not resolve hostname might: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
try: ssh: Could not resolve hostname try: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
The: ssh: Could not resolve hostname The: Name or service not known
to: ssh: Could not resolve hostname to: Name or service not known
will: ssh: Could not resolve hostname will: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
It's: ssh: Could not resolve hostname It's: Name or service not known
now.: ssh: Could not resolve hostname now.: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
guard: ssh: Could not resolve hostname guard: Name or service not known
that: ssh: Could not resolve hostname that: Name or service not known
you: ssh: Could not resolve hostname you: Name or service not known
recommended: ssh: Could not resolve hostname recommended: Name or service not known
highly: ssh: Could not resolve hostname highly: Name or service not known
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
-c: Unknown cipher type 'cd'
fix: ssh: Could not resolve hostname fix: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
or: ssh: Could not resolve hostname or: Name or service not known
<libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
it: ssh: Could not resolve hostname it: Name or service not known
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
'-z: ssh: Could not resolve hostname '-z: Name or service not known
link: ssh: Could not resolve hostname link: Name or service not known
sjfx: starting namenode, logging to /home/hadoop/logs/hadoop-root-namenode-sjfx.out
localhost: starting datanode, logging to /home/hadoop/logs/hadoop-root-datanode-sjfx.out
Starting secondary namenodes [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hadoop/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 <libfile>', or link it with '-z noexecstack'.
sjfx]
64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
Server: ssh: Could not resolve hostname Server: Name or service not known
Java: ssh: Could not resolve hostname Java: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
sed: -e expression #1, char 6: unknown option to `s'
You: ssh: Could not resolve hostname You: Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known
loaded: ssh: Could not resolve hostname loaded: Name or service not known
might: ssh: Could not resolve hostname might: Name or service not known
disabled: ssh: Could not resolve hostname disabled: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
which: ssh: Could not resolve hostname which: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
guard.: ssh: Could not resolve hostname guard.: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
will: ssh: Could not resolve hostname will: Name or service not known
The: ssh: Could not resolve hostname The: Name or service not known
to: ssh: Could not resolve hostname to: Name or service not known
try: ssh: Could not resolve hostname try: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
guard: ssh: Could not resolve hostname guard: Name or service not known
highly: ssh: Could not resolve hostname highly: Name or service not known
now.: ssh: Could not resolve hostname now.: Name or service not known
recommended: ssh: Could not resolve hostname recommended: Name or service not known
It's: ssh: Could not resolve hostname It's: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
that: ssh: Could not resolve hostname that: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
-c: Unknown cipher type 'cd'
with: ssh: Could not resolve hostname with: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
link: ssh: Could not resolve hostname link: Name or service not known
<libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known
it: ssh: Could not resolve hostname it: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
you: ssh: Could not resolve hostname you: Name or service not known
or: ssh: Could not resolve hostname or: Name or service not known
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
'-z: ssh: Could not resolve hostname '-z: Name or service not known
sjfx: starting secondarynamenode, logging to /home/hadoop/logs/hadoop-root-secondarynamenode-sjfx.out
08/01/25 00:27:41 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

在apache官网上hadoop编译好的安装包只有32位的,直接下载后在64位的机器上运行就会报上述问题
解决办法是利用hadoop源码编译成64位的
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

成汐

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值