guluo2016 commented on code in PR #6947:
URL: https://github.com/apache/hbase/pull/6947#discussion_r2062588134
##########
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatImpl.java:
##########
@@ -182,7 +182,7 @@ public String getRestoreDir() {
public long getLength() {
// TODO: We can obtain the file sizes of the snapshot here.
- return 0;
+ return 1;
}
Review Comment:
According to the code comments, can we try to retrieve the file size of
snapshot and use it as the return value?
--
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]