ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masahiro TANAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14945) Some options have not been applied on Ambari Metrics Collector
Date Sat, 06 Feb 2016 01:06:39 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135388#comment-15135388
] 

Masahiro TANAKA commented on AMBARI-14945:
------------------------------------------

Full jinfo


{code:title=Before fixing|borderStyle=solid}
[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
user.home = /home/ams
user.timezone = UTC
java.awt.printerjob = sun.print.PSPrinterJob
file.encoding = UTF-8
java.specification.version = 1.8
user.name = ams
java.class.path = /usr/lib/ambari-metrics-collector/curator-recipes-2.7.1.jar:/usr/lib/ambari-metrics-collector/jersey-json-1.11.jar:/usr/lib/ambari-metrics-collector/commons-math3-3.4.1.jar:/usr/lib/ambari-metrics-collector/hadoop-auth-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hbase-server-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/curator-client-2.7.1.jar:/usr/lib/ambari-metrics-collector/hbase-common-1.1.2.2.3.4.0-3486-tests.jar:/usr/lib/ambari-metrics-collector/commons-pool2-2.3.jar:/usr/lib/ambari-metrics-collector/phoenix-core-4.4.0.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/microsoft-windowsazure-storage-sdk-0.6.0.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-core-2.7.1.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/snappy-0.3.jar:/usr/lib/ambari-metrics-collector/paranamer-2.3.jar:/usr/lib/ambari-metrics-collector/commons-beanutils-1.7.0.jar:/usr/lib/ambari-metrics-collector/apacheds-i18n-2.0.0-M15.jar:/usr/lib/ambari-metrics-collector/servlet-api-2.5-6.1.14.jar:/usr/lib/ambari-metrics-collector/joni-2.1.2.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-api-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/javax.inject-1.jar:/usr/lib/ambari-metrics-collector/jsp-2.1-6.1.14.jar:/usr/lib/ambari-metrics-collector/commons-lang-2.5.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-client-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/ST4-4.0.7.jar:/usr/lib/ambari-metrics-collector/hbase-hadoop2-compat-1.1.2.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/api-util-1.0.0-M20.jar:/usr/lib/ambari-metrics-collector/jettison-1.1.jar:/usr/lib/ambari-metrics-collector/commons-collections-3.2.1.jar:/usr/lib/ambari-metrics-collector/jsr305-2.0.1.jar:/usr/lib/ambari-metrics-collector/jsch-0.1.42.jar:/usr/lib/ambari-metrics-collector/jersey-server-1.11.jar:/usr/lib/ambari-metrics-collector/hadoop-client-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/stringtemplate-3.2.1.jar:/usr/lib/ambari-metrics-collector/jline-2.11.jar:/usr/lib/ambari-metrics-collector/commons-logging-1.1.1.jar:/usr/lib/ambari-metrics-collector/azure-storage-2.2.0.jar:/usr/lib/ambari-metrics-collector/xmlenc-0.52.jar:/usr/lib/ambari-metrics-collector/commons-configuration-1.6.jar:/usr/lib/ambari-metrics-collector/commons-httpclient-3.1.jar:/usr/lib/ambari-metrics-collector/xercesImpl-2.11.0.jar:/usr/lib/ambari-metrics-collector/joda-time-2.7.jar:/usr/lib/ambari-metrics-collector/protobuf-java-2.5.0.jar:/usr/lib/ambari-metrics-collector/activation-1.1.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-app-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-server-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/commons-io-2.4.jar:/usr/lib/ambari-metrics-collector/antlr-runtime-3.5.jar:/usr/lib/ambari-metrics-collector/commons-csv-1.0.jar:/usr/lib/ambari-metrics-collector/jdk.tools-1.7.jar:/usr/lib/ambari-metrics-collector/commons-net-3.1.jar:/usr/lib/ambari-metrics-collector/hadoop-azure-2.7.1.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/jsp-api-2.1-6.1.14.jar:/usr/lib/ambari-metrics-collector/leveldbjni-all-1.8.jar:/usr/lib/ambari-metrics-collector/findbugs-annotations-1.3.9-1.jar:/usr/lib/ambari-metrics-collector/log4j-1.2.17.jar:/usr/lib/ambari-metrics-collector/jackson-jaxrs-1.9.2.jar:/usr/lib/ambari-metrics-collector/jaxb-impl-2.2.3-1.jar:/usr/lib/ambari-metrics-collector/jackson-core-2.2.3.jar:/usr/lib/ambari-metrics-collector/ambari-metrics-common-2.2.0.0.1338.jar:/usr/lib/ambari-metrics-collector/jetty-util-6.1.26.hwx.jar:/usr/lib/ambari-metrics-collector/jackson-core-asl-1.9.9.jar:/usr/lib/ambari-metrics-collector/high-scale-lib-1.1.1.jar:/usr/lib/ambari-metrics-collector/annotations-1.3.2.jar:/usr/lib/ambari-metrics-collector/commons-math-2.2.jar:/usr/lib/ambari-metrics-collector/hadoop-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/htrace-core-3.1.0-incubating.jar:/usr/lib/ambari-metrics-collector/ambari-metrics-timelineservice-2.2.0.0.1338.jar:/usr/lib/ambari-metrics-collector/curator-framework-2.7.1.jar:/usr/lib/ambari-metrics-collector/slf4j-log4j12-1.7.2.jar:/usr/lib/ambari-metrics-collector/jets3t-0.9.0.jar:/usr/lib/ambari-metrics-collector/hadoop-hdfs-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/jersey-core-1.11.jar:/usr/lib/ambari-metrics-collector/commons-digester-1.8.jar:/usr/lib/ambari-metrics-collector/hbase-procedure-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-shuffle-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/zookeeper-3.4.6.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hbase-hadoop-compat-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/commons-cli-1.2.jar:/usr/lib/ambari-metrics-collector/jamon-runtime-2.3.1.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-server-nodemanager-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/commons-lang3-3.3.2.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/antlr-2.7.7.jar:/usr/lib/ambari-metrics-collector/jersey-guice-1.11.jar:/usr/lib/ambari-metrics-collector/commons-codec-1.7.jar:/usr/lib/ambari-metrics-collector/aopalliance-1.0.jar:/usr/lib/ambari-metrics-collector/hbase-client-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/snappy-java-1.0.4.1.jar:/usr/lib/ambari-metrics-collector/servlet-api-2.5.jar:/usr/lib/ambari-metrics-collector/jsp-api-2.1.jar:/usr/lib/ambari-metrics-collector/hbase-protocol-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/netty-all-4.0.23.Final.jar:/usr/lib/ambari-metrics-collector/xml-apis-1.4.01.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-jobclient-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/guice-servlet-3.0.jar:/usr/lib/ambari-metrics-collector/okio-1.4.0.jar:/usr/lib/ambari-metrics-collector/api-asn1-api-1.0.0-M20.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/netty-3.6.2.Final.jar:/usr/lib/ambari-metrics-collector/antlr-3.5.jar:/usr/lib/ambari-metrics-collector/slf4j-api-1.7.2.jar:/usr/lib/ambari-metrics-collector/commons-compress-1.4.1.jar:/usr/lib/ambari-metrics-collector/jetty-6.1.26.hwx.jar:/usr/lib/ambari-metrics-collector/jcodings-1.0.8.jar:/usr/lib/ambari-metrics-collector/guice-3.0.jar:/usr/lib/ambari-metrics-collector/httpcore-4.2.5.jar:/usr/lib/ambari-metrics-collector/jackson-mapper-asl-1.9.13.jar:/usr/lib/ambari-metrics-collector/stax-api-1.0.1.jar:/usr/lib/ambari-metrics-collector/java-xmlbuilder-0.4.jar:/usr/lib/ambari-metrics-collector/jackson-xc-1.9.13.jar:/usr/lib/ambari-metrics-collector/guava-14.0.1.jar:/usr/lib/ambari-metrics-collector/hbase-annotations-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/gson-2.2.4.jar:/usr/lib/ambari-metrics-collector/jetty-sslengine-6.1.26.hwx.jar:/usr/lib/ambari-metrics-collector/asm-3.1.jar:/usr/lib/ambari-metrics-collector/jersey-client-1.11.jar:/usr/lib/ambari-metrics-collector/jersey-servlet-1.11.jar:/usr/lib/ambari-metrics-collector/apacheds-kerberos-codec-2.0.0-M15.jar:/usr/lib/ambari-metrics-collector/sqlline-1.1.8.jar:/usr/lib/ambari-metrics-collector/avro-1.7.4.jar:/usr/lib/ambari-metrics-collector/disruptor-3.3.0.jar:/usr/lib/ambari-metrics-collector/hadoop-annotations-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/httpclient-4.0.1.jar:/usr/lib/ambari-metrics-collector/metrics-core-2.2.0.jar:/usr/lib/ambari-metrics-collector/okhttp-2.4.0.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-registry-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hbase-common-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/commons-daemon-1.0.13.jar:/usr/lib/ambari-metrics-collector/commons-beanutils-core-1.8.0.jar:/usr/lib/ambari-metrics-collector/stax-api-1.0-2.jar:/usr/lib/ambari-metrics-collector/jaxb-api-2.2.2.jar:/usr/lib/ambari-metrics-collector/xz-1.0.jar:/etc/ambari-metrics-collector/conf
java.vm.specification.version = 1.8
sun.arch.data.model = 64
sun.java.command = org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
java.home = /usr/jdk64/jdk1.8.0_60/jre
user.language = en
java.specification.vendor = Oracle Corporation
awt.toolkit = sun.awt.X11.XToolkit
java.vm.info = mixed mode
java.version = 1.8.0_60
ams.log.dir = /var/log/ambari-metrics-collector
java.ext.dirs = /usr/jdk64/jdk1.8.0_60/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path = /usr/jdk64/jdk1.8.0_60/jre/lib/resources.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/rt.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/sunrsasign.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/jsse.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/jce.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/charsets.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/jfr.jar:/usr/jdk64/jdk1.8.0_60/jre/classes
java.vendor = Oracle Corporation
file.separator = /
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
sun.cpu.isalist =

VM Flags:
Non-default VM flags: -XX:CICompilerCount=2 -XX:InitialHeapSize=536870912 -XX:MaxHeapSize=536870912
-XX:MaxNewSize=178913280 -XX:MinHeapDeltaBytes=196608 -XX:NewSize=178913280 -XX:OldSize=357957632
-XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseFastUnorderedTimeStamps
Command line:  -Xms512m -Xmx512m -Djava.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
-Djava.net.preferIPv4Stack=true -Dams.log.dir=/var/log/ambari-metrics-collector -Dproc_timelineserver
{code}

{code:title=After fixing|borderStyle=solid}
[root@c6403 ~]# sudo -u ams /usr/jdk64/jdk1.8.0_60/bin/jinfo 20448
Attaching to process ID 20448, 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
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
user.home = /home/ams
user.timezone = UTC
java.awt.printerjob = sun.print.PSPrinterJob
file.encoding = UTF-8
java.specification.version = 1.8
user.name = ams
java.class.path = /usr/lib/ambari-metrics-collector/curator-recipes-2.7.1.jar:/usr/lib/ambari-metrics-collector/jersey-json-1.11.jar:/usr/lib/ambari-metrics-collector/commons-math3-3.4.1.jar:/usr/lib/ambari-metrics-collector/hadoop-auth-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hbase-server-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/curator-client-2.7.1.jar:/usr/lib/ambari-metrics-collector/hbase-common-1.1.2.2.3.4.0-3486-tests.jar:/usr/lib/ambari-metrics-collector/commons-pool2-2.3.jar:/usr/lib/ambari-metrics-collector/phoenix-core-4.4.0.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/microsoft-windowsazure-storage-sdk-0.6.0.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-core-2.7.1.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/snappy-0.3.jar:/usr/lib/ambari-metrics-collector/paranamer-2.3.jar:/usr/lib/ambari-metrics-collector/commons-beanutils-1.7.0.jar:/usr/lib/ambari-metrics-collector/apacheds-i18n-2.0.0-M15.jar:/usr/lib/ambari-metrics-collector/servlet-api-2.5-6.1.14.jar:/usr/lib/ambari-metrics-collector/joni-2.1.2.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-api-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/javax.inject-1.jar:/usr/lib/ambari-metrics-collector/jsp-2.1-6.1.14.jar:/usr/lib/ambari-metrics-collector/commons-lang-2.5.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-client-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/ST4-4.0.7.jar:/usr/lib/ambari-metrics-collector/hbase-hadoop2-compat-1.1.2.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/api-util-1.0.0-M20.jar:/usr/lib/ambari-metrics-collector/jettison-1.1.jar:/usr/lib/ambari-metrics-collector/commons-collections-3.2.1.jar:/usr/lib/ambari-metrics-collector/jsr305-2.0.1.jar:/usr/lib/ambari-metrics-collector/jsch-0.1.42.jar:/usr/lib/ambari-metrics-collector/jersey-server-1.11.jar:/usr/lib/ambari-metrics-collector/hadoop-client-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/stringtemplate-3.2.1.jar:/usr/lib/ambari-metrics-collector/jline-2.11.jar:/usr/lib/ambari-metrics-collector/commons-logging-1.1.1.jar:/usr/lib/ambari-metrics-collector/azure-storage-2.2.0.jar:/usr/lib/ambari-metrics-collector/xmlenc-0.52.jar:/usr/lib/ambari-metrics-collector/commons-configuration-1.6.jar:/usr/lib/ambari-metrics-collector/commons-httpclient-3.1.jar:/usr/lib/ambari-metrics-collector/xercesImpl-2.11.0.jar:/usr/lib/ambari-metrics-collector/joda-time-2.7.jar:/usr/lib/ambari-metrics-collector/protobuf-java-2.5.0.jar:/usr/lib/ambari-metrics-collector/activation-1.1.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-app-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-server-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/commons-io-2.4.jar:/usr/lib/ambari-metrics-collector/antlr-runtime-3.5.jar:/usr/lib/ambari-metrics-collector/commons-csv-1.0.jar:/usr/lib/ambari-metrics-collector/jdk.tools-1.7.jar:/usr/lib/ambari-metrics-collector/commons-net-3.1.jar:/usr/lib/ambari-metrics-collector/hadoop-azure-2.7.1.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/jsp-api-2.1-6.1.14.jar:/usr/lib/ambari-metrics-collector/leveldbjni-all-1.8.jar:/usr/lib/ambari-metrics-collector/findbugs-annotations-1.3.9-1.jar:/usr/lib/ambari-metrics-collector/log4j-1.2.17.jar:/usr/lib/ambari-metrics-collector/jackson-jaxrs-1.9.2.jar:/usr/lib/ambari-metrics-collector/jaxb-impl-2.2.3-1.jar:/usr/lib/ambari-metrics-collector/jackson-core-2.2.3.jar:/usr/lib/ambari-metrics-collector/ambari-metrics-common-2.2.0.0.1338.jar:/usr/lib/ambari-metrics-collector/jetty-util-6.1.26.hwx.jar:/usr/lib/ambari-metrics-collector/jackson-core-asl-1.9.9.jar:/usr/lib/ambari-metrics-collector/high-scale-lib-1.1.1.jar:/usr/lib/ambari-metrics-collector/annotations-1.3.2.jar:/usr/lib/ambari-metrics-collector/commons-math-2.2.jar:/usr/lib/ambari-metrics-collector/hadoop-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/htrace-core-3.1.0-incubating.jar:/usr/lib/ambari-metrics-collector/ambari-metrics-timelineservice-2.2.0.0.1338.jar:/usr/lib/ambari-metrics-collector/curator-framework-2.7.1.jar:/usr/lib/ambari-metrics-collector/slf4j-log4j12-1.7.2.jar:/usr/lib/ambari-metrics-collector/jets3t-0.9.0.jar:/usr/lib/ambari-metrics-collector/hadoop-hdfs-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/jersey-core-1.11.jar:/usr/lib/ambari-metrics-collector/commons-digester-1.8.jar:/usr/lib/ambari-metrics-collector/hbase-procedure-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-shuffle-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/zookeeper-3.4.6.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hbase-hadoop-compat-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/commons-cli-1.2.jar:/usr/lib/ambari-metrics-collector/jamon-runtime-2.3.1.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-server-nodemanager-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/commons-lang3-3.3.2.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/antlr-2.7.7.jar:/usr/lib/ambari-metrics-collector/jersey-guice-1.11.jar:/usr/lib/ambari-metrics-collector/commons-codec-1.7.jar:/usr/lib/ambari-metrics-collector/aopalliance-1.0.jar:/usr/lib/ambari-metrics-collector/hbase-client-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/snappy-java-1.0.4.1.jar:/usr/lib/ambari-metrics-collector/servlet-api-2.5.jar:/usr/lib/ambari-metrics-collector/jsp-api-2.1.jar:/usr/lib/ambari-metrics-collector/hbase-protocol-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/netty-all-4.0.23.Final.jar:/usr/lib/ambari-metrics-collector/xml-apis-1.4.01.jar:/usr/lib/ambari-metrics-collector/hadoop-mapreduce-client-jobclient-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/guice-servlet-3.0.jar:/usr/lib/ambari-metrics-collector/okio-1.4.0.jar:/usr/lib/ambari-metrics-collector/api-asn1-api-1.0.0-M20.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-common-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/netty-3.6.2.Final.jar:/usr/lib/ambari-metrics-collector/antlr-3.5.jar:/usr/lib/ambari-metrics-collector/slf4j-api-1.7.2.jar:/usr/lib/ambari-metrics-collector/commons-compress-1.4.1.jar:/usr/lib/ambari-metrics-collector/jetty-6.1.26.hwx.jar:/usr/lib/ambari-metrics-collector/jcodings-1.0.8.jar:/usr/lib/ambari-metrics-collector/guice-3.0.jar:/usr/lib/ambari-metrics-collector/httpcore-4.2.5.jar:/usr/lib/ambari-metrics-collector/jackson-mapper-asl-1.9.13.jar:/usr/lib/ambari-metrics-collector/stax-api-1.0.1.jar:/usr/lib/ambari-metrics-collector/java-xmlbuilder-0.4.jar:/usr/lib/ambari-metrics-collector/jackson-xc-1.9.13.jar:/usr/lib/ambari-metrics-collector/guava-14.0.1.jar:/usr/lib/ambari-metrics-collector/hbase-annotations-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/gson-2.2.4.jar:/usr/lib/ambari-metrics-collector/jetty-sslengine-6.1.26.hwx.jar:/usr/lib/ambari-metrics-collector/asm-3.1.jar:/usr/lib/ambari-metrics-collector/jersey-client-1.11.jar:/usr/lib/ambari-metrics-collector/jersey-servlet-1.11.jar:/usr/lib/ambari-metrics-collector/apacheds-kerberos-codec-2.0.0-M15.jar:/usr/lib/ambari-metrics-collector/sqlline-1.1.8.jar:/usr/lib/ambari-metrics-collector/avro-1.7.4.jar:/usr/lib/ambari-metrics-collector/disruptor-3.3.0.jar:/usr/lib/ambari-metrics-collector/hadoop-annotations-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/httpclient-4.0.1.jar:/usr/lib/ambari-metrics-collector/metrics-core-2.2.0.jar:/usr/lib/ambari-metrics-collector/okhttp-2.4.0.jar:/usr/lib/ambari-metrics-collector/hadoop-yarn-registry-2.7.1.2.3.4.0-3486.jar:/usr/lib/ambari-metrics-collector/hbase-common-1.1.2.2.3.4.0-3485.jar:/usr/lib/ambari-metrics-collector/commons-daemon-1.0.13.jar:/usr/lib/ambari-metrics-collector/commons-beanutils-core-1.8.0.jar:/usr/lib/ambari-metrics-collector/stax-api-1.0-2.jar:/usr/lib/ambari-metrics-collector/jaxb-api-2.2.2.jar:/usr/lib/ambari-metrics-collector/xz-1.0.jar:/etc/ambari-metrics-collector/conf
java.vm.specification.version = 1.8
sun.arch.data.model = 64
sun.java.command = org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
java.home = /usr/jdk64/jdk1.8.0_60/jre
user.language = en
java.specification.vendor = Oracle Corporation
awt.toolkit = sun.awt.X11.XToolkit
java.vm.info = mixed mode
java.version = 1.8.0_60
ams.log.dir = /var/log/ambari-metrics-collector
java.ext.dirs = /usr/jdk64/jdk1.8.0_60/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path = /usr/jdk64/jdk1.8.0_60/jre/lib/resources.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/rt.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/sunrsasign.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/jsse.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/jce.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/charsets.jar:/usr/jdk64/jdk1.8.0_60/jre/lib/jfr.jar:/usr/jdk64/jdk1.8.0_60/jre/classes
java.vendor = Oracle Corporation
file.separator = /
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
sun.cpu.isalist =

VM Flags:
Non-default VM flags: -XX:CICompilerCount=2 -XX:InitialHeapSize=536870912 -XX:MaxHeapSize=536870912
-XX:MaxNewSize=87228416 -XX:MaxTenuringThreshold=6 -XX:MinHeapDeltaBytes=196608 -XX:NewSize=87228416
-XX:OldPLABSize=16 -XX:OldSize=449642496 -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails
-XX:+PrintGCTimeStamps -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC
-XX:+UseFastUnorderedTimeStamps -XX:+UseParNewGC
Command line:  -Xms512m -Xmx512m -Djava.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-201602051647
-Djava.net.preferIPv4Stack=true -Dams.log.dir=/var/log/ambari-metrics-collector -Dproc_timelineserver
{code}

> 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
>              Labels: patch
>         Attachments: AMBARI-14945.patch
>
>
> 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)

Mime
View raw message