You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/06/03 15:58:54 UTC

[GitHub] [accumulo] DomGarguilo commented on a change in pull request #2118: PopulateMetadataTable Improvements

DomGarguilo commented on a change in pull request #2118:
URL: https://github.com/apache/accumulo/pull/2118#discussion_r644921215



##########
File path: server/manager/src/main/java/org/apache/accumulo/manager/tableOps/tableImport/PopulateMetadataTable.java
##########
@@ -121,63 +114,56 @@ static void readMappingFile(VolumeManager fs, ImportedTableInfo tableInfo, Strin
           Text currentRow = null;
           int dirCount = 0;
 
-          while (true) {
-            key.readFields(in);
-            val.readFields(in);
+          try (DataInputStream in = new DataInputStream(new BufferedInputStream(zis))) {

Review comment:
       I think you may be right. I'll change it back in the next commit.




-- 
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:
users@infra.apache.org