Abhishek Chennaka has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17606


Change subject: [fs] KUDU-3161: Include FileSystem Path in UUID Mismatch Error
......................................................................

[fs] KUDU-3161: Include FileSystem Path in UUID Mismatch Error

This patch enhances current error logging to include filesystem
path if the UUID of the instance file in any of the filesystem roots
differs from the UUID of other filesystem roots by including the
filesystem path. This helps in troubleshooting scenarios where
we need to know the exact directory to look for.

Current log:
Mismatched UUIDs across filesystem roots:
aefaaab3fe774f7f87d5a3da4ae1aaae vs. 2af886a28b784b92b64432c612597e2d;
configuring multiple Kudu processes with the same directory is not
supported

Log after the patch:
Mismatched UUIDs across filesystem roots: The path
/tserver-0/data contains UUID aefaaab3fe774f7f87d5a3da4ae1aaae vs.
the path /tserver-1/data contains UUID 2af886a28b784b92b64432c612597e2d;
configuring multiple Kudu processes with the same directory is not
supported

Change-Id: I02ccd93b8cbb2c2f17573d9d56f955ef4723481f
---
M src/kudu/fs/fs_manager.cc
1 file changed, 6 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/06/17606/1
--
To view, visit http://gerrit.cloudera.org:8080/17606
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I02ccd93b8cbb2c2f17573d9d56f955ef4723481f
Gerrit-Change-Number: 17606
Gerrit-PatchSet: 1
Gerrit-Owner: Abhishek Chennaka <[email protected]>

Reply via email to