You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/09/26 12:22:00 UTC
[jira] [Updated] (IGNITE-4668) Doesn't work "manual" yardsticks
when ip of server/driver not equal ip of ethernet interface
[ https://issues.apache.org/jira/browse/IGNITE-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-4668:
------------------------------------
Fix Version/s: (was: 2.3)
> Doesn't work "manual" yardsticks when ip of server/driver not equal ip of ethernet interface
> ---------------------------------------------------------------------------------------------
>
> Key: IGNITE-4668
> URL: https://issues.apache.org/jira/browse/IGNITE-4668
> Project: Ignite
> Issue Type: Bug
> Components: yardstick
> Affects Versions: 1.8
> Reporter: Ilya Suntsov
>
> In scripts benchmark-manual-servers-start.sh we are checking:
> {noformat}
> for host in "${hosts[@]}";
> do
> if [ "${host}" == "localhost" ] || [ "${host}" == "127.0.0.1" ]; then
> srv_num=$((1 + $srv_num))
> else
> ip=$(hostname --ip-address)
> host_name=$(hostname)
> if [ "${host}" == "${ip}" ] || [ "${host}" == "${host_name}" ]; then
> srv_num=$((1 + $srv_num))
> fi
> fi
> done
> {noformat}
> in case when ip address of real host interface that we set as server address not equal $(hostname --ip-address) servers doesn't start.
> I think we should collect all interfaces ip in array and check if ip from ${hosts[@]} (SERVER_HOSTS) equal one of them.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)