Skip to content

Conversation

@deniskuzZ
Copy link
Member

@deniskuzZ deniskuzZ commented Apr 4, 2022

What changes were proposed in this pull request?

Neither DummyTxnManager nor DbTxnManageer acquire any locks with DATACONNECTOR type

Why are the changes needed?

Lockless reads functionality

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit tests.

@github-actions github-actions bot requested a review from miklosgergely April 4, 2022 08:52
@deniskuzZ deniskuzZ changed the title Switching to a less restrictive lock for data connectors HIVE-26129: Non blocking DROP CONNECTOR Apr 11, 2022
@deniskuzZ deniskuzZ requested a review from nrg4878 April 11, 2022 11:14
@deniskuzZ deniskuzZ removed the request for review from miklosgergely April 11, 2022 11:14
Copy link
Contributor

@nrg4878 nrg4878 left a comment

Choose a reason for hiding this comment

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

Looks good to me other than a couple of minor issues.


package org.apache.hadoop.hive.ql.ddl.dataconnector.drop;

import org.apache.hadoop.hive.conf.HiveConf;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Appears to be unnecessary import.

import org.apache.hadoop.hive.ql.ddl.DDLWork;
import org.apache.hadoop.hive.ql.hooks.ReadEntity;
import org.apache.hadoop.hive.ql.hooks.WriteEntity;
import org.apache.hadoop.hive.ql.io.AcidUtils;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Appears to be unnecessary import

@github-actions github-actions bot requested a review from miklosgergely April 11, 2022 15:31
@deniskuzZ deniskuzZ force-pushed the drop_data_connector branch from 4d5f9e8 to f54a9f3 Compare April 11, 2022 15:33
@deniskuzZ deniskuzZ requested a review from nrg4878 April 12, 2022 08:54
@deniskuzZ deniskuzZ merged commit 34bb910 into apache:master Apr 21, 2022
@deniskuzZ deniskuzZ deleted the drop_data_connector branch April 21, 2022 14:28
DongWei-4 pushed a commit to DongWei-4/hive that referenced this pull request Oct 28, 2022
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants