V9系列多实例版本,获取hostid时报错:No such file or directory
涉及版本:
GBase8a_MPP_Cluster-License-MultiInstance-9.5.3.011-redhat7.3-x86_64.tar.bz2
问题现象:
在安装V9系列多实例版本时,如果是license版本,需要获取主机hostid,在执行命令时,会报错:
[root@node1 gcinstall]# ./gethostsid -n 192.168.56.175 -f test.txt -ugbase -pgbase
Traceback (most recent call last):
File "./gethostsid", line 189, in <module>
with open('/tmp/getfingertmpmergefile_%s'%(host), 'rb') as r:
IOError: [Errno 2] No such file or directory: '/tmp/getfingertmpmergefile_192.168.56.175'