[ https://issues.apache.org/jira/browse/IMPALA-13028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17860445#comment-17860445 ]
ASF subversion and git services commented on IMPALA-13028: ---------------------------------------------------------- Commit aea057f095fecb331bc0c58687c3f0ac4f6affa8 in impala's branch refs/heads/master from Xiang Yang [ https://gitbox.apache.org/repos/asf?p=impala.git;h=aea057f09 ] IMPALA-13028: Strip dynamic link libraries in Linux DEB/RPM packages This optimization can reduce the DEB package size from 611MB to 554MB, and reduce the kudu client library size from 188MB to 10.5MB at the same time. Testing: - Manually make a DEB package and check the dynamic link libraries whether be stripped. Change-Id: Ie7bee0b4ef904db3706a350f17bcd68d769aa5ad Reviewed-on: http://gerrit.cloudera.org:8080/21542 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > libkudu_client.so is not stripped in the DEB/RPM packages > --------------------------------------------------------- > > Key: IMPALA-13028 > URL: https://issues.apache.org/jira/browse/IMPALA-13028 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Reporter: Quanlong Huang > Assignee: XiangYang > Priority: Major > > The current DEB package is 611M on ubuntu18.04. Here are the top-10 largest > files: > {noformat} > 14 MB > ./opt/impala/lib/jars/hive-standalone-metastore-3.1.3000.7.2.18.0-369.jar > 15 MB ./opt/impala/lib/jars/kudu-client-e742f86f6d.jar > 20 MB ./opt/impala/lib/native/libstdc++.so.6.0.28 > 22 MB ./opt/impala/lib/jars/js-22.3.0.jar > 29 MB ./opt/impala/lib/jars/iceberg-hive-runtime-1.3.1.7.2.18.0-369.jar > 60 MB ./opt/impala/lib/jars/ozone-filesystem-hadoop3-1.3.0.7.2.18.0-369.jar > 84 MB ./opt/impala/util/impala-profile-tool > 85 MB ./opt/impala/sbin/impalad > 175 MB ./opt/impala/lib/jars/impala-minimal-s3a-aws-sdk-4.4.0-SNAPSHOT.jar > 188 MB ./opt/impala/lib/native/libkudu_client.so.0.1.0{noformat} > It appears that we just strip binaries built by Impala, e.g. impalad and > impala-profile-tool. > libkudu_client.so.0.1.0 remains the same as the one in the toolchain folder. > {code:bash} > $ ll -th > toolchain/toolchain-packages-gcc10.4.0/kudu-e742f86f6d/release/lib/libkudu_client.so.0.1.0 > -rw-r--r-- 1 quanlong quanlong 189M 10月 18 2023 > toolchain/toolchain-packages-gcc10.4.0/kudu-e742f86f6d/release/lib/libkudu_client.so.0.1.0 > $ file > toolchain/toolchain-packages-gcc10.4.0/kudu-e742f86f6d/release/lib/libkudu_client.so.0.1.0 > toolchain/toolchain-packages-gcc10.4.0/kudu-e742f86f6d/release/lib/libkudu_client.so.0.1.0: > ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, > with debug_info, not stripped{code} > CC [~yx91490] [~boroknagyz] [~rizaon] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org