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/04/19 08:04:41 UTC

[jira] [Created] (IGNITE-5022) Duplicates of JVM OPTS [yardstick]

Ilya Suntsov created IGNITE-5022:
------------------------------------

             Summary: Duplicates of JVM OPTS [yardstick]
                 Key: IGNITE-5022
                 URL: https://issues.apache.org/jira/browse/IGNITE-5022
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 1.9
            Reporter: Ilya Suntsov
             Fix For: 2.1


I've set in properties file these jvm options:
{noformat}
JVM_OPTS=${JVM_OPTS}" \
-Xms6g \
-Xmx6g \
-Xloggc:./gc${now0}.log \
-XX:+PrintGCDetails \
-verbose:gc \
-XX:+UseParNewGC \
-XX:+UseConcMarkSweepGC \
{noformat}

But in nodes logs I see the following:
{noformat}
-Xms2g, -Xmx2g, -Djava.net.preferIPv4Stack=true, 
-DIGNITE_QUIET=false,
 -Xms6g,
 -Xmx6g,
 -Xloggc:./gc205724.log,
 -XX:+PrintGCDetails,
 -verbose:gc,
 -XX:+UseParNewGC,
 -XX:+UseConcMarkSweepGC,
 -Xloggc:/home/ubuntu/date-1804-205649-s-4-c-8-ver-2.0.0-SNAPSHOT-3565e4ee/yardstick/bin/../output/logs-20170418-205720/logs_drivers/gc-205724-driver-id0-172.31.46.6-2.0.0-SNAPSHOT-3565e4ee-atomic-put-1-backup.log, -Dyardstick.driver0, 
-Xloggc:/home/ubuntu/date-1804-205649-s-4-c-8-ver-2.0.0-SNAPSHOT-3565e4ee/yardstick/bin/../output/logs-20170418-205720/logs_drivers/gc-205724-driver-id1-172.31.37.52-2.0.0-SNAPSHOT-3565e4ee-atomic-put-1-backup.log, -Dyardstick.driver1,
 -Xloggc:/home/ubuntu/date-1804-205649-s-4-c-8-ver-2.0.0-SNAPSHOT-3565e4ee/yardstick/bin/../output/logs-20170418-205720/logs_drivers/gc-205724-driver-id2-172.31.35.222-2.0.0-SNAPSHOT-3565e4ee-atomic-put-1-backup.log, -Dyardstick.driver2
{noformat}

The problem is duplicates of logs files in the end. It was log of yardstick driver with id equals 2 but here we can see also info about gc log driver with id 0 and id 1.
Also we need to add if condition in bootstrap script where we set 
{noformat}-Xms2g, -Xmx2g, -Djava.net.preferIPv4Stack=true,  {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)