You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chia-Chuan Ho (Jira)" <ji...@apache.org> on 2026/08/21 06:55:00 UTC
[jira] [Updated] (HDDS-16247) Separate StorageContainerLocationProtocol RPC identity from its internal Java interface
[ https://issues.apache.org/jira/browse/HDDS-16247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Chuan Ho updated HDDS-16247:
---------------------------------
Description:
Follow-up to HDDS-16242.
StorageContainerLocationProtocol is not the wire protocol. The actual RPC protocol is defined by StorageContainerLocationProtocolService and exposed through StorageContainerLocationProtocolPB.
Move the existing Java methods from StorageContainerLocationProtocol to a new internal interface, such as StorageContainerLocationInternalInterface.
Retain StorageContainerLocationProtocol as an empty class with the same fully qualified class name because it is still used as the Hadoop RPC protocol identity and service-authorization ACL key.
Update internal implementations and callers to use the new internal interface. Keep StorageContainerLocationProtocolPB, its @ProtocolInfo protocolName, Protobuf definitions, translators, and wire protocol unchanged.
was:
Follow-up to HDDS-16192.
StorageContainerLocationProtocol is not the wire protocol. The actual RPC protocol is defined by StorageContainerLocationProtocolService and exposed through StorageContainerLocationProtocolPB.
Move the existing Java methods from StorageContainerLocationProtocol to a new internal interface, such as StorageContainerLocationInternalInterface.
Retain StorageContainerLocationProtocol as an empty class with the same fully qualified class name because it is still used as the Hadoop RPC protocol identity and service-authorization ACL key.
Update internal implementations and callers to use the new internal interface. Keep StorageContainerLocationProtocolPB, its @ProtocolInfo protocolName, Protobuf definitions, translators, and wire protocol unchanged.
> Separate StorageContainerLocationProtocol RPC identity from its internal Java interface
> ---------------------------------------------------------------------------------------
>
> Key: HDDS-16247
> URL: https://issues.apache.org/jira/browse/HDDS-16247
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Chia-Chuan Ho
> Priority: Major
>
> Follow-up to HDDS-16242.
>
> StorageContainerLocationProtocol is not the wire protocol. The actual RPC protocol is defined by StorageContainerLocationProtocolService and exposed through StorageContainerLocationProtocolPB.
>
> Move the existing Java methods from StorageContainerLocationProtocol to a new internal interface, such as StorageContainerLocationInternalInterface.
>
> Retain StorageContainerLocationProtocol as an empty class with the same fully qualified class name because it is still used as the Hadoop RPC protocol identity and service-authorization ACL key.
>
> Update internal implementations and callers to use the new internal interface. Keep StorageContainerLocationProtocolPB, its @ProtocolInfo protocolName, Protobuf definitions, translators, and wire protocol unchanged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org