Details
-
Sub-task
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
If the user configures a shared edits dir, but doesn't configure the namenode addresses correctly, the NN will fail to start up in a very strange way.
I had this misconfiguration in one of my test clusters which was difficult to debug, even though I'm very familiar with the code. This patch is to add a simple sanity check so that if a user has the same misconfiguration, it will fail to start and given a more informative dump.