summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/file_writer.cpp
diff options
context:
space:
mode:
authorhiddenpath <[email protected]>2024-12-13 15:22:36 +0300
committerhiddenpath <[email protected]>2024-12-13 17:04:18 +0300
commit09c88b035d29fac5fd49de2fbc3c71e2d2a80754 (patch)
treea84b5b2de4dcdf85c3b22b9cac7e984aebb8b68d /yt/cpp/mapreduce/client/file_writer.cpp
parent615edba542d9394b0eae47ef957ec2257549cfdd (diff)
yt/cpp/mapreduce: move Get, TryGet, Exists, MultisetAttributes to THttpRawClient
commit_hash:bd2228f98fa92de408ca850f9bc1608fdf99e7f5
Diffstat (limited to 'yt/cpp/mapreduce/client/file_writer.cpp')
-rw-r--r--yt/cpp/mapreduce/client/file_writer.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/yt/cpp/mapreduce/client/file_writer.cpp b/yt/cpp/mapreduce/client/file_writer.cpp
index d273731e1d6..fcbb02bec92 100644
--- a/yt/cpp/mapreduce/client/file_writer.cpp
+++ b/yt/cpp/mapreduce/client/file_writer.cpp
@@ -1,9 +1,12 @@
#include "file_writer.h"
-#include <yt/cpp/mapreduce/io/helpers.h>
+#include <yt/cpp/mapreduce/common/helpers.h>
+
#include <yt/cpp/mapreduce/interface/finish_or_die.h>
-#include <yt/cpp/mapreduce/common/helpers.h>
+#include <yt/cpp/mapreduce/io/helpers.h>
+
+#include <yt/cpp/mapreduce/raw_client/raw_client.h>
namespace NYT {
@@ -11,6 +14,7 @@ namespace NYT {
TFileWriter::TFileWriter(
const TRichYPath& path,
+ const IRawClientPtr& rawClient,
IClientRetryPolicyPtr clientRetryPolicy,
ITransactionPingerPtr transactionPinger,
const TClientContext& context,
@@ -18,6 +22,7 @@ TFileWriter::TFileWriter(
const TFileWriterOptions& options)
: AutoFinish_(options.AutoFinish_)
, RetryfulWriter_(
+ rawClient,
std::move(clientRetryPolicy),
std::move(transactionPinger),
context,