Skip to content

Conversation

@johnnysohn
Copy link

@johnnysohn johnnysohn commented Mar 27, 2024

Similar to apache/avro#1431, output committer needs to be casted to PathOutputCommitter instead of FileOutputCommitter to allow S3 Magic committer as output committer. PathOutputCommitter is only available starting from Hadoop 3 so this change isn't backwards compatible with HBase using Hadoop 2.

Copy link
Member

@bbeaudreault bbeaudreault left a comment

Choose a reason for hiding this comment

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

We don't keep patches like this in our hbase fork. Can you describe why this cast matters? We can consider pushing an upstream fix if there's a bug but it seems odd to me

@bbeaudreault
Copy link
Member

Ok so is the problem we are getting a ClassCastException? We can fix this upstream.

@bbeaudreault
Copy link
Member

I created https://issues.apache.org/jira/browse/HBASE-28459 for this. I think it's an easy patch to make. We can merge this for now to unblock and prioritize fixing upstream in the immediate future.

@bbeaudreault bbeaudreault merged commit 819605b into hubspot-2.5 Mar 27, 2024
@bbeaudreault bbeaudreault deleted the js_enable_magic_committer branch March 27, 2024 12:40
@bbeaudreault bbeaudreault added the upstream The changes in this PR should submitted upstream once ready label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream The changes in this PR should submitted upstream once ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants