Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqi1129 committed Oct 11, 2024
1 parent b87d35d commit 444d870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ private void downloadOSSDependency() {
String gravitinoHome = System.getenv("GRAVITINO_HOME");
try {
if (!ITUtils.EMBEDDED_TEST_MODE.equals(testMode)) {
String serverPath = ITUtils.joinPath(gravitinoHome, "libs");
String paimonCatalogPath =
ITUtils.joinPath(gravitinoHome, "catalogs", "lakehouse-paimon", "libs");
DownloaderUtils.downloadFile(PAIMON_OSS_JAR_URL, serverPath, paimonCatalogPath);
DownloaderUtils.downloadFile(PAIMON_OSS_JAR_URL, paimonCatalogPath);
}
} catch (Exception e) {
throw new RuntimeException("Failed to download the OSS dependency", e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ private void downloadS3Dependency() {
String gravitinoHome = System.getenv("GRAVITINO_HOME");
try {
if (!ITUtils.EMBEDDED_TEST_MODE.equals(testMode)) {
String serverPath = ITUtils.joinPath(gravitinoHome, "libs");
String paimonCatalogPath =
ITUtils.joinPath(gravitinoHome, "catalogs", "lakehouse-paimon", "libs");
DownloaderUtils.downloadFile(PAIMON_S3_JAR_URL, serverPath, paimonCatalogPath);
DownloaderUtils.downloadFile(PAIMON_S3_JAR_URL, paimonCatalogPath);
}
} catch (Exception e) {
throw new RuntimeException("Failed to download the S3 dependency", e);
Expand Down

0 comments on commit 444d870

Please sign in to comment.