bharatviswa504 commented on a change in pull request #2371:
URL: https://github.com/apache/ozone/pull/2371#discussion_r658605496



##########
File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineReportHandler.java
##########
@@ -93,6 +93,9 @@ public void onMessage(PipelineReportFromDatanode 
pipelineReportFromDatanode,
       } catch(NotLeaderException ex) {
         // Avoid NotLeaderException logging which happens when processing
         // pipeline report on followers.
+      } catch(PipelineNotFoundException pnfe) {

Review comment:
       Does nt recon pipelineHandler processPipelineReport handled this already?
   
   
   ReconPipelineReportHandler.java
   ```
       Pipeline pipeline = null;
       try {
         pipeline = reconPipelineManager.getPipeline(pipelineID);
       } catch (PipelineNotFoundException ex) {
         LOG.warn("Pipeline {} not found in Recon.", pipelineID);
         return;
       }
   ````

##########
File path: 
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/HddsClientUtils.java
##########
@@ -70,6 +71,9 @@ private HddsClientUtils() {
           // Not Replicated Exception will be thrown if watch For commit
           // does not succeed
           .add(NotReplicatedException.class)
+          // for reconPipelineReportHandler , if could not find pipeline

Review comment:
       And also I see this list is being used in KeyOutputStream and 
XceiverClientRatis.
   Not understood why we need this to be added here.




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to