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

Try serializing job details instead of using a file on HDFS #22

Open
jphalip opened this issue Sep 8, 2022 · 0 comments
Open

Try serializing job details instead of using a file on HDFS #22

jphalip opened this issue Sep 8, 2022 · 0 comments

Comments

@jphalip
Copy link
Collaborator

jphalip commented Sep 8, 2022

Currently we pass some information between the job's tasks and processes using the JobDetails class and its corresponding serialized version as a file stored on HDFS.

Instead, we could perhaps store those details in the HiveBigQueryConfig class, which is serializable. For reads it could be passed via the BigQueryInputSplit.

For writes, I'm not sure yet as BigQueryOutputFormat doesn't seem to have a consistent way or passing custom serialized information besides the JobConf... To be investigated.

As part of this, we should revisit the way we're using the Guice injector. Ideally that would only be used once at the beginning, instead of using it multiple times in multiple contexts as we do currently.

@jphalip jphalip changed the title Try serialization job details instead of using a file on HDFS Try serializing job details instead of using a file on HDFS Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant