配置hadoop环境mapreduce连接不上hdfs解决
配置hadoop环境
配置hadoop环境真的是要命,随时都可以出现意向不到的问题,比如
Failing this attempt.Diagnostics: Call From hadoop001/0.0.0.0 to hadoop001:8020 failed on connection exception: Java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
很奇诡啊的问题,所有配置没问题,问题出现在ipv6上,
禁用掉系统的ipv6编程重启就好了
jsvi /etc/default/grub
# cat /etc/default/grub GRUB_TIMEOUT=5 GRUB_DEFAULTHQqmjw=savedjs GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_linux="ipv6.编程客栈disable=1 crashkernel=auto rhgb quiet" GRUB_DISABLE_RECOVERY="true"
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
以上就是配置hadoop环境mapreduce连接不上hdfs的详细内容,更多关于hadoop mapreduce连接不上hdfs的资料请关注编程客栈(www.devze.com)其它相关文章!
精彩评论