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:
[email protected]