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

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

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

Hadoop QA commented on AMBARI-14945:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12786512/AMBARI-14945.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-metrics/ambari-metrics-timelineservice.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5238//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5238//console

This message is automatically generated.

> 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)