Github user vdiravka commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1214#discussion_r183632379
  
    --- Diff: 
contrib/storage-hive/core/src/test/java/org/apache/drill/exec/store/hive/HiveTestDataGenerator.java
 ---
    @@ -64,16 +68,17 @@ public static synchronized HiveTestDataGenerator 
getInstance(File baseDir) throw
           final String dbDir = dbDirFile.getAbsolutePath();
           final String whDir = whDirFile.getAbsolutePath();
     
    -      instance = new HiveTestDataGenerator(dbDir, whDir);
    +      instance = new HiveTestDataGenerator(dbDir, whDir, dirTestWatcher);
           instance.generateTestData();
         }
     
         return instance;
       }
     
    -  private HiveTestDataGenerator(final String dbDir, final String whDir) {
    +  private HiveTestDataGenerator(final String dbDir, final String whDir, 
final BaseDirTestWatcher dirTestWatcher) {
         this.dbDir = dbDir;
         this.whDir = whDir;
    +    this.dirTestWatcher = dirTestWatcher;
     
         config = Maps.newHashMap();
         config.put("hive.metastore.uris", "");
    --- End diff --
    
    "hive.metastore.uris" -> ConfVars.METASTOREURIS


---

Reply via email to