Quanlong Huang created IMPALA-13028:
---------------------------------------
Summary: 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
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)