[ https://issues.apache.org/jira/browse/HDFS-16978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17711710#comment-17711710 ]
Viraj Jasani commented on HDFS-16978: ------------------------------------- Reg the usecase, I had to migrate mount points from zk to hdfs (due to zk being hotspot for multiple usecases and adding router is just additional load) and during that time, I realized that we have no way to bulk add all mount points in one shot, hence I thought of adding this improvement. {quote}anyway, should be adjusted in an existing commands like router -add <MountEntry1> ; <MountEntry2> and like -update <MountEntry1>, <MountEntry2> and so on {quote} That still adds each point separately right? We are still not adding/updating mount points in one shot. It's all about using putAll() at state store level impl. If you are not fine with me pursuing this, please let me know and I will not create PR. > RBF: New Router admin command to support bulk add of mount points > ----------------------------------------------------------------- > > Key: HDFS-16978 > URL: https://issues.apache.org/jira/browse/HDFS-16978 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Viraj Jasani > Assignee: Viraj Jasani > Priority: Minor > > All state store implementations support adding multiple state store records > using single putAll() implementation. We should provide new router admin API > to support bulk addition of mount table entries that can utilize this build > add implementation at state store level. > For more than one mount point to be added, the goal of bulk addition should be > # To reduce frequent router calls > # To avoid frequent state store cache refreshers with each single mount > point addition -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org