diff options
| author | omgronny <[email protected]> | 2024-10-11 21:16:54 +0300 |
|---|---|---|
| committer | omgronny <[email protected]> | 2024-10-11 21:28:33 +0300 |
| commit | c7307fc40d61e2a996fd7c22ee9ef52663897b3b (patch) | |
| tree | cf38637a1ef654e984c4847260253dd8195bff66 /yt/cpp/mapreduce/client/client.cpp | |
| parent | 1df197e6035ea9826bfedee7d48812e318ba9c7a (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.cpp | 8 |
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) |
