arina-ielchiieva commented on a change in pull request #1613: DRILL-6977: 
Improve Hive tests configuration
URL: https://github.com/apache/drill/pull/1613#discussion_r248240692
 
 

 ##########
 File path: 
contrib/storage-hive/core/src/test/java/org/apache/drill/exec/hive/HiveTestUtilities.java
 ##########
 @@ -17,12 +17,22 @@
  */
 package org.apache.drill.exec.hive;
 
+import java.io.File;
+import java.io.IOException;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.nio.file.attribute.PosixFilePermission;
+import java.util.EnumSet;
+import java.util.Set;
+
 import org.apache.hadoop.hive.ql.CommandNeedRetryException;
 import org.apache.hadoop.hive.ql.Driver;
 import org.apache.hadoop.hive.ql.processors.CommandProcessorResponse;
 
 public class HiveTestUtilities {
 
+  private static final Set<PosixFilePermission> ALL = 
EnumSet.allOf(PosixFilePermission.class);
 
 Review comment:
   Please add java doc, maybe rename to `ALL_PERMISSION`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to