Apache9 commented on code in PR #6874:
URL: https://github.com/apache/hbase/pull/6874#discussion_r2035563286
##########
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java:
##########
@@ -923,6 +935,11 @@ private void runCopyJob(final Path inputRoot, final Path
outputRoot, final Strin
conf.setInt(CONF_BANDWIDTH_MB, bandwidthMB);
conf.set(CONF_SNAPSHOT_NAME, snapshotName);
conf.set(CONF_SNAPSHOT_DIR, snapshotDir.toString());
+ if (storagePolicy != null) {
+ for (Map.Entry<String, String> entry :
storagePolicyPerFamily(storagePolicy).entrySet()) {
+ conf.set(generateFamilyStoragePolicyKey(entry.getKey()),
entry.getValue());
Review Comment:
Where do we read these configs? We do not need to change the mapper's code?
--
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]