Attila Doroszlai created HDDS-8079:
--------------------------------------

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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to