Skip to content

Hive 29869 beeline size reduce - #6748

Open
illiabarbashov-sketch wants to merge 2 commits into
apache:masterfrom
illiabarbashov-sketch:HIVE-29869_beeline_size_reduce
Open

Hive 29869 beeline size reduce#6748
illiabarbashov-sketch wants to merge 2 commits into
apache:masterfrom
illiabarbashov-sketch:HIVE-29869_beeline_size_reduce

Conversation

@illiabarbashov-sketch

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

@Aggarwal-Raghav Aggarwal-Raghav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I can still see the kerby and curator classes in beeline-standalone.jar !! Is this expected?

jar tvf beeline-standalone.jar | grep -i "curator" | head -n 10
     0 Fri Feb 01 00:00:00 IST 1980 META-INF/maven/org.apache.curator/
     0 Fri Feb 01 00:00:00 IST 1980 META-INF/maven/org.apache.curator/curator-recipes/
    68 Fri Feb 01 00:00:00 IST 1980 META-INF/maven/org.apache.curator/curator-recipes/pom.properties
  3783 Fri Feb 01 00:00:00 IST 1980 META-INF/maven/org.apache.curator/curator-recipes/pom.xml
     0 Fri Feb 01 00:00:00 IST 1980 org/apache/curator/
     0 Fri Feb 01 00:00:00 IST 1980 org/apache/curator/framework/
     0 Fri Feb 01 00:00:00 IST 1980 org/apache/curator/framework/recipes/
  1770 Fri Feb 01 00:00:00 IST 1980 org/apache/curator/framework/recipes/AfterConnectionEstablished$1.class
  1817 Fri Feb 01 00:00:00 IST 1980 org/apache/curator/framework/recipes/AfterConnectionEstablished.class
     0 Fri Feb 01 00:00:00 IST 1980 org/apache/curator/framework/recipes/atomic/


jar tvf beeline-standalone.jar | grep -i "kerby" | head -n 10
     0 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/
     0 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/
     0 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/
  2987 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/KrbInputStream.class
  1971 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/KrbOutputStream.class
     0 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/ccache/
  7645 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/ccache/CredCacheInputStream.class
  6456 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/ccache/CredCacheOutputStream.class
  8287 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/ccache/Credential.class
 12508 Sun Dec 11 19:18:10 IST 2022 org/apache/hadoop/shaded/org/apache/kerby/kerberos/kerb/ccache/CredentialCache.class

Comment thread beeline/pom.xml
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this is excluded? there is direct dependency in beeline module

import org.apache.thrift.transport.TTransportException;

Comment thread beeline/pom.xml
</exclusion>
<exclusion>
<groupId>org.apache.kerby</groupId>
<artifactId>kerb-util</artifactId>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe

<exclusion>
  <groupId>org.apache.kerby</groupId>
  <artifactId>*</artifactId>
</exclusion>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants