[
https://issues.apache.org/jira/browse/HIVE-26159?focusedWorklogId=759361&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-759361
]
ASF GitHub Bot logged work on HIVE-26159:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Apr/22 16:18
Start Date: 20/Apr/22 16:18
Worklog Time Spent: 10m
Work Description: wecharyu opened a new pull request, #3227:
URL: https://github.com/apache/hive/pull/3227
### What changes were proposed in this pull request?
Hive cli is the default service in hive script, but it can not start even if
we use `--service cli` option now, I don't think this is what we expect from
beeline.
### Why are the changes needed?
Hive cli is a convenient tool to connect to hive metastore service for
testing or hive taste, and the hive community seems not intend to deprecate
hive cli so far.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Shell script, can test on local with just `hive` command:
```bash
$ $HIVE_HOME/bin/hive
```
Issue Time Tracking
-------------------
Worklog Id: (was: 759361)
Remaining Estimate: 0h
Time Spent: 10m
> hive cli is unavailable from hive command
> -----------------------------------------
>
> Key: HIVE-26159
> URL: https://issues.apache.org/jira/browse/HIVE-26159
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 4.0.0-alpha-1
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Fix For: 4.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hive cli is a convenient tool to connect to hive metastore service, but now
> hive cli can not start even if we use *--service cli* option, it should be a
> bug of ticket HIVE-24348.
> *Steps to reproduce:*
> {code:bash}
> hive@hive:/root$ /usr/share/hive/bin/hive --service cli --hiveconf
> hive.metastore.uris=thrift://hive:9084
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/opt/apache-hive-4.0.0-alpha-2-SNAPSHOT-bin/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/opt/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/opt/apache-hive-4.0.0-alpha-2-SNAPSHOT-bin/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/opt/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
> Beeline version 4.0.0-alpha-2-SNAPSHOT by Apache Hive
> beeline>
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)