scala将列表里面的元素全部转换为大写/小写 | 您所在的位置:网站首页 › 字符串大写变小写怎么操作 › scala将列表里面的元素全部转换为大写/小写 |
Hive初始化元数据常见报错
2401_82509619: [root@zyc hive]# schematool -initSchema -dbType mysql -verbose SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/module/hive/lib/log4j-slf4j-impl-2.10.0.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:50:2: XML document structures must start and end within the same entity. Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException; systemId: file:/opt/module/hive/conf/hive-site.xml; lineNumber: 50; columnNumber: 2; XML document structures must start and end within the sat org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2611) ... 15 more 这是啥问题呀哥 Hive初始化元数据常见报错
2301_79478825:
Metastore connection URL: jdbc:mysql://node1:3306/hive?createDatabaseIfNotExist=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8
Metastore Connection Driver : com.mysql.jdbc.Driver
Metastore connection User: root
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to load driver
Underlying cause: java.lang.ClassNotFoundException : com.mysql.jdbc.Driver
Use --verbose for detailed stacktrace.
*** schemaTool failed ***
这是什么原因啊 大佬帮帮忙 雨落阶前*: 您好,请问您解决了吗,我的也是报这个错 Hive初始化元数据常见报错
是小c啊:
小羽Jary: 修改一下权限,chmod 777 驱动文件,或者改一下驱动文件版本用对应的版本 |
CopyRight 2018-2019 实验室设备网 版权所有 |