hadoop2.7.1 - hadoop+zookeeper+hbase集群后,通过javaApi调用hbase进行增删改查时报错,麻烦懂的帮我看下!
PHP中文网
PHP中文网 2017-04-17 17:44:36
0
2
551

core-site.xml
<IMG src="file:///C:\Users\Administrator\AppData\Roaming\feiq\RichOle\1629161567.bmp">

hbase-site.xml
<IMG src="file:///C:\Users\Administrator\AppData\Roaming\feiq\RichOle\3594932205.bmp">

我的代码
<IMG src="file:///C:\Users\Administrator\AppData\Roaming\feiq\RichOle\3014879666.bmp">

<IMG src="file:///C:\Users\Administrator\AppData\Roaming\feiq\RichOle\1325124368.bmp">

报错信息
<IMG src="file:///C:\Users\Administrator\AppData\Roaming\feiq\RichOle\651949064.bmp">

<IMG src="file:///C:\Users\Administrator\AppData\Roaming\feiq\RichOle\3312510756.bmp">

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
小葫芦

Isn’t the error very clear?
Null pointer problem, we need to look at why it is a null object?

小葫芦

I don’t know the actual component version. According to the error report, not implemented by the distributedfilesystem filesystem implementation, it is judged that the hdfs object has not been initialized successfully. According to personal experience, sometimes the configuration of namenode in xml is invalid, that is to say, In the configuration of hdfs, conf.set("fs.defaultFS", namenode). Then try again

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!