Skip to content

PHOENIX-7767,PHOENIX-7768 Change default states for ACTIVE and STANDBY roles and Add HDFSUrl and PeerHDFSUrl to HA Record#2381

Merged
tkhurana merged 8 commits intoapache:PHOENIX-7562-feature-newfrom
ritegarg:PHOENIX-7767
Mar 3, 2026
Merged

PHOENIX-7767,PHOENIX-7768 Change default states for ACTIVE and STANDBY roles and Add HDFSUrl and PeerHDFSUrl to HA Record#2381
tkhurana merged 8 commits intoapache:PHOENIX-7562-feature-newfrom
ritegarg:PHOENIX-7767

Conversation

@ritegarg
Copy link
Copy Markdown
Contributor

No description provided.

return adminCRRVersion;
}

public String getHdfsUrl() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ritegarg We also need to modify ReplicationLogGroup to read the hdfs urls from the HAGroupStoreRecord instead of the config. https://github.com/apache/phoenix/blob/PHOENIX-7562-feature-new/phoenix-core-server/src/main/java/org/apache/phoenix/replication/ReplicationLogGroup.java#L770-L776

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ReplicationLogGroup is already fetching the HAGroupStoreRecord to find the state. https://github.com/apache/phoenix/blob/PHOENIX-7562-feature-new/phoenix-core-server/src/main/java/org/apache/phoenix/replication/ReplicationLogGroup.java#L448-L452
We might need to do a little bit of refactoring.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Discussed offline, this will be taken care of in a separate PR.

@tkhurana
Copy link
Copy Markdown
Contributor

@ritegarg ritegarg requested a review from tkhurana March 2, 2026 18:42
@ritegarg
Copy link
Copy Markdown
Contributor Author

ritegarg commented Mar 2, 2026

@tkhurana tkhurana merged commit ce85eec into apache:PHOENIX-7562-feature-new Mar 3, 2026
1 check failed
ritegarg added a commit to ritegarg/phoenix that referenced this pull request Apr 10, 2026
…Y roles and Add HDFSUrl and PeerHDFSUrl to HA Record (apache#2381)
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