Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add java-storage implementation for update items method. #1090

Conversation

shilpi23pandey
Copy link
Contributor

No description provided.

@shilpi23pandey shilpi23pandey marked this pull request as draft December 19, 2023 19:42
@shilpi23pandey shilpi23pandey force-pushed the move-to-java-storage-update-items branch from ae9a5e4 to 565f910 Compare December 19, 2023 19:44
@shilpi23pandey
Copy link
Contributor Author

/gcbrun

@shilpi23pandey shilpi23pandey force-pushed the move-to-java-storage-update-items branch from 565f910 to 31595fb Compare December 19, 2023 20:15
@shilpi23pandey
Copy link
Contributor Author

/gcbrun

@shilpi23pandey shilpi23pandey force-pushed the move-to-java-storage-update-items branch from 31595fb to 22bf404 Compare December 20, 2023 05:55
@shilpi23pandey
Copy link
Contributor Author

/gcbrun

@shilpi23pandey shilpi23pandey marked this pull request as ready for review December 20, 2023 06:13
Set<IOException> innerExceptions = newConcurrentHashSet();
BatchExecutor executor = new BatchExecutor(storageOptions.getBatchThreads());

for (UpdatableItemInfo itemInfo : itemInfoList) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let us do this before creating executors etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@shilpi23pandey shilpi23pandey force-pushed the move-to-java-storage-update-items branch from 22bf404 to 7d5780e Compare December 20, 2023 06:29
@shilpi23pandey
Copy link
Contributor Author

/gcbrun

@shilpi23pandey shilpi23pandey merged commit d83b07b into GoogleCloudDataproc:master Dec 20, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants