You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Masahiro TANAKA (JIRA)" <ji...@apache.org> on 2016/02/05 18:30:39 UTC

[jira] [Created] (AMBARI-14945) Some options have not been applied on Ambari Metrics Collector

Masahiro TANAKA created AMBARI-14945:
----------------------------------------

             Summary: Some options have not been applied on Ambari Metrics Collector
                 Key: AMBARI-14945
                 URL: https://issues.apache.org/jira/browse/AMBARI-14945
             Project: Ambari
          Issue Type: Bug
          Components: ambari-metrics
    Affects Versions: 2.2.0
         Environment: CentOS 6.4
            Reporter: Masahiro TANAKA


Ambari Metrics Collector's jinfo is as below:

{noformat}
[root@c6403 ~]# sudo -u ams /usr/jdk64/jdk1.8.0_60/bin/jinfo 18535
Attaching to process ID 18535, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.60-b23
Java System Properties:

proc_timelineserver =
java.runtime.name = Java(TM) SE Runtime Environment
java.vm.version = 25.60-b23
sun.boot.library.path = /usr/jdk64/jdk1.8.0_60/jre/lib/amd64
java.vendor.url = http://java.oracle.com/
java.vm.vendor = Oracle Corporation
path.separator = :
file.encoding.pkg = sun.io
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
sun.os.patch.level = unknown
sun.java.launcher = SUN_STANDARD
user.country = US
user.dir = /home/ams
java.vm.specification.name = Java Virtual Machine Specification
java.runtime.version = 1.8.0_60-b27
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
os.arch = amd64
java.endorsed.dirs = /usr/jdk64/jdk1.8.0_60/jre/lib/endorsed
line.separator =

java.io.tmpdir = /tmp
java.vm.specification.vendor = Oracle Corporation
os.name = Linux
sun.jnu.encoding = UTF-8
java.library.path = /usr/lib/ams-hbase/lib/hadoop-native -XX:+UseConcMarkSweepGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/var/log/ambari-metrics-collector/collector-gc.log-201602051642
java.specification.name = Java Platform API Specification
java.class.version = 52.0
java.net.preferIPv4Stack = true
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
os.version = 2.6.32-358.el6.x86_64
...
{noformat}

It looks like {{AMS_COLLECTOR_GC_OPTS}} ( which is defined in ams-env.xml ) is interpreted as {{java.library.path}}.

This is caused by an initialization script {{/usr/sbin/ambari-metrics-collector}}.

{{AMS_COLLECTOR_OPTS}} should not be double-quoted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)