记录一下安装的报错信息
环境是MacPro M3,dolphinscheduler的版本是2.0.9
根据上面的链接安装单机测试的dolphinscheduler环境时报
./script/scp-hosts.sh
./script/scp-hosts.sh: line 31: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
127.0.0.1:default
=======> 127.0.0.1:default <==========
./script/scp-hosts.sh: line 43: 127.0.0.1: syntax error: invalid arithmetic operator (error token is ".0.0.1")
scp dirs to 127.0.0.1//opt/module/dpscheduler starting
./script/scp-hosts.sh: line 61: 127.0.0.1: syntax error: invalid arithmetic operator (error token is ".0.0.1")
导致的原因是我在conf/config/install_config.conf中设置的
ips、masters、workers、alertServer和apiServers的值都是IP地址127.0.0.1,仅需将ip改为localhost或者/etc/hosts中设置了映射到127.0.0.1的名称即可
让我感到困惑的是配置文件注释的示例表示可以使用IP地址的,但实际上却会报错,还是尽量使用主机名吧