summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/client.cpp
diff options
context:
space:
mode:
authoromgronny <[email protected]>2024-10-11 21:16:54 +0300
committeromgronny <[email protected]>2024-10-11 21:28:33 +0300
commitc7307fc40d61e2a996fd7c22ee9ef52663897b3b (patch)
treecf38637a1ef654e984c4847260253dd8195bff66 /yt/cpp/mapreduce/client/client.cpp
parent1df197e6035ea9826bfedee7d48812e318ba9c7a (diff)
YT-21938: Introduce get_job_trace
* Changelog entry\ Type: feature\ Component: proxy Add the handler that gets the job’s trace events. commit_hash:c9d1a6d57e886a266967d57065bd3948882808c7
Diffstat (limited to 'yt/cpp/mapreduce/client/client.cpp')
-rw-r--r--yt/cpp/mapreduce/client/client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/client/client.cpp b/yt/cpp/mapreduce/client/client.cpp
index 9e2885bbe00..9dab176bdeb 100644
--- a/yt/cpp/mapreduce/client/client.cpp
+++ b/yt/cpp/mapreduce/client/client.cpp
@@ -1243,6 +1243,14 @@ IFileReaderPtr TClient::GetJobStderr(
return NRawClient::GetJobStderr(Context_, operationId, jobId, options);
}
+std::vector<TJobTraceEvent> TClient::GetJobTrace(
+ const TOperationId& operationId,
+ const TGetJobTraceOptions& options)
+{
+ CheckShutdown();
+ return NRawClient::GetJobTrace(ClientRetryPolicy_->CreatePolicyForGenericRequest(), Context_, operationId, options);
+}
+
TNode::TListType TClient::SkyShareTable(
const std::vector<TYPath>& tablePaths,
const TSkyShareTableOptions& options)