diff options
author | omgronny <omgronny@yandex-team.com> | 2024-10-11 21:16:54 +0300 |
---|---|---|
committer | omgronny <omgronny@yandex-team.com> | 2024-10-11 21:28:33 +0300 |
commit | c7307fc40d61e2a996fd7c22ee9ef52663897b3b (patch) | |
tree | cf38637a1ef654e984c4847260253dd8195bff66 /yt/cpp/mapreduce/interface/client.h | |
parent | 1df197e6035ea9826bfedee7d48812e318ba9c7a (diff) | |
download | ydb-c7307fc40d61e2a996fd7c22ee9ef52663897b3b.tar.gz |
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/interface/client.h')
-rw-r--r-- | yt/cpp/mapreduce/interface/client.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/client.h b/yt/cpp/mapreduce/interface/client.h index 56efa3c23c..3032025140 100644 --- a/yt/cpp/mapreduce/interface/client.h +++ b/yt/cpp/mapreduce/interface/client.h @@ -493,6 +493,18 @@ public: const TGetJobStderrOptions& options = TGetJobStderrOptions()) = 0; /// + /// @brief Get trace of a job. + /// + /// @ref NYT::TErrorResponse exception is thrown if it is missing. + /// + /// @note YT doesn't store all job traces. + /// + /// @see [YT doc](https://ytsaurus.tech/docs/en/api/commands.html#get_job_trace) + virtual std::vector<TJobTraceEvent> GetJobTrace( + const TOperationId& operationId, + const TGetJobTraceOptions& options = TGetJobTraceOptions()) = 0; + + /// /// @brief Create one or several rbtorrents for files in a blob table. /// /// If specified, one torrent is created for each value of `KeyColumns` option. |