MINOR Moved tiered storage API classes from clients module to a new storage-api module.#10489
Conversation
|
@junrao Raised this PR as you suggested earlier about moving client classes to a separate module. I created |
…torage-api wmodule. Created storage and storage-api modules
3acb2e2 to
2f655be
Compare
|
Thanks. Will we use separate packages for the api vs implementation? We should avoid split packages for the reasons mentioned here: https://www.logicbig.com/tutorials/core-java-tutorial/modules/split-packages.html |
|
One option is to use |
|
Also cc @kowshik |
|
I just looked at the clients code under @ijuma Does the existing approach in this PR have any disadvantages, or the suggestion to use |
|
This PR has the same package in two separate jars. That is what's called "split packages" in the article above. |
@ijuma I am fine with this approach. It looks like we plan to have this convention for all the modules across the repo. |
|
Yet another option is to have a new server-api module. We can move the following server side apis that are currently in the client module to the new module. If so, we can move the storage api there too. |
…torage-api wmodule. (apache#10489) Moved tiered storage API classes from clients module to a new storage-api module. Created storage and storage-api modules. All the remote storage API classes are moved to storage-api module. All the remote storage implementation classes will be added to storage module. Reviewers: Jun Rao <junrao@gmail.com>
…torage-api wmodule. (apache#10489) Moved tiered storage API classes from clients module to a new storage-api module. Created storage and storage-api modules. All the remote storage API classes are moved to storage-api module. All the remote storage implementation classes will be added to storage module. Reviewers: Jun Rao <junrao@gmail.com>
…torage-api wmodule. (apache#10489) Summary: Moved tiered storage API classes from clients module to a new storage-api module. Created storage and storage-api modules. All the remote storage API classes are moved to storage-api module. All the remote storage implementation classes will be added to storage module. apache-reviewers: Jun Rao <junrao@gmail.com> (cherry picked from commit 6e1723b) Reviewers: #ldap_kafka_admins, kchandraprakash Reviewed By: #ldap_kafka_admins, kchandraprakash JIRA Issues: DKAFC-868 Differential Revision: https://code.uberinternal.com/D6303189
…torage-api wmodule. (apache#10489) Summary: Moved tiered storage API classes from clients module to a new storage-api module. Created storage and storage-api modules. All the remote storage API classes are moved to storage-api module. All the remote storage implementation classes will be added to storage module. apache-reviewers: Jun Rao <junrao@gmail.com> (cherry picked from commit 6e1723b) Reviewers: #ldap_kafka_admins, kchandraprakash Reviewed By: #ldap_kafka_admins, kchandraprakash JIRA Issues: DKAFC-868 Differential Revision: https://code.uberinternal.com/D6303189
MINOR Moved tiered storage API classes from
clientsmodule to a newstorage-apimodule.Created
storageandstorage-apimodules. All the remote storage API classes are moved tostorage-apimodule. All the remote storage implementation classes will be added tostoragemodule.Committer Checklist (excluded from commit message)