HDFS-15845. RBF: Router fails to start due to NoClassDefFoundError for hadoop-federation-balance. (#2714)

This commit is contained in:
Takanobu Asanuma 2021-02-23 15:12:06 +09:00 committed by GitHub
parent 47420ae3ed
commit a57282540f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ function hdfscmd_case
HADOOP_CLASSNAME=org.apache.hadoop.hdfs.tools.DFSAdmin
;;
dfsrouter)
hadoop_add_to_classpath_tools hadoop-federation-balance
HADOOP_SUBCMD_SUPPORTDAEMONIZATION="true"
HADOOP_CLASSNAME='org.apache.hadoop.hdfs.server.federation.router.DFSRouter'
;;