在运行sqlline.py,提示jar包冲突
[hadoop@itpub81 ~]$ sqlline.py 192.168.1.91:2181
......
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/data/phoenix-hbase-2.2-5.1.2-bin/phoenix-client-hbase-2.2-5.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/data/hadoop-3.1.1/share/hadoop/common/lib/slf4j-log4j12-1.7.25.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.slf4j.impl.Log4jLoggerFactory]
......
[Solution]
根据网友方案,删除任何一个即可
[hadoop@itpub81 ~]$ rm -rf /data/phoenix-hbase-2.2-5.1.2-bin/phoenix-client-hbase-2.2-5.1.2.jar