Browse Source

[beeswax] Now Hive leaves some temporary files when doing a CTAS

Romain Rigaux 11 years ago
parent
commit
10430d14bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/beeswax/src/beeswax/tests.py

+ 1 - 1
apps/beeswax/src/beeswax/tests.py

@@ -887,7 +887,7 @@ for x in sys.stdin:
 
       # Check that data is right
       if verify:
-        target_ls = self.cluster.fs.listdir(target_dir)
+        target_ls = self.cluster.fs.listdir(target_dir)[1:]
         assert_true(len(target_ls) >= 1)
         data_buf = ""