You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "rmahindra123 (via GitHub)" <gi...@apache.org> on 2023/08/25 21:58:26 UTC
[GitHub] [hudi] rmahindra123 opened a new pull request, #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
rmahindra123 opened a new pull request, #9539:
URL: https://github.com/apache/hudi/pull/9539
### Change Logs
_Describe context and summary for this change. Highlight if any code was copied._
### Impact
_Describe any public API or user-facing feature change or any performance impact._
### Risk level (write none, low medium or high below)
_If medium or high, explain what verification was done to mitigate the risks._
### Documentation Update
_Describe any necessary documentation update if there is any new feature, config, or user-facing change_
- _The config description must be updated if new configs are added or the default value of the configs are changed_
- _Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make
changes to the website._
### Contributor's checklist
- [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1696478522
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
}, {
"hash" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479",
"triggerID" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"triggerType" : "PUSH"
}, {
"hash" : "3727eef11f362ccd7036cab138ac230d5b8b6f02",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19525",
"triggerID" : "3727eef11f362ccd7036cab138ac230d5b8b6f02",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3727eef11f362ccd7036cab138ac230d5b8b6f02 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19525)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] vamshigv commented on a diff in pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "vamshigv (via GitHub)" <gi...@apache.org>.
vamshigv commented on code in PR #9539:
URL: https://github.com/apache/hudi/pull/9539#discussion_r1308102765
##########
hudi-common/src/main/java/org/apache/hudi/common/bootstrap/index/HFileBootstrapIndex.java:
##########
@@ -182,12 +182,8 @@ private static String getUserKeyFromCellKey(String cellKey) {
* @param fileSystem File System
*/
private static HFile.Reader createReader(String hFilePath, Configuration conf, FileSystem fileSystem) {
- try {
- LOG.info("Opening HFile for reading :" + hFilePath);
- return HoodieHFileUtils.createHFileReader(fileSystem, new HFilePathForReader(hFilePath), new CacheConfig(conf), conf);
- } catch (IOException ioe) {
- throw new HoodieIOException(ioe.getMessage(), ioe);
- }
+ LOG.info("Opening HFile for reading :" + hFilePath);
Review Comment:
This is removing try-catch block, is this intentional ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] rmahindra123 commented on a diff in pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "rmahindra123 (via GitHub)" <gi...@apache.org>.
rmahindra123 commented on code in PR #9539:
URL: https://github.com/apache/hudi/pull/9539#discussion_r1308259337
##########
hudi-common/src/main/java/org/apache/hudi/common/bootstrap/index/HFileBootstrapIndex.java:
##########
@@ -182,12 +182,8 @@ private static String getUserKeyFromCellKey(String cellKey) {
* @param fileSystem File System
*/
private static HFile.Reader createReader(String hFilePath, Configuration conf, FileSystem fileSystem) {
- try {
- LOG.info("Opening HFile for reading :" + hFilePath);
- return HoodieHFileUtils.createHFileReader(fileSystem, new HFilePathForReader(hFilePath), new CacheConfig(conf), conf);
- } catch (IOException ioe) {
- throw new HoodieIOException(ioe.getMessage(), ioe);
- }
+ LOG.info("Opening HFile for reading :" + hFilePath);
Review Comment:
yeah I have the HoodieHFileUtils.createHFileReader catch the IOExecption now and throw a runtimeexection
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1694012685
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 93c1f515df60e64b88386a0327a9ce7f174ec672 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1694008318
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 93c1f515df60e64b88386a0327a9ce7f174ec672 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1696125421
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
}, {
"hash" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479",
"triggerID" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"triggerType" : "PUSH"
}, {
"hash" : "3727eef11f362ccd7036cab138ac230d5b8b6f02",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "3727eef11f362ccd7036cab138ac230d5b8b6f02",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b27496a4fd4db02f1e23f12180497bb37bb18242 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479)
* 3727eef11f362ccd7036cab138ac230d5b8b6f02 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] codope merged pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "codope (via GitHub)" <gi...@apache.org>.
codope merged PR #9539:
URL: https://github.com/apache/hudi/pull/9539
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1694129826
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
}, {
"hash" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479",
"triggerID" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b27496a4fd4db02f1e23f12180497bb37bb18242 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1694049457
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
}, {
"hash" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479",
"triggerID" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 93c1f515df60e64b88386a0327a9ce7f174ec672 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477)
* b27496a4fd4db02f1e23f12180497bb37bb18242 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] nsivabalan commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1694122315
@rmahindra123 : did we check for any more gaps in closing readers in HoodieSparkParquetReader, HoodieBootstrapFileReader etc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1696209449
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
}, {
"hash" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479",
"triggerID" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"triggerType" : "PUSH"
}, {
"hash" : "3727eef11f362ccd7036cab138ac230d5b8b6f02",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19525",
"triggerID" : "3727eef11f362ccd7036cab138ac230d5b8b6f02",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b27496a4fd4db02f1e23f12180497bb37bb18242 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19479)
* 3727eef11f362ccd7036cab138ac230d5b8b6f02 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19525)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hudi] hudi-bot commented on pull request #9539: [HUDI-6726] Fix connection leaks related to file reader and iterator close
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #9539:
URL: https://github.com/apache/hudi/pull/9539#issuecomment-1694038429
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477",
"triggerID" : "93c1f515df60e64b88386a0327a9ce7f174ec672",
"triggerType" : "PUSH"
}, {
"hash" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b27496a4fd4db02f1e23f12180497bb37bb18242",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 93c1f515df60e64b88386a0327a9ce7f174ec672 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=19477)
* b27496a4fd4db02f1e23f12180497bb37bb18242 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org