aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/operation_helpers.h
blob: 7fd2ffb0de73c6f66c8bfb9a2cf6dc33c3c45aa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <yt/cpp/mapreduce/common/fwd.h>
#include <yt/cpp/mapreduce/interface/fwd.h>

#include <yt/cpp/mapreduce/http/fwd.h>

namespace NYT::NDetail {

////////////////////////////////////////////////////////////////////////////////

ui64 RoundUpFileSize(ui64 size);

bool UseLocalModeOptimization(const TClientContext& context, const IClientRetryPolicyPtr& clientRetryPolicy);

TString GetOperationWebInterfaceUrl(TStringBuf serverName, TOperationId operationId);

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT::NDetail