ZanderXu commented on PR #4633:
URL: https://github.com/apache/hadoop/pull/4633#issuecomment-1195498441
Thanks @WeisonWei for your contribution. Can you add a UT to reproduce it?
If `DFS_ROUTER_QUOTA_ENABLE=false`, doesn't `getEachQuotaUsage` return
IOException?
```
Map<RemoteLocation, QuotaUsage> getEachQuotaUsage(String path)
throws IOException {
rpcServer.checkOperation(OperationCategory.READ);
if (!router.isQuotaEnabled()) {
throw new IOException("The quota system is disabled in Router.");
}
...
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]