Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
CentOS 6.4
-
Patch
Description
Ambari Metrics Collector's jinfo is as below:
[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 ...
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.
Attachments
Attachments
Issue Links
- links to