Grant Henke has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/17606
Reviewed-by: Bankim Bhavsar <[email protected]>
Reviewed-by: Grant Henke <[email protected]>
Tested-by: Grant Henke <[email protected]>
---
M src/kudu/fs/fs_manager.cc
1 file changed, 6 insertions(+), 4 deletions(-)

Approvals:
  Bankim Bhavsar: Looks good to me, approved
  Grant Henke: Looks good to me, approved; Verified

--
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: merged
Gerrit-Change-Id: I02ccd93b8cbb2c2f17573d9d56f955ef4723481f
Gerrit-Change-Number: 17606
Gerrit-PatchSet: 2
Gerrit-Owner: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to