You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "vamsikarnika (via GitHub)" <gi...@apache.org> on 2024/07/24 17:04:27 UTC
[PR] [HUDI-8016] LastSyncedTime is not updated for Snapshot table in Glue Sync [hudi]
vamsikarnika opened a new pull request, #11681:
URL: https://github.com/apache/hudi/pull/11681
### Change Logs
Update updateTableParameters call in AwsGlueCatalogSyncClient to get the response.
### Impact
Glue Client will wait for the response of UpdateTable call.
### 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. If not, put "none"._
- _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
Re: [PR] [HUDI-8016] LastSyncedTime is not updated for Snapshot table in Glue Sync [hudi]
Posted by "CTTY (via GitHub)" <gi...@apache.org>.
CTTY commented on PR #11681:
URL: https://github.com/apache/hudi/pull/11681#issuecomment-2251197716
Hi @vamsikarnika, could you paste the stacktrace here and provide a bit more context about the issue?
--
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
Re: [PR] [HUDI-8016] LastSyncedTime is not updated for Snapshot table in Glue Sync [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #11681:
URL: https://github.com/apache/hudi/pull/11681#issuecomment-2248566852
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "d1c252a21ca9ef12fff18c0031eb345d42f73992",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "d1c252a21ca9ef12fff18c0031eb345d42f73992",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* d1c252a21ca9ef12fff18c0031eb345d42f73992 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
Re: [PR] [HUDI-8016] LastSyncedTime is not updated for Snapshot table in Glue Sync [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #11681:
URL: https://github.com/apache/hudi/pull/11681#issuecomment-2248754849
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "d1c252a21ca9ef12fff18c0031eb345d42f73992",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24980",
"triggerID" : "d1c252a21ca9ef12fff18c0031eb345d42f73992",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* d1c252a21ca9ef12fff18c0031eb345d42f73992 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24980)
<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
Re: [PR] [HUDI-8016] LastSyncedTime is not updated for Snapshot table in Glue Sync [hudi]
Posted by "vamsikarnika (via GitHub)" <gi...@apache.org>.
vamsikarnika commented on PR #11681:
URL: https://github.com/apache/hudi/pull/11681#issuecomment-2257504848
> Hi @vamsikarnika, could you paste the stacktrace here and provide a bit more context about the issue?
Hi @CTTY, While running the metasync for Glue, we realised that `last_commit_time_sync` is not getting populated for Snapshot table, which is causing the meta sync to sync all the partitions everytime and it's taking a lot of time.
While debugging we realized that the issue is AWS Glue Client is getting closed before the async call to update last synced time is completed.
Stacktrace:
java.util.concurrent.RejectedExecutionException: event executor terminated
at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:923)
at io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:350)
at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:343)
at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:825)
at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:815)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at io.netty.util.concurrent.AbstractEventExecutor.submit(AbstractEventExecutor.java:115)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.utils.NettyUtils.doInEventLoop(NettyUtils.java:254)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.http2.HttpOrHttp2ChannelPool.close(HttpOrHttp2ChannelPool.java:215)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.ListenerInvokingChannelPool.close(ListenerInvokingChannelPool.java:132)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.ReleaseOnceChannelPool.close(ReleaseOnceChannelPool.java:95)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.HealthCheckedChannelPool.close(HealthCheckedChannelPool.java:150)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.CancellableAcquireChannelPool.close(CancellableAcquireChannelPool.java:76)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool.close(SimpleChannelPoolAwareChannelPool.java:57)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.SdkChannelPoolMap.remove(SdkChannelPoolMap.java:56)
at java.util.concurrent.ConcurrentHashMap$KeySetView.forEach(ConcurrentHashMap.java:4649)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.SdkChannelPoolMap.close(SdkChannelPoolMap.java:93)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.AwaitCloseChannelPoolMap.close(AwaitCloseChannelPoolMap.java:166)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.internal.utils.NettyUtils.runAndLogError(NettyUtils.java:386)
at org.apache.hudi.software.amazon.awssdk.http.nio.netty.NettyNioAsyncHttpClient.close(NettyNioAsyncHttpClient.java:198)
at org.apache.hudi.software.amazon.awssdk.utils.IoUtils.closeQuietly(IoUtils.java:70)
at org.apache.hudi.software.amazon.awssdk.utils.IoUtils.closeIfCloseable(IoUtils.java:87)
at org.apache.hudi.software.amazon.awssdk.utils.AttributeMap.closeIfPossible(AttributeMap.java:674)
at org.apache.hudi.software.amazon.awssdk.utils.AttributeMap.access$1600(AttributeMap.java:49)
at org.apache.hudi.software.amazon.awssdk.utils.AttributeMap$DerivedValue.close(AttributeMap.java:628)
at java.util.HashMap$Values.forEach(HashMap.java:982)
at org.apache.hudi.software.amazon.awssdk.utils.AttributeMap.close(AttributeMap.java:107)
at org.apache.hudi.software.amazon.awssdk.core.client.config.SdkClientConfiguration.close(SdkClientConfiguration.java:126)
at org.apache.hudi.software.amazon.awssdk.core.internal.http.HttpClientDependencies.close(HttpClientDependencies.java:82)
at org.apache.hudi.software.amazon.awssdk.core.internal.http.AmazonAsyncHttpClient.close(AmazonAsyncHttpClient.java:75)
at org.apache.hudi.software.amazon.awssdk.core.internal.handler.BaseAsyncClientHandler.close(BaseAsyncClientHandler.java:254)
at org.apache.hudi.software.amazon.awssdk.services.glue.DefaultGlueAsyncClient.close(DefaultGlueAsyncClient.java:15110)
at org.apache.hudi.aws.sync.AWSGlueCatalogSyncClient.close(AWSGlueCatalogSyncClient.java:578)
at org.apache.hudi.hive.HiveSyncTool.close(HiveSyncTool.java:216)
at org.apache.hudi.sync.common.util.SyncUtilHelpers.runHoodieMetaSync(SyncUtilHelpers.java:80)
at org.apache.hudi.utilities.streamer.StreamSync.runMetaSync(StreamSync.java:1067)
at org.apache.hudi.utilities.streamer.StreamSync.writeToSinkAndDoMetaSync(StreamSync.java:907)
at org.apache.hudi.utilities.streamer.StreamSync.syncOnce(StreamSync.java:471)
at com.onehouse.hudi.OnehouseDeltaStreamer$MultiTableSyncService$StreamSyncService.ingestOnce(OnehouseDeltaStreamer.java:1379)
at org.apache.hudi.common.util.Option.ifPresent(Option.java:97)
at com.onehouse.hudi.OnehouseDeltaStreamer$MultiTableSyncService.lambda$scheduleStreamInfo$6(OnehouseDeltaStreamer.java:461)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
--
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
Re: [PR] [HUDI-8016] LastSyncedTime is not updated for Snapshot table in Glue Sync [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #11681:
URL: https://github.com/apache/hudi/pull/11681#issuecomment-2248586203
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "d1c252a21ca9ef12fff18c0031eb345d42f73992",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24980",
"triggerID" : "d1c252a21ca9ef12fff18c0031eb345d42f73992",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* d1c252a21ca9ef12fff18c0031eb345d42f73992 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24980)
<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
Re: [PR] [HUDI-8016] last_commit_time_sync is not updated for Snapshot table in Glue Sync [hudi]
Posted by "vamsikarnika (via GitHub)" <gi...@apache.org>.
vamsikarnika closed pull request #11681: [HUDI-8016] last_commit_time_sync is not updated for Snapshot table in Glue Sync
URL: https://github.com/apache/hudi/pull/11681
--
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