[ 
https://issues.apache.org/jira/browse/HIVE-25750?focusedWorklogId=729357&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-729357
 ]

ASF GitHub Bot logged work on HIVE-25750:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Feb/22 00:54
            Start Date: 18/Feb/22 00:54
    Worklog Time Spent: 10m 
      Work Description: achennagiri commented on a change in pull request #2824:
URL: https://github.com/apache/hive/pull/2824#discussion_r809592375



##########
File path: beeline/pom.xml
##########
@@ -233,6 +233,53 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <descriptorRefs>
+                <descriptorRef>jar-with-dependencies</descriptorRef>
+              </descriptorRefs>
+              <finalName>jar-with-dependencies</finalName>

Review comment:
       **_apache-hive-beeline-4.0.0-SNAPSHOT.tar.gz_** is what the final tar gz 
output is. To give you a better context, I added this file 
https://github.com/achennagiri/hive/blob/a5dab6e8d1b41dd0bbbd0f876be59e24521795d4/packaging/src/main/assembly/beeline.xml
 as part of this PR https://github.com/apache/hive/pull/1906/files. As part of 
that, I forgot to add the this piece of code which builds the beeline jar with 
its dependencies. So, this uber/shaded jar had some problems with the log4j 
versioning and hence the use of the transformer code




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 729357)
    Time Spent: 2h  (was: 1h 50m)

> Beeline: Creating a standalone tarball by isolating dependencies
> ----------------------------------------------------------------
>
>                 Key: HIVE-25750
>                 URL: https://issues.apache.org/jira/browse/HIVE-25750
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Abhay
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> The code to create a standalone beeline tarball was created as part of this 
> ticket https://issues.apache.org/jira/browse/HIVE-24348. However, a bug was 
> reported in the case when the beeline is tried to install without the hadoop 
> installed. 
> The beeline script complains of missing dependencies when it is run.
> The ask as part of this ticket is to fix that bug. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to