Commit 29c1b37
committed
### What changes were proposed in this pull request?
This PR aims to update `tools` module to set `fs.file.impl.disable.cache=true` only for Java 22+.
### Why are the changes needed?
Recently, we successfully finished to refactor `tools` module for Java 25-ea support. Before releasing Apache ORC 2.2, we want to minimize any potential side-effects by applying new changes to the Java 22+ versions.
- ORC-1926: Use `TestConf` interface in `tools` module
- ORC-1927: Add Java `25-ea` test coverage for `tools` module
- ORC-1931: Suppress Hadoop logs lower than ERROR level in `orc-tools`
- ORC-1932: Use `setIfUnset` for `fs.defaultFS` and `fs.file.impl.disable.cache`
### How was this patch tested?
Pass the CIs (with Java 25-ea tool tests)
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #2297 from dongjoon-hyun/ORC-1938.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent a3940f2 commit 29c1b37
File tree
4 files changed
+12
-4
lines changed- java/tools/src/java/org/apache/orc/tools
4 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
0 commit comments