-
Notifications
You must be signed in to change notification settings - Fork 4.7k
HIVE-28904: Remove Arrow from Hive #5772
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we can justify the use case in LLAP. I reviewed only the correctness of these changes, assuming we should discontinue the feature.
Also, this PR will remove some flaky tests. Please void the following tickets when we merge this PR.
@@ -219,26 +191,8 @@ public RecordReader<NullWritable, V> getRecordReader(InputSplit split, JobConf j | |||
|
|||
LOG.info("Registered id: " + fragmentId); | |||
|
|||
@SuppressWarnings("rawtypes") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this warning would disappear if we restored this annotation.
https://sonarcloud.io/project/issues?sinceLeakPeriod=true&issueStatuses=OPEN%2CCONFIRMED&pullRequest=5772&id=apache_hive&open=AZY1rqPeKcDofJK_Opr6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
@@ -198,16 +198,9 @@ private void registerReader(ChannelHandlerContext ctx, String id, byte[] tokenBy | |||
LOG.debug("registering socket for: " + id); | |||
int maxPendingWrites = HiveConf.getIntVar(conf, | |||
HiveConf.ConfVars.LLAP_DAEMON_OUTPUT_SERVICE_MAX_PENDING_WRITES); | |||
boolean useArrow = HiveConf.getBoolVar(conf, HiveConf.ConfVars.LLAP_OUTPUT_FORMAT_ARROW); | |||
@SuppressWarnings("rawtypes") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
|
thanks @okumin for the review! |
What changes were proposed in this pull request?
To remove Arrow dependency and usage from hive.
Why are the changes needed?
Maintenance burden, and it's not used anymore.
https://lists.apache.org/thread/j1hclgwqytbhdbbbw12sy1nrpxvbq1c1
Does this PR introduce any user-facing change?
No, unless the user still utilizes a long-time abandoned hive warehouse connector reader mode.
Is the change a dependency upgrade?
No.
How was this patch tested?
Precommit testing.