zoukankan      html  css  js  c++  java
  • hadoop错误各种原因

    NoRouteToHostException

    错误描述:

     INFO hdfs.DFSClient: Exception in createBlockOutputStream
    java.net.NoRouteToHostException: No route to host
    
    • 1
    • 2
    • 3

    解决办法:是防火墙的问题 
    关闭systemctl stop firewalld.service(所有集群中的防火墙都要关闭)

    Check system time and time zones

    错误描述:

    Got exception: org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container. 
    This token is expired. current time is 1468846669832 found 1468814870801
    Note: System times on machines may be out of sync. Check system time and time zones.
    
    • 1
    • 2
    • 3
    • 4

    解决办法:

    date -s '2016-07-18 12:07:00'
    
    • 1
    • 2

    centos7时间设置补充: 
    查看时间状态:timedatectl 
    设 置 时 间:timedatectl set-time “YYYY-MM-DD HH:MM:SS” 
    列 出 时 区:timedatectl list-timezones 
    设 置 时 区:timedatectl set-timezone Asia/Shanghai 
    是否NTP服务器同步:timedatectl set-ntp yes 
    将硬件时钟调整为与本地时钟一致:timedatectl set-local-rtc 1

  • 相关阅读:
    C语言II—作业03
    C语言II博客作业01
    学期总结
    第一次作业!
    C语言I博客作业08
    C语言I博客作业07
    C语言I博客作业06
    C语言I博客作业05
    C语言I博客作业04
    第三次作业!
  • 原文地址:https://www.cnblogs.com/shizhijie/p/9117630.html
Copyright © 2011-2022 走看看