Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
6bd5e15
Merge remote-tracking branch 'upstream/master'
c-f-cooper Jan 19, 2021
8ea0167
[IMPROVEMENT]Improve code readability,remove the continue
c-f-cooper Jan 19, 2021
22554c6
Improve code readability,remove the continue
c-f-cooper Jan 20, 2021
798ba1b
Merge branch 'master' of https://github.com/c-f-cooper/hudi
c-f-cooper Jan 20, 2021
afc6dab
Merge remote-tracking branch 'upstream/master'
c-f-cooper Jan 20, 2021
4429a75
Merge remote-tracking branch 'upstream/master'
c-f-cooper Jan 21, 2021
ca4d644
Merge remote-tracking branch 'upstream/master'
c-f-cooper Jan 21, 2021
cdc4cfa
Merge remote-tracking branch 'upstream/master'
c-f-cooper Feb 27, 2021
0d3b51a
Merge branch 'master' of https://github.com/c-f-cooper/hudi
c-f-cooper Jun 5, 2021
d9d77e4
Merge branch 'apache:master' into master
c-f-cooper Feb 9, 2023
86f9fcf
Merge remote-tracking branch 'origin/master'
c-f-cooper Feb 9, 2023
2b02e94
Merge branch 'apache:master' into master
c-f-cooper Mar 6, 2023
0c2861c
Merge branch 'apache:master' into master
c-f-cooper Mar 24, 2023
daa4aa7
Merge branch 'apache:master' into master
c-f-cooper Mar 28, 2023
da84c60
Merge branch 'apache:master' into master
c-f-cooper Mar 29, 2023
a6e7050
Merge branch 'apache:master' into master
c-f-cooper Apr 4, 2023
f0e1c04
[MINOR] Remove the redundancy config
c-f-cooper Apr 4, 2023
78a2142
Merge remote-tracking branch 'upstream/master'
c-f-cooper Apr 4, 2023
3a3da94
Merge remote-tracking branch 'origin/master'
c-f-cooper Apr 4, 2023
9f17131
[MINOR] Remove the redundancy config
c-f-cooper Apr 4, 2023
9694376
Merge branch 'apache:master' into master
c-f-cooper Apr 6, 2023
ba3bb9a
Merge branch 'apache:master' into master
c-f-cooper Apr 6, 2023
a6b1747
Merge branch 'apache:master' into master
c-f-cooper Apr 6, 2023
d00cdea
Merge branch 'apache:master' into master
c-f-cooper Apr 10, 2023
efba45b
Merge branch 'apache:master' into master
c-f-cooper Apr 12, 2023
6d69897
Merge branch 'apache:master' into master
c-f-cooper Apr 19, 2023
a3fc845
Merge branch 'apache:master' into master
c-f-cooper Apr 21, 2023
19684bf
Merge branch 'apache:master' into master
c-f-cooper Apr 28, 2023
66912e5
[BUG-FIX] use try with resource to close stream
c-f-cooper Apr 28, 2023
8d29d95
Merge branch 'apache:master' into master
c-f-cooper Apr 30, 2023
0c8c7d9
[BUG-FIX] use try with resource to close stream
c-f-cooper Apr 30, 2023
52dbe1e
[BUG-FIX] use try with resource to close stream
c-f-cooper May 3, 2023
dbc0875
[BUG-FIX] use try with resource to close stream
c-f-cooper May 3, 2023
6909051
[BUG-FIX] use try with resource to close stream
c-f-cooper May 4, 2023
e1816d6
[BUG-FIX] use try with resource to close stream
c-f-cooper May 5, 2023
5ee1f5c
Merge branch 'apache:master' into master
c-f-cooper May 7, 2023
5bece02
[BUG-FIX] use try with resource to close stream
c-f-cooper May 7, 2023
d40bfb6
[MINOR] use try with resource to close stream
c-f-cooper May 7, 2023
72ce7d8
[MINOR] use try with resource to close stream
c-f-cooper May 7, 2023
3597580
Revert "[BUG-FIX] use try with resource to close stream"
c-f-cooper May 8, 2023
b552fac
Revert "[BUG-FIX] use try with resource to close stream"
c-f-cooper May 8, 2023
b0778c7
Merge branch 'master' of https://github.com/c-f-cooper/hudi
c-f-cooper May 8, 2023
50cc257
Revert "[MINOR] use try with resource to close stream"
c-f-cooper May 8, 2023
0d227b0
Revert "[BUG-FIX] use try with resource to close stream"
c-f-cooper May 8, 2023
007b569
Revert "[BUG-FIX] use try with resource to close stream"
c-f-cooper May 8, 2023
f511b3a
Revert "[BUG-FIX] use try with resource to close stream"
c-f-cooper May 8, 2023
839632f
[MINOR] use try with resource to close stream
c-f-cooper May 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ public String overwriteHoodieProperties(

HoodieTableMetaClient client = HoodieCLI.getTableMetaClient();
Properties newProps = new Properties();
newProps.load(new FileInputStream(overwriteFilePath));
try (FileInputStream fileInputStream = new FileInputStream(overwriteFilePath)) {
newProps.load(fileInputStream);
}
Map<String, String> oldProps = client.getTableConfig().propsMap();
Path metaPathDir = new Path(client.getBasePath(), METAFOLDER_NAME);
HoodieTableConfig.create(client.getFs(), metaPathDir, newProps);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ public String updateTableConfig(
Map<String, String> oldProps = client.getTableConfig().propsMap();

Properties updatedProps = new Properties();
updatedProps.load(new FileInputStream(updatePropsFilePath));
try (FileInputStream fileInputStream = new FileInputStream(updatePropsFilePath)) {
updatedProps.load(fileInputStream);
}
Path metaPathDir = new Path(client.getBasePath(), METAFOLDER_NAME);
HoodieTableConfig.update(client.getFs(), metaPathDir, updatedProps);

Expand Down