Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58529106FF for ; Thu, 29 May 2014 22:30:03 +0000 (UTC) Received: (qmail 67681 invoked by uid 500); 29 May 2014 22:30:03 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 67652 invoked by uid 500); 29 May 2014 22:30:03 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 67643 invoked by uid 99); 29 May 2014 22:30:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2014 22:30:03 +0000 Date: Thu, 29 May 2014 22:30:02 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-5946) Populate summary section of Slider App MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14013023#comment-14013023 ] Srimanth Gunturi commented on AMBARI-5946: ------------------------------------------ +1 for patch. > Populate summary section of Slider App > -------------------------------------- > > Key: AMBARI-5946 > URL: https://issues.apache.org/jira/browse/AMBARI-5946 > Project: Ambari > Issue Type: Task > Components: client > Affects Versions: 1.6.1 > Reporter: Antonenko Alexander > Assignee: Antonenko Alexander > Priority: Critical > Fix For: 1.6.1 > > Attachments: AMBARI-5946.patch > > > JMX properties should be shown also in Summary section. > App response is in the following format: > {code} > { > "href" : "http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps/?fields=*&_=1401333569972", > "items" : [ > { > "href" : "http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps/1401327484490_6", > "appVersion" : "0.96.0.2.1.1", > "description" : "apache hbase is the hadoop database, a distributed, scalable, big data\n ...", > "diagnostics" : "", > "endTime" : 0, > "id" : "1401327484490_6", > "instance_name" : "SLIDER_1", > "name" : "f4", > "startTime" : 1401332206359, > "state" : "RUNNING", > "type" : "hbase", > "user" : "yarn", > "version" : "1.0.0", > "view_name" : "SLIDER", > "yarnId" : "application_1401327484490_0006", > "components" : { > "HBASE_MASTER" : { > "componentName" : "HBASE_MASTER", > "instanceCount" : 1, > "activeContainers" : { > "container_1401327484490_0006_01_000002" : { > "released" : "false", > "startTime" : "1401332216527", > "createTime" : "1401332216418", > "environment" : "[AGENT_WORK_ROOT=\"$PWD\", HADOOP_USER_NAME=\"yarn\", AGENT_LOG_ROOT=\"$LOG_DIRS\", MALLOC_ARENA_MAX=\"4\"]", > "host" : "c6401.ambari.apache.org", > "name" : "container_1401327484490_0006_01_000002", > "command" : "python ./infra/agent/slider-agent/agent/main.py --label container_1401327484490_0006_01_000002___HBASE_MASTER --host c6401.ambari.apache.org --port 40643 ; ", > "state" : "3", > "role" : "HBASE_MASTER", > "exitCode" : "0", > "diagnostics" : "", > "roleId" : "1" > } > }, > "completedContainers" : { } > }, > "HBASE_REGIONSERVER" : { > "componentName" : "HBASE_REGIONSERVER", > "instanceCount" : 1, > "activeContainers" : { > "container_1401327484490_0006_01_000003" : { > "released" : "false", > "startTime" : "1401332216491", > "createTime" : "1401332216419", > "environment" : "[AGENT_WORK_ROOT=\"$PWD\", HADOOP_USER_NAME=\"yarn\", AGENT_LOG_ROOT=\"$LOG_DIRS\", MALLOC_ARENA_MAX=\"4\"]", > "host" : "c6401.ambari.apache.org", > "name" : "container_1401327484490_0006_01_000003", > "command" : "python ./infra/agent/slider-agent/agent/main.py --label container_1401327484490_0006_01_000003___HBASE_REGIONSERVER --host c6401.ambari.apache.org --port 40643 ; ", > "state" : "3", > "role" : "HBASE_REGIONSERVER", > "exitCode" : "0", > "diagnostics" : "", > "roleId" : "2" > } > }, > "completedContainers" : { } > }, > "slider-appmaster" : { > "componentName" : "slider-appmaster", > "instanceCount" : 1, > "activeContainers" : { > "container_1401327484490_0006_01_000001" : { > "released" : "false", > "startTime" : "0", > "createTime" : "0", > "host" : "c6401.ambari.apache.org", > "name" : "container_1401327484490_0006_01_000001", > "command" : "", > "state" : "3", > "role" : "slider-appmaster", > "exitCode" : "0", > "diagnostics" : "", > "roleId" : "0" > } > }, > "completedContainers" : { } > } > }, > "configs" : { > "core-site" : { > "fs.defaultFS" : "hdfs://c6401.ambari.apache.org:8020" > }, > "global" : { > "app_install_dir" : "/hadoop/yarn/local/usercache/yarn/appcache/application_1401327484490_0006/container_1401327484490_0006_01_000002/app/install", > "app_log_dir" : "/hadoop/yarn/log/application_1401327484490_0006/container_1401327484490_0006_01_000002/app/log", > "app_pid_dir" : "/hadoop/yarn/local/usercache/yarn/appcache/application_1401327484490_0006/container_1401327484490_0006_01_000002/app/run", > "app_root" : "/hadoop/yarn/local/usercache/yarn/appcache/application_1401327484490_0006/container_1401327484490_0006_01_000002/app/install/hbase-0.96.1-hadoop2", > "app_user" : "yarn", > "ganglia_server_host" : "c6401.ambari.apache.org", > "ganglia_server_id" : "Application1", > "ganglia_server_port" : "8667", > "hbase_master_heapsize" : "1024m", > "hbase_regionserver_heapsize" : "1024m", > "security_enabled" : "false", > "user_group" : "hadoop" > }, > "hbase-site" : { > "hbase.client.keyvalue.maxsize" : "10485760", > "hbase.client.scanner.caching" : "100", > "hbase.cluster.distributed" : "true", > "hbase.defaults.for.version.skip" : "true", > "hbase.hregion.majorcompaction" : "86400000", > "hbase.hregion.max.filesize" : "10737418240", > "hbase.hregion.memstore.block.multiplier" : "2", > "hbase.hregion.memstore.flush.size" : "134217728", > "hbase.hregion.memstore.mslab.enabled" : "true", > "hbase.hstore.blockingStoreFiles" : "10", > "hbase.hstore.compactionThreshold" : "3", > "hbase.hstore.flush.retries.number" : "120", > "hbase.local.dir" : "${hbase.tmp.dir}/local", > "hbase.master.info.port" : "44209", > "hbase.regionserver.global.memstore.lowerLimit" : "0.38", > "hbase.regionserver.global.memstore.upperLimit" : "0.4", > "hbase.regionserver.handler.count" : "60", > "hbase.regionserver.info.port" : "0", > "hbase.regionserver.port" : "0", > "hbase.rootdir" : "hdfs://c6401.ambari.apache.org:8020/apps/hbase/data", > "hbase.security.authentication" : "simple", > "hbase.security.authorization" : "false", > "hbase.stagingdir" : "hdfs://c6401.ambari.apache.org:8020/apps/hbase/staging", > "hbase.superuser" : "yarn", > "hbase.tmp.dir" : "/hadoop/yarn/local/usercache/yarn/appcache/application_1401327484490_0006/container_1401327484490_0006_01_000002/work/app/tmp", > "hbase.zookeeper.property.clientPort" : "2181", > "hbase.zookeeper.quorum" : "c6401.ambari.apache.org", > "hbase.zookeeper.useMulti" : "true", > "hfile.block.cache.size" : "0.40", > "zookeeper.session.timeout" : "30000", > "zookeeper.znode.parent" : "/hbase-unsecure" > }, > "hdfs-site" : { > "dfs.namenode.http-address" : "c6401.ambari.apache.org:50070", > "dfs.namenode.https-address" : "c6401.ambari.apache.org:50470" > }, > "yarn-site" : { > "yarn.acl.enable" : "true", > "yarn.admin.acl" : "*", > "yarn.application.classpath" : "/etc/hadoop/conf,/usr/lib/hadoop/*,/usr/lib/hadoop/lib/*,/usr/lib/hadoop-hdfs/*,/usr/lib/hadoop-hdfs/lib/*,/usr/lib/hadoop-yarn/*,/usr/lib/hadoop-yarn/lib/*,/usr/lib/hadoop-mapreduce/*,/usr/lib/hadoop-mapreduce/lib/*", > "yarn.log-aggregation-enable" : "true", > "yarn.log-aggregation.retain-seconds" : "2592000", > "yarn.log.server.url" : "http://c6401.ambari.apache.org:19888/jobhistory/logs", > "yarn.nodemanager.address" : "0.0.0.0:45454", > "yarn.nodemanager.admin-env" : "MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX", > "yarn.nodemanager.aux-services" : "mapreduce_shuffle", > "yarn.nodemanager.aux-services.mapreduce_shuffle.class" : "org.apache.hadoop.mapred.ShuffleHandler", > "yarn.nodemanager.container-executor.class" : "org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor", > "yarn.nodemanager.container-monitor.interval-ms" : "3000", > "yarn.nodemanager.delete.debug-delay-sec" : "1200", > "yarn.nodemanager.disk-health-checker.min-healthy-disks" : "0.25", > "yarn.nodemanager.health-checker.interval-ms" : "135000", > "yarn.nodemanager.health-checker.script.timeout-ms" : "60000", > "yarn.nodemanager.linux-container-executor.group" : "hadoop", > "yarn.nodemanager.local-dirs" : "/hadoop/yarn/local", > "yarn.nodemanager.log-aggregation.compression-type" : "gz", > "yarn.nodemanager.log-dirs" : "/hadoop/yarn/log", > "yarn.nodemanager.log.retain-second" : "604800", > "yarn.nodemanager.remote-app-log-dir" : "/app-logs", > "yarn.nodemanager.remote-app-log-dir-suffix" : "logs", > "yarn.nodemanager.resource.memory-mb" : "2048", > "yarn.nodemanager.vmem-check-enabled" : "false", > "yarn.nodemanager.vmem-pmem-ratio" : "2.1", > "yarn.resourcemanager.address" : "c6401.ambari.apache.org:8050", > "yarn.resourcemanager.admin.address" : "c6401.ambari.apache.org:8141", > "yarn.resourcemanager.am.max-attempts" : "2", > "yarn.resourcemanager.hostname" : "c6401.ambari.apache.org", > "yarn.resourcemanager.nodes.exclude-path" : "/etc/hadoop/conf/yarn.exclude", > "yarn.resourcemanager.resource-tracker.address" : "c6401.ambari.apache.org:8025", > "yarn.resourcemanager.scheduler.address" : "c6401.ambari.apache.org:8030", > "yarn.resourcemanager.scheduler.class" : "org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler", > "yarn.resourcemanager.webapp.address" : "c6401.ambari.apache.org:8088", > "yarn.scheduler.maximum-allocation-mb" : "2048", > "yarn.scheduler.minimum-allocation-mb" : "256", > "yarn.timeline-service.address" : "c6401.ambari.apache.org:10200", > "yarn.timeline-service.enabled" : "true", > "yarn.timeline-service.generic-application-history.store-class" : "org.apache.hadoop.yarn.server.applicationhistoryservice.NullApplicationHistoryStore", > "yarn.timeline-service.leveldb-timeline-store.path" : "/var/log/hadoop-yarn/timeline", > "yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms" : "300000", > "yarn.timeline-service.store-class" : "org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbTimelineStore", > "yarn.timeline-service.ttl-enable" : "true", > "yarn.timeline-service.ttl-ms" : "2678400000", > "yarn.timeline-service.webapp.address" : "c6401.ambari.apache.org:8188", > "yarn.timeline-service.webapp.https.address" : "c6401.ambari.apache.org:8190" > } > }, > "jmx" : { > "ClusterId" : "67ee848a-8576-45d3-9b18-cdda4eb6c025", > "DeadRegionServers" : "1", > "IsActiveMaster" : "true", > "MasterActiveTime" : "1401332251511", > "MasterStartTime" : "1401332248911", > "RegionServers" : "1", > "ServerName" : "c6401.ambari.apache.org,60000,1401332245896", > "ZookeeperQuorum" : "c6401.ambari.apache.org:2181", > "cluster_requests" : "14496", > "metricAverageLoad" : "2.0" > }, > "urls" : { > "JMX" : "http://c6401.ambari.apache.org:44209/jmx", > "Metrics" : "http://c6401.ambari.apache.org/cgi-bin/rrd.py?c=Application1", > "UI" : "http://c6401.ambari.apache.org:44209/master-status" > } > } > ] > } > {code} > Also, the app page should keep updating values just like the apps table. -- This message was sent by Atlassian JIRA (v6.2#6252)