两个resourcemanager都处于standby,zkfc无法切换resourcemanager

时间:2025-05-14 08:58:49
You have specified the forcemanual flag. This flag is dangerous, as it can induce a split-brain scenario that WILL CORRUPT your HDFS namespace, possibly irrecoverably.


It is recommended not to use this flag, but instead to shut down the cluster and disable automatic failover if you prefer to manually manage your HA state.


You may abort safely by answering 'n' or hitting ^C now.


Are you sure you want to continue? (Y or N) Y
15/10/07 09:28:36 WARN : Proceeding with manual HA state management even though
automatic failover is enabled for @51931956
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hcg/hadoop/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.!/org/slf4j/impl/]
SLF4J: Found binding in [jar:file:/home/hcg/hadoop/hadoop-2.6.0/share/hadoop/mapreduce/slf4j-log4j12-1.6.!/org/slf4j/impl/]
SLF4J: See http:///#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org..Log4jLoggerFactory]
Operation failed: Error when transitioning to Active mode
at (:304)
at (:107)
at $HAServiceProtocolService$(:4460)
at $Server$(:619)
at $(:962)
at $Handler$(:2039)
at $Handler$(:2035)
at (Native Method)
at (:422)
at (:1628)
at $(:2033)
Caused by: : : Invalid resource request, requested memory < 0, or requested memory > max configured, requestedMemory=4096, maxMemory=4000
at (:59)
at (:204)
at (:999)
at $(:1036)
at $(:1032)
at (Native Method)
at (:422)
at (:1628)
at (:1032)
at (:295)
... 10 more
Caused by: : Invalid resource request, requested memory < 0, or requested memory > max configured, requestedMemory=4096, maxMemory=4000
at (:203)
at (:377)
at (:320)
at (:309)
at (:413)
at (:1192)
at $(:575)
at (:193)
... 18 more