myskov commented on code in PR #3816:
URL: https://github.com/apache/ozone/pull/3816#discussion_r991282270
##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/ozone/client/io/ECBlockReconstructedStripeInputStream.java:
##########
@@ -212,12 +212,14 @@ public synchronized void
setRecoveryIndexes(Collection<Integer> indexes) {
}
private void init() throws InsufficientLocationsException {
+ initialized = false;
if (decoder == null) {
decoder = CodecUtil.createRawDecoderWithFallback(getRepConfig());
}
if (!hasSufficientLocations()) {
- throw new InsufficientLocationsException("There are insufficient " +
- "datanodes to read the EC block");
+ String msg = "There are insufficient datanodes to read the EC block";
+ LOG.debug(msg);
Review Comment:
sounds more like LOG.error than LOG.debug
--
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]