summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce
diff options
context:
space:
mode:
authorrp-1 <[email protected]>2025-09-09 15:52:32 +0300
committerrp-1 <[email protected]>2025-09-09 17:12:55 +0300
commitdcc139e7095b1dc604aebf711db371b3d29b5b7a (patch)
treeea1301ed1861608dca148db34b6eb979f4070030 /yt/cpp/mapreduce
parentf134bd5596e653257924321140fee7f48f555940 (diff)
YT-25583: Rename parameter to enable_debug_command_line_arguments in C++ SDK
Rename append_debug_options to enable_debug_command_line_arguments commit_hash:af73e8a4e566209d657fefadb1e90fe133b85de5
Diffstat (limited to 'yt/cpp/mapreduce')
-rw-r--r--yt/cpp/mapreduce/client/operation.cpp2
-rw-r--r--yt/cpp/mapreduce/client/operation_preparer.cpp4
-rw-r--r--yt/cpp/mapreduce/client/operation_preparer.h2
-rw-r--r--yt/cpp/mapreduce/interface/config.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/yt/cpp/mapreduce/client/operation.cpp b/yt/cpp/mapreduce/client/operation.cpp
index 9647f61ec2a..692cb1771a1 100644
--- a/yt/cpp/mapreduce/client/operation.cpp
+++ b/yt/cpp/mapreduce/client/operation.cpp
@@ -784,7 +784,7 @@ void BuildUserJobFluently(
.Item("start_queue_consumer_registration_manager").Value(false)
.Item("enable_rpc_proxy_in_job_proxy").Value(userJobSpec.EnableRpcProxyInJobProxy_)
.Item("redirect_stdout_to_stderr").Value(preparer.ShouldRedirectStdoutToStderr())
- .Item("append_debug_options").Value(preparer.ShouldAppendDebugOptions());
+ .Item("enable_debug_command_line_arguments").Value(preparer.ShouldEnableDebugCommandLineArguments());
}
struct TNirvanaContext
diff --git a/yt/cpp/mapreduce/client/operation_preparer.cpp b/yt/cpp/mapreduce/client/operation_preparer.cpp
index 34196b63963..a2070b8621a 100644
--- a/yt/cpp/mapreduce/client/operation_preparer.cpp
+++ b/yt/cpp/mapreduce/client/operation_preparer.cpp
@@ -462,9 +462,9 @@ bool TJobPreparer::ShouldRedirectStdoutToStderr() const
return !IsCommandJob_ && OperationPreparer_.GetContext().Config->RedirectStdoutToStderr;
}
-bool TJobPreparer::ShouldAppendDebugOptions() const
+bool TJobPreparer::ShouldEnableDebugCommandLineArguments() const
{
- return !IsCommandJob_ && OperationPreparer_.GetContext().Config->AppendDebugOptions;
+ return !IsCommandJob_ && OperationPreparer_.GetContext().Config->EnableDebugCommandLineArguments;
}
TString TJobPreparer::GetFileStorage() const
diff --git a/yt/cpp/mapreduce/client/operation_preparer.h b/yt/cpp/mapreduce/client/operation_preparer.h
index 403bbce6d0d..a01d52849c5 100644
--- a/yt/cpp/mapreduce/client/operation_preparer.h
+++ b/yt/cpp/mapreduce/client/operation_preparer.h
@@ -80,7 +80,7 @@ public:
bool ShouldMountSandbox() const;
ui64 GetTotalFileSize() const;
bool ShouldRedirectStdoutToStderr() const;
- bool ShouldAppendDebugOptions() const;
+ bool ShouldEnableDebugCommandLineArguments() const;
private:
const IRawClientPtr RawClient_;
diff --git a/yt/cpp/mapreduce/interface/config.h b/yt/cpp/mapreduce/interface/config.h
index 9d77db94759..38859d46314 100644
--- a/yt/cpp/mapreduce/interface/config.h
+++ b/yt/cpp/mapreduce/interface/config.h
@@ -254,7 +254,7 @@ struct TConfig
bool RedirectStdoutToStderr = false;
/// Append job and operation IDs as shell command options.
- bool AppendDebugOptions = true;
+ bool EnableDebugCommandLineArguments = true;
static bool GetBool(const char* var, bool defaultValue = false);
static int GetInt(const char* var, int defaultValue);