aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/operation_preparer.cpp
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-17 08:15:04 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-17 08:48:26 +0300
commitd6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2 (patch)
tree1196e15738b69c620780a9f62a7b11ac2e20bcfe /yt/cpp/mapreduce/client/operation_preparer.cpp
parent0e978a7806dcbea4612c1749c98a5ebdb6e16539 (diff)
downloadydb-d6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2.tar.gz
Y_FAIL->Y_ABORT at '^yt'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'yt/cpp/mapreduce/client/operation_preparer.cpp')
-rw-r--r--yt/cpp/mapreduce/client/operation_preparer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/cpp/mapreduce/client/operation_preparer.cpp b/yt/cpp/mapreduce/client/operation_preparer.cpp
index 81321d9726..c995c2878e 100644
--- a/yt/cpp/mapreduce/client/operation_preparer.cpp
+++ b/yt/cpp/mapreduce/client/operation_preparer.cpp
@@ -720,7 +720,7 @@ TString TJobPreparer::UploadToCache(const IItemToUpload& itemToUpload) const
result = UploadToRandomPath(itemToUpload);
break;
default:
- Y_FAIL("Unknown file cache mode: %d", static_cast<int>(Options_.FileCacheMode_));
+ Y_ABORT("Unknown file cache mode: %d", static_cast<int>(Options_.FileCacheMode_));
}
YT_LOG_INFO("Complete uploading file (FileName: %v; PreparationId: %v)",
@@ -805,7 +805,7 @@ void TJobPreparer::UploadBinary(const TJobBinaryConfig& jobBinary)
}
UseFileInCypress(ytPath.FileName("cppbinary").Executable(true));
} else {
- Y_FAIL("%s", (::TStringBuilder() << "Unexpected jobBinary tag: " << jobBinary.index()).data());
+ Y_ABORT("%s", (::TStringBuilder() << "Unexpected jobBinary tag: " << jobBinary.index()).data());
}
}