summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/operation.cpp
diff options
context:
space:
mode:
authorermolovd <[email protected]>2024-11-23 10:59:09 +0300
committerermolovd <[email protected]>2024-11-23 11:10:09 +0300
commit8e841b73f8df78e6844dfe9350d0f0a6c98c30cb (patch)
tree1c85d665bb9b428d3c5136307bd64dd9187bd66d /yt/cpp/mapreduce/client/operation.cpp
parente8c90ae8a977270555b84d2e098839ea75168ce9 (diff)
YT-23422: do not write command line into attributes of operations
* Changelog entry Type: feature Component: cpp-sdk C++ SDK doesn't write launching process command line to operation attributes. commit_hash:c50cbc2a31f5a3b733833767fe94019a0d7615d3
Diffstat (limited to 'yt/cpp/mapreduce/client/operation.cpp')
-rw-r--r--yt/cpp/mapreduce/client/operation.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/yt/cpp/mapreduce/client/operation.cpp b/yt/cpp/mapreduce/client/operation.cpp
index c96c191bdd7..824b36b206e 100644
--- a/yt/cpp/mapreduce/client/operation.cpp
+++ b/yt/cpp/mapreduce/client/operation.cpp
@@ -804,10 +804,8 @@ void BuildCommonOperationPart(
startedBySpec["user"] = properties->UserName;
startedBySpec["wrapper_version"] = properties->ClientVersion;
- startedBySpec["command"] = TNode::CreateList();
- for (const auto& arg : properties->CensoredCommandLine) {
- startedBySpec["command"].Add(arg);
- }
+ startedBySpec["binary"] = properties->BinaryPath;
+ startedBySpec["binary_name"] = properties->BinaryName;
auto nirvanaBlockUrl = GetNirvanaBlockUrlFromContext();
if (!nirvanaBlockUrl.IsUndefined()) {
startedBySpec["nirvana_block_url"] = nirvanaBlockUrl;