dlmarion commented on code in PR #3083:
URL: https://github.com/apache/accumulo/pull/3083#discussion_r1030722063


##########
core/src/main/java/org/apache/accumulo/core/client/admin/compaction/CompactionConfigurer.java:
##########
@@ -76,4 +86,20 @@ public Map<String,String> getOverrides() {
   }
 
   Overrides override(InputParameters params);
+
+  /**
+   *
+   * @param tablePropertiesWithOverrides
+   *          table properties with overrides
+   * @return true if we should call setDropBehind on majc output file
+   *
+   * @since 2.1.1
+   */
+  static boolean
+      dropCacheBehindMajcOutput(Iterable<Entry<String,String>> 
tablePropertiesWithOverrides) {
+    ConfigurationCopy cc = new ConfigurationCopy(tablePropertiesWithOverrides);
+    Map<String,String> customProps =
+        cc.getAllPropertiesWithPrefix(Property.TABLE_ARBITRARY_PROP_PREFIX);
+    return 
Boolean.valueOf(customProps.getOrDefault(TABLE_MAJC_OUTPUT_DROP_CACHE, 
"false"));
+  }

Review Comment:
   Removed this method in dba224e.



-- 
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]

Reply via email to