java—如何检查hadoop集群中所有节点的时间

ezykj2lf  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(190)

我正在hadoop集群上运行spark作业,该作业有几次失败,但有一个异常:异常:失败的oozie启动器,主类[org.apache.oozie.action.hadoop.javamain],main()抛出异常,begin>end在范围内(begin,end):(1494159709088,1494159706071)
作业在重新运行时成功运行。在google上搜索之后,可能是oozie服务器主机和启动器主机之间的时钟偏移。有没有办法让我检查一下时钟是否有偏差?或者如何检查所有节点上的时间是否同步。
谢谢
ntptime命令输出:

ntp_gettime() returns code 0 (OK)
  time dcb9b19b.a2328f64  Sun, May  7 2017 14:45:47.633, (.633584090),
  maximum error 434990 us, estimated error 815 us, TAI offset 0
ntp_adjtime() returns code 0 (OK)
  modes 0x0 (),
  offset 176.871 us, frequency -25.666 ppm, interval 1 s,
  maximum error 434990 us, estimated error 815 us,
  status 0x2001 (PLL,NANO),
  time constant 10, precision 0.001 us, tolerance 500 ppm,

ntpstat命令输出:

synchronised to NTP server (174.68.168.57) at stratum 3 
   time correct to within 77 ms
   polling server every 1024 s

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题