[jira] [Created] (HDFS-13653) [RBF] Make dfs.client.failover.random.order a per nameservice configuration

2018-06-03 Thread Ekanth S (JIRA)
Ekanth S created HDFS-13653:
---

 Summary: [RBF] Make dfs.client.failover.random.order a per 
nameservice configuration
 Key: HDFS-13653
 URL: https://issues.apache.org/jira/browse/HDFS-13653
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: federation
Reporter: Ekanth S
Assignee: Ekanth S


Currently the dfs.client.failover.random.order is applied globally. If we have 
a combination of router and non-router nameservice, the random order should 
ideally be enabled only for the router based nameservice. This Jira is to make 
this configuration per-nameservice so that this can be configured independently 
for each nameservice. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-13508) Normalize paths (automatically) when adding, removing or listing mount table entries

2018-04-26 Thread Ekanth S (JIRA)
Ekanth S created HDFS-13508:
---

 Summary: Normalize paths (automatically) when adding, removing or 
listing mount table entries
 Key: HDFS-13508
 URL: https://issues.apache.org/jira/browse/HDFS-13508
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Ekanth S


me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -ls /home/move 
Mount Table Entries:
Source Destinations Owner Group Mode 
/home/move hdfs-oahu->/home/move me hadoop rwxr-xr-x

me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -ls /home/move/
Mount Table Entries:
Source Destinations Owner Group Mode

me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -rm /home/move/
Cannot remove mount point /home/move/

me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -add /home/move/ 
hdfs-oahu /home/move/ -readonly
Cannot add mount point /home/move/

The slash '/' at the end should be normalized before calling the API from the 
CLI.

Note: add command fails with a terminating '/' . when it is an existing entry 
(it checks the not-normalized value with the normalized value in the 
mount-table). Adding a new mount point with '/' at the end works because the 
CLI normalizes the mount before calling the API.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org