(1)java.io.EOFException报错: local host is: "node1/192.168.30.128"; destination host is: "node1":8020
解决方法:
Step 1 :切换到/etc/hadoop目录下,修改core-site.xml
cd /etc/hadoop vi core-site.xml
将
fs.defaultFS hdfs://node1:8020 将这里的node1改成对应的IP地址hadoop.tmp.dir /home/hadoop/hadoop/tmp
Step 2:修改slaves ,改成IP相应的节点名称
vi slaves
Step 3:再重新格式化,启动Hadoop
hdfs namenode -format #格式化 start-all.sh
Step 4:hive元数据初始化
schematool -dbType mysql -initSchema
最后输入hive即可
(2)FAILED: IllegalArgumentException java.net.URISyntaxException: Relative path in absolute URI: file:./~/hive/tmp/hadoop/e27f6020-e05f-4ce2-8bb7-b14beea78f16/hive_2021-10-29_02-09-10_147_5374776379523645959-1
原因分析:
在 hive/conf/hive-site.xml修改替换路径是时没有写成绝对路径
解决办法:
替换路径时写成绝对路径即可
(3) 启动hbase报错:ERROR [main] conf.Configuration: error parsing conf hbase-site.xml
com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected .
原因:是因为在配置hbase-site.xml时,直接粘贴过来的,结果少了一个
解决方法:将少了的



