This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 508592589 KUDU-3300 Add directory to container error message
508592589 is described below
commit 50859258907484bc98b062f5a1a5c4fee5abfd44
Author: Ádám Bakai <[email protected]>
AuthorDate: Tue Nov 15 16:26:39 2022 +0100
KUDU-3300 Add directory to container error message
If there are multiple data directories assigned to a tserver, then this
additional information makes it easier to find the container file that
can not be opened.
Change-Id: I5c8f380b5cd90c5d526e4ddb13ac010577a7dc30
Reviewed-on: http://gerrit.cloudera.org:8080/19249
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
src/kudu/fs/log_block_manager.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/kudu/fs/log_block_manager.cc b/src/kudu/fs/log_block_manager.cc
index d4bf46623..02a13618a 100644
--- a/src/kudu/fs/log_block_manager.cc
+++ b/src/kudu/fs/log_block_manager.cc
@@ -2819,8 +2819,8 @@ void LogBlockManager::OpenDataDir(
// especially for the kudu cli tool.
continue;
}
- *result_status = s.CloneAndPrepend(Substitute(
- "Could not open container $0", container_name));
+ *result_status = s.CloneAndPrepend(
+ Substitute("Could not open container $0, directory: $1",
container_name, dir->dir()));
return;
}