You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/02/18 00:32:39 UTC

[GitHub] [hive] achennagiri opened a new pull request #3043: HIVE-25750: Fixing the bug in HIVE-24348. This change lets you run th…

achennagiri opened a new pull request #3043:
URL: https://github.com/apache/hive/pull/3043


   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. 
   
   Update:
   Was running in to the below error with the file mode on in Beeline
   
   ```
   Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapred.JobConf
       at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
       at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
   ```
   Added a fix to resolve this.
   
   ### What changes were proposed in this pull request?
   The beeline script can be run with/without hadoop installed. All the required dependencies are bundled into a single downloadable tar file. 
   `mvn clean package install -Pdist -Pitests -DskipTests -Denforcer.skip=true` generates something along the lines of 
   **apache-hive-beeline-4.0.0-SNAPSHOT.tar.gz** in the **packaging/target** folder.
   
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   
   Created a docker container using the command
   `sudo docker run  --rm -it -v /Users/achennagiri/Downloads:/container --user root docker-private.infra.cloudera.com/cloudera_base/ubi8/python-38:1-68 /bin/bash`
   
   Need to install `yum install -y java-11-openjdk` java in the container. 


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] achennagiri closed pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
achennagiri closed pull request #3043:
URL: https://github.com/apache/hive/pull/3043


   


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] achennagiri commented on pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
achennagiri commented on pull request #3043:
URL: https://github.com/apache/hive/pull/3043#issuecomment-1054706254


   recheck


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] achennagiri commented on pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
achennagiri commented on pull request #3043:
URL: https://github.com/apache/hive/pull/3043#issuecomment-1054619019


   retest


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] achennagiri commented on pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
achennagiri commented on pull request #3043:
URL: https://github.com/apache/hive/pull/3043#issuecomment-1051288787


   retest


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] achennagiri commented on pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
achennagiri commented on pull request #3043:
URL: https://github.com/apache/hive/pull/3043#issuecomment-1051392895


   retest


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] achennagiri commented on pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
achennagiri commented on pull request #3043:
URL: https://github.com/apache/hive/pull/3043#issuecomment-1056501302


   The fix has been committed upstream.


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] achennagiri closed pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
achennagiri closed pull request #3043:
URL: https://github.com/apache/hive/pull/3043


   


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] nrg4878 commented on pull request #3043: HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

Posted by GitBox <gi...@apache.org>.
nrg4878 commented on pull request #3043:
URL: https://github.com/apache/hive/pull/3043#issuecomment-1050251893


   Fix has been merged. Please close the PR. Thank you @achennagiri 


-- 
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-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org