From f8a423c0dc0633a98cb651ee1c09b7b4a39ed948 Mon Sep 17 00:00:00 2001 From: Yufei Gu Date: Sun, 18 Aug 2024 09:24:22 -0700 Subject: [PATCH] Fix the compilation failure (#157) Co-authored-by: Yufei Gu --- build.gradle.kts | 4 ++++ .../core/persistence/LocalPolarisMetaStoreManagerFactory.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 7f99d0bc9..151e50efe 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -88,8 +88,12 @@ tasks.named("rat").configure { excludes.add("**/polaris-venv/**") + excludes.add("**/.pytest_cache/**") excludes.add("regtests/**/py.typed") excludes.add("regtests/**/*.ref") + excludes.add("regtests/.env") + excludes.add("regtests/derby.log") + excludes.add("regtests/metastore_db/**") excludes.add("regtests/client/python/.openapi-generator/**") excludes.add("**/*.ipynb") diff --git a/polaris-core/src/main/java/io/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java b/polaris-core/src/main/java/io/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java index 4087d3346..6ab0ac69e 100644 --- a/polaris-core/src/main/java/io/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java +++ b/polaris-core/src/main/java/io/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java @@ -174,7 +174,7 @@ public void setStorageIntegrationProvider(PolarisStorageIntegrationProvider stor String overrideMessage = "It appears this metastore manager has already been bootstrapped. " + "To continue bootstrapping, please first purge the metastore with the `purge` command."; - logger.error("\n\n {} \n\n", overrideMessage); + LOGGER.error("\n\n {} \n\n", overrideMessage); throw new IllegalArgumentException(overrideMessage); }