Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
When add Namespaces to the existing MountTable.
there are the following 2 methods:
1.hdfs dfsrouteradmin -add
for example:
hdfs dfsrouteradmin -add /user/project newNs /user/project
this method problem is if no '-order' is specified,
the order will set the default HASH and overwrite the existing MountTable order value,
if the previously set order value is another DestinationOrder so may cause problems use of this MountTable.
2.hdfs dfsrouteradmin -update
for example:
hdfs dfsrouteradmin -update /user/project ns1,ns2,newNs /user/project -order HASH_ALL
this method problem is need to get the existing ns lists, and the correct '-order' also needs to be specified,
if there is problem with the specified parameters, which will also may cause problems use of this MountTable.
so currently consider add new method,
for example:
hdfs dfsrouteradmin -addNamespace /user/project newNs
to satisfy add Namespaces to the existing MountTable and facilitate daily maintenance of MountTable
Attachments
Issue Links
- is duplicated by
-
HDFS-13507 RBF: Remove update functionality from routeradmin's add cmd
- Patch Available