Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-13028

libkudu_client.so is not stripped in the DEB/RPM packages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Infrastructure
    • None
    • ghx-label-4

    Description

      The current DEB package is 611M on ubuntu18.04. Here are the top-10 largest files:

      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

      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.

      $ 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

      CC yx91490 boroknagyz rizaon

      Attachments

        Activity

          People

            yx91490 XiangYang
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: