You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Suntsov (JIRA)" <ji...@apache.org> on 2017/02/08 10:10:41 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 ]
Ilya Suntsov updated IGNITE-4668:
---------------------------------
Description:
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.
was:In scripts benchmark-manual-drivers-start.sh
> 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
> Fix For: 1.9
>
>
> 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.3.15#6346)