You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "Abacn (via GitHub)" <gi...@apache.org> on 2023/06/05 20:11:31 UTC
[GitHub] [beam] Abacn opened a new issue, #27022: [Bug]: Possible data loss in BigtableIO r/w with large data
Abacn opened a new issue, #27022:
URL: https://github.com/apache/beam/issues/27022
### What happened?
Reported from https://github.com/GoogleCloudPlatform/DataflowTemplates/pull/759
When implementing a load test for BigTableIO, we encountered the following:
- load tests up to 200mb pass stably.
- after 5 million records, not all data gets into BigTable, but the pipeline logs indicate that all data was written.
Dataflow write pipeline logs say that 10M records were written.
However, the read job shows only 1.6M records read.
Using the cbt utility, the cbt -instance <instance id> count <table id> command found out that BigTableIO write did not work correctly. Despite the fact that the logs say that all 10M records were written, in fact, there were exactly as many in the table as the read pipeline processed (1.6M). Some of the records processed by the write pipeline did not get into the table.
- Dataflow write pipeline logs - `2023-06-05_03_51_23-9051905355392445711`
- Dataflow read pipeline logs - `2023-06-05_03_58_18-7016807525741705033`
project: apache-beam-testing
### Issue Priority
Priority: 1 (data loss / total loss of function)
### Issue Components
- [ ] Component: Python SDK
- [X] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [X] Component: IO connector
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner
--
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: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Possible data loss in BigtableIO r/w if timestamp not set (default to epoch) [beam]
Posted by "github-actions[bot] (via GitHub) via github" <gi...@beam.apache.org>.
github-actions[bot] commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-6630744101
This issue has been closed due to lack of activity. If you think that is incorrect, you can reopen the issue at any time.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Abacn commented on issue #27022: [Bug]: Possible data loss in BigtableIO r/w with large number of row and column
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-1731890595
CC: @mutianf @ahmedabu98 (this also affects xlang Bigtable)
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Possible data loss in BigtableIO r/w if timestamp not set (default to epoch) [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-5981014769
This issue has been marked as stale due to 150 days of inactivity. It will be closed in 30 days if no further activity occurs. If you think that’s incorrect or this issue still needs to be addressed, please simply write any comment. If closed, you can reopen the issue at any time. Thank you for your contributions.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Abacn commented on issue #27022: [Bug]: Possible data loss in BigtableIO r/w with large number of row and column
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-1579555205
This is not related to Beam, it's DataflowTemplate test utility resource manager has wrong setting
- Tested with Beam 2.47.0, 2.48.0, table created with BigtableTableAdminClient.createTable, expected number of records (tested with 20M records and 100M records) (jobId: `2023-06-06_14_34_14-776136986672260899`, `2023-06-06_15_02_28-18162755370264063675`)
- Tested with BigtableIOLT in DataflowTemplate, Beam 2.47.0, record missing (jobId: `2023-06-06_14_52_02-13679425791336453528`)
- Tested with BigtableIOLT in DataflowTemplate, Beam 2.47.0, table created with BigtableTableAdminClient.createTable, expected number of records (jobId: `2023-06-06_15_32_45-12170662821065212708`)
For the job resulting in table missing, use `cbt ... -instance <instance> count <table>` found the number of records decreased half way writing.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Possible data loss in BigtableIO r/w if timestamp not set (default to epoch) [beam]
Posted by "github-actions[bot] (via GitHub) via github" <gi...@beam.apache.org>.
github-actions[bot] closed issue #27022: [Bug]: Possible data loss in BigtableIO r/w if timestamp not set (default to epoch)
URL: https://github.com/apache/beam/issues/27022
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Abacn commented on issue #27022: [Bug]: Possible data loss in BigtableIO r/w with large number of row and column
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-1731887891
Turns out that this could also affect real usage case when Timestamp field is not set, reopen it and keep it as P1 also
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Possible data loss in BigtableIO r/w with large number of row and column [beam]
Posted by "kennknowles (via GitHub)" <gi...@apache.org>.
kennknowles commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-1969872246
Would the followup be P2 or still P1?
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Possible data loss in BigtableIO r/w with large number of row and column [beam]
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-1969947172
This is due to user bug (incorrect/epoch) timestamp attached to the cell. The issue is kept open because there is follow up (add warning) can be done so kept P2, and update issue title
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Abacn commented on issue #27022: [Bug]: Possible data loss in BigtableIO r/w with large number of row and column
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-1731890066
Posible solutions:
- when incoming Timestamp is empty, default set to current time (instead of epoch)
- when incoming Timestamp is empty, raise a load warning
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Abacn commented on issue #27022: [Bug]: Possible data loss in BigtableIO r/w with large number of row and column
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #27022:
URL: https://github.com/apache/beam/issues/27022#issuecomment-1741371427
per https://github.com/apache/beam/pull/28624#discussion_r1338601869 at least we should add some validation in write transform
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Abacn closed issue #27022: [Bug]: Possible data loss in BigtableIO r/w with large number of row and column
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn closed issue #27022: [Bug]: Possible data loss in BigtableIO r/w with large number of row and column
URL: https://github.com/apache/beam/issues/27022
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org