kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject kudu git commit: fs: update error message for mismatched UUIDs
Date Mon, 16 Oct 2017 19:59:40 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 78843dd81 -> 92064c023


fs: update error message for mismatched UUIDs

This patch updates the error message users get when they try to start up
multiple Kudu processes to point to the same directory (i.e. mismatched
instance UUIDs) to explain why the error is happening.

Change-Id: Ic0f13fc34dd2b2cba142836a575d112bcb5055e8
Reviewed-on: http://gerrit.cloudera.org:8080/8283
Tested-by: Kudu Jenkins
Reviewed-by: Will Berkeley <wdberkeley@gmail.com>
Reviewed-by: Adar Dembo <adar@cloudera.com>


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

Branch: refs/heads/master
Commit: 92064c023b432f07161dd06eee26b9d2100eb55b
Parents: 78843dd
Author: Andrew Wong <awong@cloudera.com>
Authored: Mon Oct 16 11:11:45 2017 -0700
Committer: Adar Dembo <adar@cloudera.com>
Committed: Mon Oct 16 19:59:19 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/kudu/blob/92064c02/src/kudu/fs/fs_manager.cc
----------------------------------------------------------------------
diff --git a/src/kudu/fs/fs_manager.cc b/src/kudu/fs/fs_manager.cc
index deeb52a..4457ab0 100644
--- a/src/kudu/fs/fs_manager.cc
+++ b/src/kudu/fs/fs_manager.cc
@@ -305,7 +305,8 @@ Status FsManager::Open(FsReport* report) {
       metadata_.reset(pb.release());
     } else if (pb->uuid() != metadata_->uuid()) {
       return Status::Corruption(Substitute(
-          "Mismatched UUIDs across filesystem roots: $0 vs. $1",
+          "Mismatched UUIDs across filesystem roots: $0 vs. $1; configuring "
+          "multiple Kudu processes with the same directory is not supported",
           metadata_->uuid(), pb->uuid()));
     }
   }


Mime
View raw message