operation_helpers.h 590 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <yt/cpp/mapreduce/common/fwd.h>
  3. #include <yt/cpp/mapreduce/interface/fwd.h>
  4. #include <yt/cpp/mapreduce/http/fwd.h>
  5. namespace NYT::NDetail {
  6. ////////////////////////////////////////////////////////////////////////////////
  7. ui64 RoundUpFileSize(ui64 size);
  8. bool UseLocalModeOptimization(const TClientContext& context, const IClientRetryPolicyPtr& clientRetryPolicy);
  9. TString GetOperationWebInterfaceUrl(TStringBuf serverName, TOperationId operationId);
  10. ////////////////////////////////////////////////////////////////////////////////
  11. } // namespace NYT::NDetail