ambari下httpfs安装

1.比较webFS 和 httpFS

2.安装

执行

sudo yum install hadoop-httpfs

即可

3.启动

切换到httpfs 用户

sudo su - httpfs

执行

/usr/hdp/2.6.0.3-8/hadoop-httpfs/etc/rc.d/init.d/hadoop-httpfs start

4.测试服务是否正常

http://host1:14000/webhdfs/v1?op=LISTSTATUS&user.name=httpfs

如果有信息返回,则配置成功,如果页面无法访问,则表示数据尚未安排成功

猜你喜欢

转载自www.cnblogs.com/yankang/p/9965480.html