hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Forman <lsforman....@gmail.com>
Subject Web UI for Active and Standby NN do not agree on safe mode setting
Date Fri, 10 May 2013 15:53:28 GMT
When safe mode is entered using the dfsadmin CLI command, only one of the
Web UI's for the Namenodes in an HA environment seems to show that safe
mode is on.  But retrieving the safe mode setting through the CLI (i.e.
running "hdfs dfsadmin -safemode get") seems to display the correct setting
when run from any node in the cluster.

I noticed this problem when upgrading from a non-HA environment to an HA
environment, and in this case, the NN in the pre-upgraded system always
shows the correct setting, regardless if it is active or standby, while the
newly added NN never displays that safe mode is on.

The dfsadmin command uses DistributedFileSystem to get the setting, while
the Web UI seems to use FSNamesystem.

Is this a bug, or do both UI's need to be consulted to determine the safe
mode setting?

Thanks,
Scott

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message