[ 
https://issues.apache.org/jira/browse/HDFS-16838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632046#comment-17632046
 ] 

ASF GitHub Bot commented on HDFS-16838:
---------------------------------------

ZanderXu opened a new pull request, #5125:
URL: https://github.com/apache/hadoop/pull/5125

   ### Description of PR
   There is a NPE in 
`org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList#testAddRplicaProcessorForAddingReplicaInMap`
 if we run this UT individually. And the related bug as bellow:
   ```
   public void testAddRplicaProcessorForAddingReplicaInMap() throws Exception {
     // BUG here
     BlockPoolSlice.reInitializeAddReplicaThreadPool();
     Configuration cnf = new Configuration();
     int poolSize = 5; 
     ...
   }
   ```




> Fix NPE in testAddRplicaProcessorForAddingReplicaInMap
> ------------------------------------------------------
>
>                 Key: HDFS-16838
>                 URL: https://issues.apache.org/jira/browse/HDFS-16838
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>
> There is a NPE in 
> org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList#testAddRplicaProcessorForAddingReplicaInMap
>  if we run this UT individually. And the related bug as bellow:
>  
> {code:java}
> public void testAddRplicaProcessorForAddingReplicaInMap() throws Exception {
>   // BUG here
>   BlockPoolSlice.reInitializeAddReplicaThreadPool();
>   Configuration cnf = new Configuration();
>   int poolSize = 5; 
>   ...
> }{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to