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

HBASE-24918 Make RegionInfo#UNDEFINED IA.Private #2289

Merged
merged 1 commit into from
Aug 21, 2020

Conversation

saintstack
Copy link
Contributor

Mark RegionInfo#UNDEFINED IA.Private and deprecated;
it is for internal use only and likely to be removed in hbase4.

Move MutableRegionInfo out of RegionInfoBuilder and have it as a
stanadlone task; a nice-to-have.

@saintstack
Copy link
Contributor Author

This patch is same as last PR attached to HBASE-24896 only no claims it fixes HBASE-24896....It is deprecation, annotation, and moving an inner-class out to be standalone only.

*/
@Deprecated
@InterfaceAudience.Private
// Not using RegionInfoBuilder intentionally to avoid a static loading deadlock: HBASE-24627
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this statement can be omitted since this is being handled separately in the parent task.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense.

@Deprecated
@InterfaceAudience.Private
// Not using RegionInfoBuilder intentionally to avoid a static loading deadlock: HBASE-24627
RegionInfo UNDEFINED = new MutableRegionInfo(0, TableName.valueOf("__UNDEFINED__"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Switch back to RegionInfoBuilder? (same below?)

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

@saintstack
Copy link
Contributor Author

Push addresses @bharathv review

@bharathv
Copy link
Contributor

@saintstack Looks like the push didn't address the comments or is it just me?

Mark RegionInfo#UNDEFINED IA.Private and deprecated;
it is for internal use only and likely to be removed in hbase4.

Move MutableRegionInfo out of RegionInfoBuilder and have it as a
stanadlone task; a nice-to-have.
@saintstack
Copy link
Contributor Author

@bharathv my fault... loaded but not committed. Thanks.

Copy link
Contributor

@virajjasani virajjasani left a comment

Choose a reason for hiding this comment

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

+1

@saintstack saintstack merged commit 50838ba into apache:branch-2.3 Aug 21, 2020
saintstack added a commit that referenced this pull request Aug 21, 2020
Mark RegionInfo#UNDEFINED IA.Private and deprecated;
it is for internal use only and likely to be removed in hbase4.

Move MutableRegionInfo out of RegionInfoBuilder and have it as a
stanadlone task; a nice-to-have.

Signed-off-by: Viraj Jasani <[email protected]>
Signed-off-by: Bharath Vissapragada <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
saintstack added a commit that referenced this pull request Aug 21, 2020
Mark RegionInfo#UNDEFINED IA.Private and deprecated;
it is for internal use only and likely to be removed in hbase4.

Move MutableRegionInfo out of RegionInfoBuilder and have it as a
stanadlone task; a nice-to-have.

Signed-off-by: Viraj Jasani <[email protected]>
Signed-off-by: Bharath Vissapragada <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
clarax pushed a commit to clarax/hbase that referenced this pull request Nov 15, 2020
Mark RegionInfo#UNDEFINED IA.Private and deprecated;
it is for internal use only and likely to be removed in hbase4.

Move MutableRegionInfo out of RegionInfoBuilder and have it as a
stanadlone task; a nice-to-have.

Signed-off-by: Viraj Jasani <[email protected]>
Signed-off-by: Bharath Vissapragada <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
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

Successfully merging this pull request may close these issues.

4 participants