You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by aw...@apache.org on 2018/10/09 01:25:05 UTC

kudu git commit: KUDU-2601: correctly print newly created files

Repository: kudu
Updated Branches:
  refs/heads/master 4de4347a3 -> 31e3d4616


KUDU-2601: correctly print newly created files

I verified this manually by removing the contents of a data root from a
a cluster and running the `kudu fs update_dirs` tool, checking that it
correctly output files that were created when no new directories are
created (whereas before, it would omit printing the new files).

Change-Id: I2ab56f2516a97d4a5aa07451c37a4c39dfa965a4
Reviewed-on: http://gerrit.cloudera.org:8080/11614
Reviewed-by: Alexey Serbin <as...@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/31e3d461
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/31e3d461
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/31e3d461

Branch: refs/heads/master
Commit: 31e3d4616042093d1a621e6de820ba76f1cc767a
Parents: 4de4347
Author: Andrew Wong <aw...@cloudera.com>
Authored: Mon Oct 8 08:36:50 2018 -0700
Committer: Andrew Wong <aw...@cloudera.com>
Committed: Tue Oct 9 01:24:23 2018 +0000

----------------------------------------------------------------------
 src/kudu/fs/fs_manager.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/31e3d461/src/kudu/fs/fs_manager.cc
----------------------------------------------------------------------
diff --git a/src/kudu/fs/fs_manager.cc b/src/kudu/fs/fs_manager.cc
index 1255888..b3b2503 100644
--- a/src/kudu/fs/fs_manager.cc
+++ b/src/kudu/fs/fs_manager.cc
@@ -441,7 +441,7 @@ Status FsManager::Open(FsReport* report) {
     LOG(INFO) << "New directories created while opening local filesystem: " <<
         JoinStrings(created_dirs, ", ");
   }
-  if (!created_dirs.empty()) {
+  if (!created_files.empty()) {
     LOG(INFO) << "New files created while opening local filesystem: " <<
         JoinStrings(created_files, ", ");
   }