private FileStatus[] getTrashContents() throws Exception {
    FileSystem fs = FileSystem.get(hiveConf);
    Path trashDir = ShimLoader.getHadoopShims().getCurrentTrashPath(hiveConf, fs);
    return fs.globStatus(trashDir.suffix("/*"));
  }
Test basic Hive class interaction, that:
- We can have different Hive objects throughout the lifetime of this thread.
ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHive.java