sv2000 commented on a change in pull request #2728: [GOBBLIN-874] Make 
WorkUnitPacker and SizeEstimator pluggable

 File path: 
 @@ -58,20 +59,34 @@
   private static final Logger LOG = 
+  /**
+   * For customized type of the following enums, it will try to find declared 
class in classpath
+   * and fallback to exception if ClassNotFound. This way the sizeEstimator 
and packer could be easier to
+   * extend. The major purpose for keeping this enum instead of using 
reflection only to construct the instance
+   * of packer or sizeEstimator is to maintain backward-compatibility.
+   *
+   * The constructor of customized type needs to be annotated with public 
access-modifier as it is instantiated by
+   * {@link GobblinConstructorUtils} which reside in different package, and it 
needs to have the same signature
+   * as other implementation under the enum.
+   */
   public enum PackerType {
+    BI_LEVEL,
 Review comment:
   CUSTOM instead of CUSTOMIZED?

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:

With regards,
Apache Git Services

Reply via email to