首页 > 其他分享 >启动HBase时提示SLF4J: Class path contains multiple SLF4J bindings的解决方法

启动HBase时提示SLF4J: Class path contains multiple SLF4J bindings的解决方法

时间:2023-05-31 23:04:28浏览次数:37  
标签:25 1.7 multiple SLF4J 报错 hbase bindings

启动hbase报错:“SLF4J: Class path contains multiple SLF4J bindings.”解决方法

cd /home/opt/hbase-2.2.3/lib/client-facing-thirdparty
mv slf4j-log4j12-1.7.25.jar slf4j-log4j12-1.7.25-copy

修改了hbase中的文件名,保留了hadoop的,这个会有问题,一个当启动hbase的reg会报错
这一堆SLF4J,是由于hbase和hadoop的jar包冲突导致的。

 



最好的解决方式是:只需要多配置一行环境变量即可解决。

在$HBASE_HOME/conf/hbase-env.sh中,export HBASE_DISABLE_HADOOP_CLASSPATH_LOOKUP="true" 这一句的注释去掉即可。
 

标签:25,1.7,multiple,SLF4J,报错,hbase,bindings
From: https://blog.51cto.com/lenglingx/6390798

相关文章

  • winform dataGridView MultipleLayeredColumnHeader
    privatevoidMainForm_Load(objectsender,EventArgse){this.dataGridView1.Columns.Add("JanWin","Win");this.dataGridView1.Columns.Add("JanLoss","Loss");this.dataGri......
  • AtCoder Regular Contest 129 C Multiple of 7
    洛谷传送门AtCoder传送门首先\(\text{7777...777}\)(\(x\)个\(7\))对能被\(7\)整除子串数量的贡献是\(\frac{x(x+1)}{2}\)。把\(n\)分解成若干\(x_i\)使得\(\sum\limits_{i=1}^m\frac{x_i(x_i+1)}{2}=n\),表示每段\(x_i\)个\(7\)。怎么把它们组合在一起呢?一个......
  • SLF4J: Class path contains multiple SLF4J bindings.错误解决
    1.出现问题错误如下:SLF4J:ClasspathcontainsmultipleSLF4Jbindings.SLF4J:Foundbindingin[jar:file:/D:/Users/FFprincess/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:Foun......
  • System.InvalidOperationException:“The entity type 'XXXXX' has multiple properti
    一、前言当我使用efcorecodefirst成功生成实体类,然后编写好功能,运行的时候报了这个错误System.InvalidOperationException:“Theentitytype'Student'hasmultiplepropertieswiththe[Key]attribute.Compositeprimarykeyscanonlybesetusing'HasKey'in'OnMo......
  • string replace multiple items
    Doastr.replace(';',',')andthenastr.split(',')orimportrere.split(';|,',string_to_split)>>>a='Beautiful,is;better*than\nugly'>>>importre>>>re.split(......
  • How to connect to multiple SSD1306 OLED Displays using Raspberry Pi GPIO I2C PIN
    HowtoconnecttomultipleSSD1306OLEDDisplaysusingRaspberryPiGPIOI2CPINAllInOne如何使用RaspberryPi的GPIOI2CPIN连接多个SSD1306OLED显示器demos(......
  • slf4j
    日志门面Slf4j转载自:https://zhuanlan.zhihu.com/p/394685808Java日志的恩怨情仇1996年早期,欧洲安全电子市场项目组决定编写它自己的程序跟踪API(TracingAPI)。经过不断的完善,这个API终于成为一个十分受欢迎的Java日志软件包,即Log4j(由Ceki创建)。后来Log4j成为Apache基金会......
  • When to use which bindings in WCF
    WhentousewhichbindingsinWCFWCFsupportsseveraldifferentbindings,andthechoiceofwhichbindingtousedependsontherequirementsoftheserviceandtheclient.Hereisabriefoverviewofsomeofthemostcommonbindingsandwhentouseth......
  • Representation Learning for Attributed Multiplex Heterogeneous Network
    目录概符号说明各种定义HeterogeneousnetworkAttributednetworkAttributedmultiplexnetwork代码CenY.,ZouX.,ZhangJ.,YangH.,ZhouJ.andTangJ.Representationlearningforattributedmultiplexheterogeneousnetwork.KDD,2019.概本文在Attributed(结......
  • DIA-48448: This command does not support multiple ADR homes
    在使用adrci命令清空日志时遇到错误:“DIA-48448:ThiscommanddoesnotsupportmultipleADRhomes”如何解决呢?如下所示$ adrciADRCI: Release 19.0.0.0.0 - Production on Mon Apr 24 17:13:32 2023Copyright (c) 1982, 2019, Oracle and/or its affiliate......