/bin/bash: xmllint: 未找到命令

本文介绍了解决Ubuntu 32位系统中编译问题的方法,当遇到编译过程中缺少xmllint的问题时,可以通过安装libxml2-utils来解决。

转载请注明出处:http://blog.youkuaiyun.com/droyon/article/details/8655517

我原先的ubuntu是32位的,如果在编译过程中,如果发现报告了上述问题,那么动手安装xmllint。

命令:

sudo apt-get  install libxml2-utils


其他的类似。



关注我的技术公众号,查看更多优质技术文章推送

微信扫一扫下方二维码即可关注:

关注我的技术公众号,查看更多优质技术文章推送


hive which: no hbase in (/export/servers/flume-1.9.0/bin:/export/servers/flume-1.9.0/ bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/export/servers/jdk1.8.0_3 81/bin:/export/servers/hadoop-3.3.0/bin:/export/servers/hadoop-3.3.0/sbin:/expor t/servers/zookeeper-3.7.0/bin:/export/servers/kafka-3.0.0/bin:/root/bin:/export/ servers/jdk1.8.0_381/bin:/export/servers/hadoop-3.3.0/bin:/export/servers/hadoop -3.3.0/sbin:/export/servers/zookeeper-3.7.0/bin:/export/servers/kafka-3.0.0/bin: /export/servers/hive-3.1.3/bin) SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/servers/hive-3.1.3/lib/log4j-slf4j-imp l-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/export/servers/hadoop-3.3.0/share/hadoop/comm on/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.apache.logging.slf4j.Log4jLoggerFactory] Exception in thread "main" java.lang.RuntimeException: com.ctc.wstx.exc.WstxPars ingException: Illegal processing instruction target ("xml"); xml (case insensiti ve) is reserved by the specs. at [row,col,system-id]: [1,6,"file:/export/servers/hive-3.1.3/conf/hive-site.xm l"] at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java: 3051) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java :3000) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2875 ) at org.apache.hadoop.conf.Configuration.get(Configuration.java:1484) at org.apache.hadoop.hive.conf.
06-06
which: no hbase in (.:/usr/local/hive/bin:.:/usr/local/hadoop/bin:.:/usr/local/kafka/bin:.:/usr/local/zookeeper/bin:.:/usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/local/hive/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.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] [Fatal Error] hive-site.xml:550:8: The content of elements must consist of well-formed character data or markup. Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException; systemId: file:/usr/local/hive/conf/hive-site.xml; lineNumber: 550; columnNumber: 8; The content of elements must consist of well-formed character data or markup. at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2728) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2574) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2477) at org.apache.hadoop.conf.Configuration.get(Configuration.java:1302) at org.apache.hadoop.hive.conf.HiveConf.getVar(HiveConf.java:3904) at org.apache.hadoop.hive.conf.HiveConf.getVar(HiveConf.java:3973) at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:4060) at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:4003) at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jCommon(LogUtils.java:81) at org.apache.hadoop.hive.common.LogUtils.initHiveLog4j(LogUtils.java:65) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:702) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:686) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.util.RunJar.run(RunJar.java:226) at org.apache.hadoop.util.RunJar.main(RunJar.java:141) Caused by: org.xml.sax.SAXParseException; systemId: file:/usr/local/hive/conf/hive-site.xml; lineNumber: 550; columnNumber: 8; The content of elements must consist of well-formed character data or markup. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:150) at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2552) at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2540) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2611) ... 17 more
最新发布
11-05
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

hailushijie

您的鼓励是我创作最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值