tillrohrmann commented on a change in pull request #8242: [FLINK-6227][network] 
Introduce the DataConsumptionException for downstream task failure
URL: https://github.com/apache/flink/pull/8242#discussion_r282407999
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/PartitionNotFoundException.java
 ##########
 @@ -39,6 +45,6 @@ public ResultPartitionID getPartitionId() {
 
        @Override
        public String getMessage() {
-               return "Partition " + partitionId + " not found.";
+               return getCause() == null ? "Partition " + partitionId + " not 
found." : getCause().getMessage();
        }
 
 Review comment:
   Let's do it differently by calling in the constructor `super("Partition " + 
partitionId + " not found.", throwable)`.

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


With regards,
Apache Git Services

Reply via email to