This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new f8af00f99 ORC-1592: Suppress `KeyProvider` missing log
f8af00f99 is described below
commit f8af00f99d129128103dd8763b396813280b3f28
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Jan 16 18:43:26 2024 -0800
ORC-1592: Suppress `KeyProvider` missing log
### What changes were proposed in this pull request?
This PR aims to suppress `KeyProvider` missing log by lowering the log
level to DEBUG.
### Why are the changes needed?
To reduce the verbose log message in the normal usage.
### How was this patch tested?
Manual review.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #1757 from dongjoon-hyun/ORC-1592.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 1bf6643afe77879f904db24fc61e73d9adb1aa37)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
b/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
index 335ff411b..c59d049bf 100644
--- a/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
+++ b/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
@@ -96,7 +96,7 @@ public class HadoopShimsCurrent implements HadoopShims {
List<org.apache.hadoop.crypto.key.KeyProvider> result =
KeyProviderFactory.getProviders(conf);
if (result.size() == 0) {
- LOG.info("Can't get KeyProvider for ORC encryption from" +
+ LOG.debug("Can't get KeyProvider for ORC encryption from" +
" hadoop.security.key.provider.path.");
return new NullKeyProvider();
} else {