You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ritesh Shukla (Jira)" <ji...@apache.org> on 2023/03/06 06:40:00 UTC

[jira] [Closed] (HDDS-8079) RocksDB included in client libs doubles shaded jar size

     [ https://issues.apache.org/jira/browse/HDDS-8079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ritesh Shukla closed HDDS-8079.
-------------------------------

> RocksDB included in client libs doubles shaded jar size
> -------------------------------------------------------
>
>                 Key: HDDS-8079
>                 URL: https://issues.apache.org/jira/browse/HDDS-8079
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.4.0
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> HDDS-7905 moved the Managed RocksDB classes from {{hadoop-hdds/framework}} to {{hadoop-hdds/common}} to be able to use them from {{rocksdb-checkpoint-differ}}.
> {{common}} is shared between client and server components.  Thus RocksDB library ends up in shaded FS jars.  Since {{rocksdbjni-7.7.3.jar}} is 56MB, it almost doubles shaded jar sizes:
> {code:title=before}
> 60M share/ozone/lib/ozone-filesystem-hadoop3-1.4.0-SNAPSHOT.jar
> {code}
> {code:title=after}
> 115M share/ozone/lib/ozone-filesystem-hadoop3-1.4.0-SNAPSHOT.jar
> {code}
> Please create a separate module for RocksDB-related stuff, and make {{hdds-framework}} and {{rocksdb-checkpoint-differ}} both depend on it.
> CC [~sadanand_shenoy], [~smeng]



--
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