You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSHighAvailabilityWithNFS.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ To configure HA NameNodes, you must add several configuration options to your **
83
83
84
84
The order in which you set these configurations is unimportant, but the values you choose for **dfs.nameservices** and **dfs.ha.namenodes.[nameservice ID]** will determine the keys of those that follow. Thus, you should decide on these values before setting the rest of the configuration options.
85
85
86
-
***dfs.nameservices** - the logical name for this new nameservice
86
+
***dfs.nameservices** - the logical name for this new nameservice
87
87
88
88
Choose a logical name for this nameservice, for example "mycluster", and use
89
89
this logical name for the value of this config option. The name you choose is
@@ -97,7 +97,7 @@ The order in which you set these configurations is unimportant, but the values y
97
97
<value>mycluster</value>
98
98
</property>
99
99
100
-
***dfs.ha.namenodes.[nameservice ID]** - unique identifiers for each NameNode in the nameservice
100
+
***dfs.ha.namenodes.[nameservice ID]** - unique identifiers for each NameNode in the nameservice
101
101
102
102
Configure with a list of comma-separated NameNode IDs. This will be used by
103
103
DataNodes to determine all the NameNodes in the cluster. For example, if you
@@ -111,7 +111,7 @@ The order in which you set these configurations is unimportant, but the values y
111
111
112
112
**Note:** The minimum number of NameNodes for HA is two, but you can configure more. Its suggested to not exceed 5 - with a recommended 3 NameNodes - due to communication overheads.
113
113
114
-
***dfs.namenode.rpc-address.[nameservice ID].[name node ID]** - the fully-qualified RPC address for each NameNode to listen on
114
+
***dfs.namenode.rpc-address.[nameservice ID].[name node ID]** - the fully-qualified RPC address for each NameNode to listen on
115
115
116
116
For both of the previously-configured NameNode IDs, set the full address and
117
117
IPC port of the NameNode process. Note that this results in two separate
@@ -133,7 +133,7 @@ The order in which you set these configurations is unimportant, but the values y
133
133
**Note:** You may similarly configure the "**servicerpc-address**" setting if
134
134
you so desire.
135
135
136
-
***dfs.namenode.http-address.[nameservice ID].[name node ID]** - the fully-qualified HTTP address for each NameNode to listen on
136
+
***dfs.namenode.http-address.[nameservice ID].[name node ID]** - the fully-qualified HTTP address for each NameNode to listen on
137
137
138
138
Similarly to *rpc-address* above, set the addresses for both NameNodes' HTTP
139
139
servers to listen on. For example:
@@ -154,7 +154,7 @@ The order in which you set these configurations is unimportant, but the values y
154
154
**Note:** If you have Hadoop's security features enabled, you should also set
155
155
the *https-address* similarly for each NameNode.
156
156
157
-
***dfs.namenode.shared.edits.dir** - the location of the shared storage directory
157
+
***dfs.namenode.shared.edits.dir** - the location of the shared storage directory
158
158
159
159
This is where one configures the path to the remote shared edits directory
160
160
which the Standby NameNodes use to stay up-to-date with all the file system
@@ -168,7 +168,7 @@ The order in which you set these configurations is unimportant, but the values y
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestHASafeMode.java
+6-11Lines changed: 6 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -978,20 +978,15 @@ public void testTransitionToActiveWhenSafeMode() throws Exception {
978
978
}
979
979
}
980
980
981
-
/**
982
-
* Test transition to observer when namenode in safemode.
0 commit comments