ZanderXu
ZanderXu
### Description of PR RBF will throw an IndexOutOfBoundsException when the namespace is disabled. Suppose we have a mount point /a/b -> ns0 -> /a/b and disabled the ns0. RBF...
### Description of PR Suppose RBF cluster have 2 nameservices and to mount point as below: - /user/ns1 -> ns1 -> /user/ns1 - /usre/ns2 -> ns2 -> /user/ns2 Suppose we...
### Description of PR When I read NamenodeHeartbeatService.class of RBF, I feel that there are somethings we can do for NamenodeHeartbeatService.class. - Cache NameNode Protocol and Client Protocol to avoid...
### Description of PR When I read some code about protocol, I found that only ClientNamenodeProtocolPB proxy with RPC timeout, other protocolPB proxy without RPC timeout, such as RefreshAuthorizationPolicyProtocolPB, RefreshUserMappingsProtocolPB,...
### Description of PR Improve Code with Lambda in org.apahce.hadoop.hdfs.server.namenode package. For example: Current logic: ``` public ListenableFuture getJournaledEdits( long fromTxnId, int maxTransactions) { return parallelExecutor.submit( new Callable() { @Override...
### Description of PR Improve Code with Lambda in org.apahce.hadoop.hdfs.server.namenode sub packages. For example: Current logic: ``` public ListenableFuture getJournaledEdits( long fromTxnId, int maxTransactions) { return parallelExecutor.submit( new Callable() {...
### Description of PR When I read some class about HDFS NameNode, I found there are many redundant throw exception in org.apahce.hadoop.hdfs.server.namenode package, such as: ``` public synchronized void transitionToObserver(StateChangeRequestInfo...
### Description of PR In current logic, if storage not yet initialized, it will throw a NPE in DataNode.class. Developers or SREs are very sensitive to NPE, so I feel...
### Description of PR During datanode starting, I found some NPE in logs: ``` Caused by: java.lang.NullPointerException: Storage not yet initialized at org.apache.hadoop.thirdparty.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:899) at org.apache.hadoop.hdfs.server.datanode.DataNode.getVolumeInfo(DataNode.java:3533) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ...
### Description of PR Improve Code with Lambda in org.apahce.hadoop.hdfs.server.datanode packages. For example: Current logic: ``` synchronized void startAll() throws IOException { try { UserGroupInformation.getLoginUser().doAs( new PrivilegedExceptionAction() { @Override public...