为什么HAWQ初始化错误同步hawq-site.xml失败

时间:2018-08-30 06:05:14

标签: hawq

apache-hawq-src-2.3.0.0构建表单源。安装成功。但是

我像这样"bin/hawq init master"初始化hawq时,

  

20180830:13:44:15:084023 hawq_init:office-hadoop02:web- [INFO]:-检查:   hawq_master_address_host设置为20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-检查:hawq_master_address_port   设置为20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-检查:hawq_master_directory是   设置20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-检查:hawq_segment_directory是   设置20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-检查:hawq_segment_address_port   设置为20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-检查:设置了hawq_dfs_url   20180830:13:44:15:084023 hawq_init:office-hadoop02:web- [INFO]:-检查:   hawq_master_temp_directory设置为20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-检查:   hawq_segment_temp_directory设置为20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-未配置备用主机,请跳过   它20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-检查hdfs路径是否可用   20180830:13:44:15:084023 hawq_init:office-hadoop02:web- [INFO]:-1   段主机定义20180830:13:44:15:084023   hawq_init:office-hadoop02:web- [INFO]:-Set   default_hash_table_bucket_number为:6 20180830:13:44:17:084023    hawq_init:office-hadoop02:web- [ERROR]:-同步hawq-site.xml失败。   20180830:13:44:17:084023 hawq_init:office-hadoop02:web- [ERROR]:-Set   default_hash_table_bucket_number失败

1 个答案:

答案 0 :(得分:0)

这应该是因为未设置ssh-less密码,请检查以下设置。

https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install

  

此外,您需要在系统上设置无密码的ssh。

     

在主机host1,host2和host3之间交换SSH密钥:

     

hawq ssh-exkeys -h host1 -h host2 -h host3