n3nash commented on a change in pull request #651: Spark Stage retry handling
URL: https://github.com/apache/incubator-hudi/pull/651#discussion_r279573897
 
 

 ##########
 File path: hoodie-client/src/test/java/com/uber/hoodie/TestCleaner.java
 ##########
 @@ -915,7 +915,13 @@ public void testPendingCompactions(HoodieWriteConfig 
config, int expNumFilesDele
    * @throws IOException in case of error
    */
   private int getTotalTempFiles() throws IOException {
-    return fs.listStatus(new Path(basePath, 
HoodieTableMetaClient.TEMPFOLDER_NAME)).length;
+    RemoteIterator itr = fs.listFiles(new Path(basePath, 
HoodieTableMetaClient.TEMPFOLDER_NAME), true);
 
 Review comment:
   Change to Iterators.size(itr) from google utils

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to