incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1406498 [1/8] - in /incubator/ambari/branches/AMBARI-666: ./ ambari-agent/src/main/puppet/modules/hdp/manifests/ ambari-agent/src/main/puppet/modules/hdp/manifests/lib/ ambari-agent/src/main/python/ambari_agent/ ambari-server/src/main/java...
Date Wed, 07 Nov 2012 08:50:03 GMT
Author: mahadev
Date: Wed Nov  7 08:49:58 2012
New Revision: 1406498

URL: http://svn.apache.org/viewvc?rev=1406498&view=rev
Log:
AMBARI-974. Decommissioning of datanodes. (Jitendra Pandey via mahadev)

Added:
    incubator/ambari/branches/AMBARI-666/contrib/
    incubator/ambari/branches/AMBARI-666/contrib/addons/
    incubator/ambari/branches/AMBARI-666/contrib/addons/package/
    incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/
    incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/.gitignore
    incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_ganglia_addon_rpm.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_nagios_addon_rpm.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_ganglia_addons.spec
    incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_nagios_addons.spec
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/.gitignore
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPJobTracker.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPNameNode.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPSlaves.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_disk_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_split_size_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_master_cluster_requests_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_compaction_queue_size_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_flush_queue_size_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_read_latency_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_write_latency_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_read_requests_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_regions_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_write_requests_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_capacity_remaining_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_io_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_ops_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_pending_replication_blocks_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_under_replicated_blocks_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_heartbeats_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_completed_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_failed_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_running_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_submitted_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_map_slot_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_mapreduce_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_reduce_slot_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_gc_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_mem_heap_used_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_threads_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_latency_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_avg_time_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_num_ops_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpcdetailed_heartbeat_num_ops_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_tasktracker_mapreduce_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_tasktracker_task_report.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_aggregate.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_hadoop.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_hbase.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_hdfs_blocks.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_hdfs_capacity.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_hive_metastore_status.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_name_dir_status.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_oozie_status.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_rpcq_latency.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/check_webui.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/plugins/sys_logger.py
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/scripts/
    incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/nagios/scripts/nagios_alerts.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/data/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/data/cluster_configuration.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/data/cluster_configuration.json.nohbase
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/data/sample_hbasemaster_jmx.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/data/sample_jobtracker_jmx.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/data/sample_namenode_jmx.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/test_config_load.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/dataServices/jmx/test_jmx_parsing.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/nagios/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/nagios/plugins/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/nagios/plugins/test_sys_logger.py
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/json/
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/json/alerts.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/json/clusterSummary.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/json/get_graph_info_all.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/json/hbaseSummary.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/json/hdfsSummary.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/test/ui/json/mrSummary.json
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/generateAll.sh
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/generate_dashboard_hdp_json.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/generate_dashboard_json.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/generate_hdfs_hdp_json.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/generate_hdfs_json.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/generate_mapreduce_hdp_json.php
    incubator/ambari/branches/AMBARI-666/contrib/addons/utils/dataServices/ganglia/generate_mapreduce_json.php
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/README.md
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/pom.xml
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/db/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/db/DBConnector.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/db/PostgresConnector.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/model/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/model/Jobs.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/model/WorkflowContext.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/model/WorkflowDag.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/model/Workflows.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/webservice/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/webservice/JAXBContextResolver.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/eventdb/webservice/WorkflowJsonService.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/common/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/common/LogParser.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/common/LogStore.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/common/LogStoreUpdateProvider.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/common/LoggingThreadRunnable.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/common/store/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/common/store/DatabaseStore.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/hadoop/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/hadoop/mapreduce/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/hadoop/mapreduce/jobhistory/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/hadoop/mapreduce/jobhistory/JobHistoryAppender.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/hadoop/mapreduce/jobhistory/MapReduceJobHistoryParser.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/java/org/apache/ambari/log4j/hadoop/mapreduce/jobhistory/MapReduceJobHistoryUpdater.java
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/resources/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/resources/ambari.schema
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/webapp/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/webapp/WEB-INF/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/main/webapp/WEB-INF/web.xml
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/test/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/test/java/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/test/java/org/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/test/java/org/apache/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/test/java/org/apache/ambari/
    incubator/ambari/branches/AMBARI-666/contrib/ambari-log4j/src/test/java/org/apache/ambari/TestJobHistoryParsing.java
Removed:
    incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/lib/
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/OperationRequest.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/TrackActionRequest.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/TrackActionResponse.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/jdbc/JDBCManagementController.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/state/StackVersion.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/state/job/
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/resources/stacks/HDP/0.1/services/HDFS/configuration/hbase-site.xml
    incubator/ambari/branches/AMBARI-666/ambari-server/src/test/java/org/apache/ambari/server/controller/predicate/PropertyIdImpl.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/test/java/org/apache/ambari/server/controller/predicate/ResourceImpl.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/test/java/org/apache/ambari/server/state/job/
Modified:
    incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
    incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp
    incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
    incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/RepoInstaller.py
    incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/puppetExecutor.py
    incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/rolesToClass.dict
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/Role.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ActionResourceProvider.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostEntity.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java
    incubator/ambari/branches/AMBARI-666/ambari-server/src/main/resources/ca.config

Modified: incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt (original)
+++ incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt Wed Nov  7 08:49:58 2012
@@ -12,6 +12,8 @@ AMBARI-666 branch (unreleased changes)
 
   NEW FEATURES
 
+  AMBARI-974. Decommissioning of datanodes. (Jitendra Pandey via mahadev)
+
   AMBARI-975. Fix support for cascading updates to configs. (Hitesh Shah
   via mahadev)
 

Modified: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp Wed Nov  7 08:49:58 2012
@@ -232,7 +232,7 @@ define hdp::exec(
   $user = undef,
   $creates = undef,
   $tries = 1,
-  $timeout = 900,
+  $timeout = 300,
   $try_sleep = undef,
   $initial_wait = undef,
   $logoutput = 'on_failure',

Modified: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py Wed Nov  7 08:49:58 2012
@@ -39,7 +39,7 @@ serviceToPidMapFile=servicesToPidNames.d
 pidLookupPath=/var/run/
 
 [stack]
-installprefix=/var/ambari/
+installprefix=/tmp
 
 [puppet]
 puppetmodules=/var/lib/ambari-agent/puppet/

Modified: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/RepoInstaller.py
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/RepoInstaller.py?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/RepoInstaller.py (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/RepoInstaller.py Wed Nov  7 08:49:58 2012
@@ -23,7 +23,8 @@ import os
 import json
 from shell import shellRunner
 from manifestGenerator import writeImports
-
+from pprint import pprint, pformat
+import ast
 
 PUPPET_EXT=".pp"
 
@@ -44,11 +45,13 @@ class RepoInstaller:
       params = self.parsedJson['hostLevelParams']
     if params.has_key('repo_info'):
       self.repoInfoList = params['repo_info']
+    self.repoInfoList = ast.literal_eval(self.repoInfoList)
 
   def generateFiles(self):
     repoPuppetFiles = []
     for repo in self.repoInfoList:
-      repoFile = open(self.path + os.sep + repo['repoId'] + '-' + str(self.taskId) + PUPPET_EXT, 'w+')
+      repoFile = open(self.path + os.sep + repo['repoId'] + '-' + 
+                      str(self.taskId) + PUPPET_EXT, 'w+')
       writeImports(repoFile, self.modulesdir, inputFileName='imports.txt')
       
       baseUrl = ''

Modified: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/puppetExecutor.py
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/puppetExecutor.py?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/puppetExecutor.py (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/puppetExecutor.py Wed Nov  7 08:49:58 2012
@@ -130,17 +130,21 @@ class puppetExecutor:
 
     if error == self.NO_ERROR:
       if result.has_key("stdout"):
-        result["stdout"] = result["stdout"] + os.linesep + str(grep.tail(puppetOutput, self.OUTPUT_LAST_LINES))
+        result["stdout"] = result["stdout"] + os.linesep + \
+          str(grep.tail(puppetOutput, self.OUTPUT_LAST_LINES))
       else:
         result["stdout"] = grep.tail(puppetOutput, self.OUTPUT_LAST_LINES)
     else:
       if result.has_key("stdout"):
-        result["stdout"] = result["stdout"] + os.linesep + str(grep.grep(puppetOutput, "err", self.ERROR_LAST_LINES_BEFORE, self.ERROR_LAST_LINES_AFTER))
+        result["stdout"] = result["stdout"] + os.linesep + \
+        str(grep.grep(puppetOutput, "err", self.ERROR_LAST_LINES_BEFORE, 
+                      self.ERROR_LAST_LINES_AFTER))
       else:
-        result["stdout"] = str(grep.grep(puppetOutput, "err", self.ERROR_LAST_LINES_BEFORE, self.ERROR_LAST_LINES_AFTER))
+        result["stdout"] = str(grep.grep(puppetOutput, "err", 
+                                         self.ERROR_LAST_LINES_BEFORE, 
+                                         self.ERROR_LAST_LINES_AFTER))
 	
     logger.info("ExitCode : "  + str(result["exitcode"]))
-
     return result
  
 def main():

Modified: incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/rolesToClass.dict
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/rolesToClass.dict?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/rolesToClass.dict (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-agent/src/main/python/ambari_agent/rolesToClass.dict Wed Nov  7 08:49:58 2012
@@ -38,3 +38,4 @@ PIG_SERVICE_CHECK = hdp-pig::pig::servic
 SQOOP_SERVICE_CHECK = hdp-sqoop::sqoop::service_check
 TEMPLETON_SERVICE_CHECK = hdp-templeton::templeton::service_check
 DASHBOARD_SERVICE_CHECK = hdp-dashboard::dashboard::service_check
+DECOMMISSION_DATANODE = hdp-hadoop::hdfs::decommission

Modified: incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/Role.java
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/Role.java?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/Role.java (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/Role.java Wed Nov  7 08:49:58 2012
@@ -68,5 +68,6 @@ public enum Role {
   GANGLIA_MONITOR,
   GMOND_SERVICE_CHECK,
   GMETAD_SERVICE_CHECK,
-  MONTOR_WEBSERVER
+  MONTOR_WEBSERVER,
+  DECOMMISSION_DATANODE
 }

Modified: incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java Wed Nov  7 08:49:58 2012
@@ -2762,6 +2762,109 @@ public class AmbariManagementControllerI
     return null;
   }
 
+  private void addServiceCheckAction(ActionRequest actionRequest, Stage stage)
+      throws AmbariException {
+    String clusterName = actionRequest.getClusterName();
+    String componentName = actionMetadata.getClient(actionRequest
+        .getServiceName());
+
+    String hostName;
+    if (componentName != null) {
+      Map<String, ServiceComponentHost> components = clusters
+          .getCluster(clusterName).getService(actionRequest.getServiceName())
+          .getServiceComponent(componentName).getServiceComponentHosts();
+
+      if (components.isEmpty()) {
+        throw new AmbariException("Hosts not found, component="
+            + componentName + ", service=" + actionRequest.getServiceName()
+            + ", cluster=" + clusterName);
+      }
+
+      hostName = components.keySet().iterator().next();
+    } else {
+      Map<String, ServiceComponent> components = clusters
+          .getCluster(clusterName).getService(actionRequest.getServiceName())
+          .getServiceComponents();
+
+      if (components.isEmpty()) {
+        throw new AmbariException("Components not found, service="
+            + actionRequest.getServiceName() + ", cluster=" + clusterName);
+      }
+
+      ServiceComponent serviceComponent = components.values().iterator()
+          .next();
+
+      if (serviceComponent.getServiceComponentHosts().isEmpty()) {
+        throw new AmbariException("Hosts not found, component="
+            + serviceComponent.getName() + ", service="
+            + actionRequest.getServiceName() + ", cluster=" + clusterName);
+      }
+
+      hostName = serviceComponent.getServiceComponentHosts().keySet()
+          .iterator().next();
+    }
+
+    stage.addHostRoleExecutionCommand(hostName, Role.valueOf(actionRequest
+        .getActionName()), RoleCommand.EXECUTE,
+        new ServiceComponentHostOpInProgressEvent(componentName, hostName,
+            System.currentTimeMillis()), clusterName, actionRequest
+            .getServiceName());
+
+    stage.getExecutionCommand(hostName, actionRequest.getActionName())
+        .setRoleParams(actionRequest.getParameters());
+  }
+  
+  private void addDecommissionDatanodeAction(
+      ActionRequest decommissionRequest, Stage stage)
+      throws AmbariException {
+    // Find hdfs admin host, just decommission from namenode.
+    String clusterName = decommissionRequest.getClusterName();
+    String serviceName = decommissionRequest.getServiceName();
+    String namenodeHost = clusters.getCluster(clusterName)
+        .getService(serviceName).getServiceComponent(Role.NAMENODE.toString())
+        .getServiceComponentHosts().keySet().iterator().next();
+
+    Map<String, ServiceComponentHost> datanodeHostMap = clusters
+        .getCluster(clusterName).getService(serviceName)
+        .getServiceComponent(Role.DATANODE.toString())
+        .getServiceComponentHosts();
+
+    String excludeFileTag = null;
+    if (decommissionRequest.getParameters() != null
+        && (decommissionRequest.getParameters().get("excludeFileTag") != null)) {
+      excludeFileTag = decommissionRequest.getParameters()
+          .get("excludeFileTag");
+    }
+
+    if (excludeFileTag == null) {
+      throw new AmbariException("No exclude file specified");
+    }
+
+    Config config = clusters.getCluster(clusterName).getDesiredConfig(
+        "hdfs-exclude-file", excludeFileTag);
+    
+    Map<String, Map<String, String>> configurations =
+        new TreeMap<String, Map<String, String>>();
+    configurations.put(config.getType(), config.getProperties());
+
+    Config hdfsSiteConfig = clusters.getCluster(clusterName).getService("HDFS")
+        .getDesiredConfigs().get("hdfs-site");
+
+    configurations
+        .put(hdfsSiteConfig.getType(), hdfsSiteConfig.getProperties());
+
+    stage.addHostRoleExecutionCommand(
+        namenodeHost,
+        Role.DECOMMISSION_DATANODE,
+        RoleCommand.EXECUTE,
+        new ServiceComponentHostOpInProgressEvent(Role.DECOMMISSION_DATANODE
+            .toString(), namenodeHost, System.currentTimeMillis()),
+        clusterName, serviceName);
+    stage.getExecutionCommand(namenodeHost,
+        Role.DECOMMISSION_DATANODE.toString())
+        .setConfigurations(configurations);
+  }
+
   @Override
   public RequestStatusResponse createActions(Set<ActionRequest> request)
       throws AmbariException {
@@ -2769,8 +2872,6 @@ public class AmbariManagementControllerI
 
     String logDir = ""; //TODO empty for now
 
-    Stage stage = null;
-
     for (ActionRequest actionRequest : request) {
       if (actionRequest.getClusterName() == null
           || actionRequest.getClusterName().isEmpty()
@@ -2782,73 +2883,36 @@ public class AmbariManagementControllerI
             + actionRequest.getClusterName() + ", service="
             + actionRequest.getServiceName() + ", action="
             + actionRequest.getActionName());
+      } else if (clusterName == null) {
+        clusterName = actionRequest.getClusterName();
+      } else if (!clusterName.equals(actionRequest.getClusterName())) {
+        throw new AmbariException("Requests for different clusters found");
       }
     }
 
+    Stage stage = stageFactory.createNew(actionManager.getNextRequestId(),
+        logDir, clusterName);
+    stage.setStageId(0);
     for (ActionRequest actionRequest : request) {
-      if (clusterName == null) {
-        clusterName = actionRequest.getClusterName();
-        if (clusterName == null || clusterName.isEmpty()) {
-          throw new AmbariException("Empty cluster name in request");
-        }
-        stage = stageFactory.createNew(actionManager.getNextRequestId(), logDir, clusterName);
-        stage.setStageId(0L);
-        if (LOG.isDebugEnabled()) {
-          LOG.debug("Creating Stage requestId={}, stageId={}, clusterName={}",
-            new Object[]{stage.getRequestId(), stage.getStageId(), stage.getClusterName()});
-        }
+      if (actionRequest.getActionName().contains("SERVICE_CHECK")) {
+        addServiceCheckAction(actionRequest, stage);
+      } else if (actionRequest.getActionName().equals("DECOMMISSION_DATANODE")) {
+        LOG.info("DEBUG : excludeFileTag :"+actionRequest.getParameters().get("excludeFileTag"));
+        addDecommissionDatanodeAction(actionRequest, stage);
       } else {
-        if (!clusterName.equals(actionRequest.getClusterName())) {
-          throw new AmbariException("Requests for different clusters found");
-        }
+        throw new AmbariException("Unsupported action");
       }
-
-      String componentName = actionMetadata.getClient(actionRequest.getServiceName());
-
-      String hostName;
-      if (componentName != null) {
-        Map<String, ServiceComponentHost> components = clusters.getCluster(clusterName).
-            getService(actionRequest.getServiceName()).getServiceComponent(componentName).getServiceComponentHosts();
-
-        if (components.isEmpty()) {
-          throw new AmbariException("Hosts not found, component=" + componentName +
-              ", service=" + actionRequest.getServiceName() + ", cluster=" + clusterName);
-        }
-
-        hostName = components.keySet().iterator().next();
-      } else {
-        Map<String, ServiceComponent> components = clusters.getCluster(clusterName).
-            getService(actionRequest.getServiceName()).getServiceComponents();
-
-        if (components.isEmpty()) {
-          throw new AmbariException("Components not found, service=" + actionRequest.getServiceName() +
-              ", cluster=" + clusterName);
-        }
-
-        ServiceComponent serviceComponent = components.values().iterator().next();
-
-        if (serviceComponent.getServiceComponentHosts().isEmpty()) {
-          throw new AmbariException("Hosts not found, component=" + serviceComponent.getName() +
-              ", service=" + actionRequest.getServiceName() + ", cluster=" + clusterName);
-        }
-
-        hostName = serviceComponent.getServiceComponentHosts().keySet().iterator().next();
-      }
-
-      stage.addHostRoleExecutionCommand(hostName, Role.valueOf(actionRequest.getActionName()), RoleCommand.EXECUTE,
-          new ServiceComponentHostOpInProgressEvent(componentName, hostName, System.currentTimeMillis()),
-          clusterName, actionRequest.getServiceName());
-
-      stage.getExecutionCommand(hostName, actionRequest.getActionName()).setRoleParams(actionRequest.getParameters());
     }
-
-    if (stage != null) {
-      actionManager.sendActions(Arrays.asList(stage));
+    
+    RoleGraph rg = new RoleGraph(rco);
+    rg.build(stage);
+    List<Stage> stages = rg.getStages();
+    
+    if (stages != null && !stages.isEmpty()) {
+      actionManager.sendActions(stages);
       return getRequestStatusResponse(stage.getRequestId());
     } else {
       throw new AmbariException("Stage was not created");
     }
-
   }
-
 }

Modified: incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ActionResourceProvider.java
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ActionResourceProvider.java?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ActionResourceProvider.java (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ActionResourceProvider.java Wed Nov  7 08:49:58 2012
@@ -30,8 +30,11 @@ import org.apache.ambari.server.controll
 
 import java.util.Arrays;
 import java.util.Collections;
+import java.util.HashMap;
 import java.util.HashSet;
+import java.util.Iterator;
 import java.util.Map;
+import java.util.Map.Entry;
 import java.util.Set;
 
 /**
@@ -71,21 +74,7 @@ class ActionResourceProvider extends Res
   @Override
   public Set<Resource> getResources(Request request, Predicate predicate)
       throws AmbariException {
-    ActionRequest actionRequest = getRequest(getProperties(predicate));
-
-    // TODO : handle multiple requests
-    Set<ActionResponse> responses = getManagementController().getActions(
-        Collections.singleton(actionRequest));
-
-    Set<Resource> resources = new HashSet<Resource>();
-    for (ActionResponse response : responses) {
-      Resource resource = new ResourceImpl(Resource.Type.Action);
-      resource.setProperty(ACTION_CLUSTER_NAME_PROPERTY_ID, response.getClusterName());
-      resource.setProperty(ACTION_SERVICE_NAME_PROPERTY_ID, response.getServiceName());
-      resource.setProperty(ACTION_ACTION_NAME_PROPERTY_ID, response.getActionName());
-      resources.add(resource);
-    }
-    return resources;
+    throw new UnsupportedOperationException("Not currently supported.");
   }
 
   @Override
@@ -105,10 +94,19 @@ class ActionResourceProvider extends Res
   }
 
   private ActionRequest getRequest(Map<PropertyId, Object> properties) {
+    Map<String, String> params = new HashMap<String, String>();
+    Iterator<Entry<PropertyId, Object>> it1 = properties.entrySet().iterator();
+    while (it1.hasNext()) {
+      Entry<PropertyId, Object> entry = it1.next();
+      if (entry.getKey().getCategory().equals("parameters")
+          && null != entry.getValue()) {
+        params.put(entry.getKey().getName(), entry.getValue().toString());
+      }
+    }
     return new ActionRequest(
         (String)  properties.get(ACTION_CLUSTER_NAME_PROPERTY_ID),
         (String)  properties.get(ACTION_SERVICE_NAME_PROPERTY_ID),
         (String)  properties.get(ACTION_ACTION_NAME_PROPERTY_ID),
-        null);
+        params);
   }
 }

Modified: incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostEntity.java
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostEntity.java?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostEntity.java (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostEntity.java Wed Nov  7 08:49:58 2012
@@ -111,7 +111,7 @@ public class HostEntity {
   private String disksInfo = "";
 
   @javax.persistence.Column(name = "disks_info", nullable = false, insertable = true, 
-		  updatable = true, length = 2000)
+		  updatable = true, length = 20000)
   @Basic
   public String getDisksInfo() {
     return disksInfo;
@@ -123,7 +123,8 @@ public class HostEntity {
 
   private String osInfo = "";
 
-  @javax.persistence.Column(name = "os_info", nullable = false, insertable = true, updatable = true)
+  @javax.persistence.Column(name = "os_info", nullable = false, insertable = true, updatable = true,
+      length = 20000)
   @Basic
   public String getOsInfo() {
     return osInfo;
@@ -183,7 +184,8 @@ public class HostEntity {
 
   private String hostAttributes = "";
 
-  @javax.persistence.Column(name = "host_attributes", nullable = false, insertable = true, updatable = true)
+  @javax.persistence.Column(name = "host_attributes", nullable = false, insertable = true, updatable = true,
+      length = 20000)
   @Basic
   public String getHostAttributes() {
     return hostAttributes;

Modified: incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java Wed Nov  7 08:49:58 2012
@@ -184,4 +184,21 @@ public class StageUtils {
     }
     return info;
   }
+
+  public static String getHostsToDecommission(List<String> hosts) {
+    StringBuilder builder = new StringBuilder();
+    builder.append("[");
+    boolean first = true;
+    for (String host : hosts) {
+      if (!first) {
+        builder.append(",");
+      } else {
+        first = false;
+      }
+      builder.append("'");
+      builder.append(host);
+      builder.append("'");
+    }
+    return builder.toString();
+  }
 }

Modified: incubator/ambari/branches/AMBARI-666/ambari-server/src/main/resources/ca.config
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-server/src/main/resources/ca.config?rev=1406498&r1=1406497&r2=1406498&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-server/src/main/resources/ca.config (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-server/src/main/resources/ca.config Wed Nov  7 08:49:58 2012
@@ -1,7 +1,7 @@
 [ ca ]
 default_ca             = CA_CLIENT
 [ CA_CLIENT ]
-dir		       = /var/lib/ambari-server/keys/db
+dir		                 = keystore/db
 certs                  = $dir/certs
 new_certs_dir          = $dir/newcerts
 

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/.gitignore
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/.gitignore?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/.gitignore (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/.gitignore Wed Nov  7 08:49:58 2012
@@ -0,0 +1 @@
+build

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_ganglia_addon_rpm.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_ganglia_addon_rpm.sh?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_ganglia_addon_rpm.sh (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_ganglia_addon_rpm.sh Wed Nov  7 08:49:58 2012
@@ -0,0 +1,84 @@
+#!/bin/bash
+#
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements.  See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership.  The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License.  You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+CUR_DIR=`pwd`
+
+BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
+
+if [[ -z "${BUILD_DIR}" ]]; then
+  BUILD_DIR="${BASEDIR}/build/"
+fi
+
+if [[ -z "${VERSION}" ]]; then
+  VERSION="0.0.2.15"
+fi
+
+if [[ -z "${RELEASE}" ]]; then
+  RELEASE="1"
+fi
+
+#rm -rf ${BUILD_DIR}/*
+
+PKG_NAME="hdp_mon_ganglia_addons"
+
+MON_TAR_DIR="${BUILD_DIR}/${PKG_NAME}-$VERSION/"
+
+mkdir -p "${MON_TAR_DIR}"
+cp -r ${BASEDIR}/../../src/addOns/ganglia/* ${MON_TAR_DIR}
+
+TAR_DEST="${BUILD_DIR}/${PKG_NAME}-$VERSION.tar.gz"
+
+cd ${BUILD_DIR};
+tar -zcf "${TAR_DEST}" "${PKG_NAME}-$VERSION/"
+
+RPM_BUILDDIR=${BUILD_DIR}/rpmbuild/
+
+mkdir -p ${RPM_BUILDDIR}
+mkdir -p ${RPM_BUILDDIR}/SOURCES/
+mkdir -p ${RPM_BUILDDIR}/SPECS/
+mkdir -p ${RPM_BUILDDIR}/BUILD/
+mkdir -p ${RPM_BUILDDIR}/RPMS/
+mkdir -p ${RPM_BUILDDIR}/SRPMS/
+
+cp -f ${BASEDIR}/${PKG_NAME}.spec ${RPM_BUILDDIR}/SPECS/
+cp -f ${TAR_DEST} ${RPM_BUILDDIR}/SOURCES/
+
+cd ${RPM_BUILDDIR}
+
+cmd="rpmbuild --define \"_topdir ${RPM_BUILDDIR}\" \
+    -bb ${RPM_BUILDDIR}/SPECS/${PKG_NAME}.spec"
+
+echo $cmd
+eval $cmd
+ret=$?
+if [[ "$ret" != "0" ]]; then
+  echo "Error: rpmbuild failed, error=$ret"
+  exit 1
+fi
+
+cd ${CUR_DIR}
+
+RPM_DEST="${RPM_BUILDDIR}/RPMS/noarch/${PKG_NAME}-$VERSION-$RELEASE.noarch.rpm"
+if [[ ! -f "${RPM_DEST}" ]]; then
+  echo "Error: ${RPM_DEST} does not exist"
+  exit 1
+fi
+
+exit 0

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_nagios_addon_rpm.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_nagios_addon_rpm.sh?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_nagios_addon_rpm.sh (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/create_nagios_addon_rpm.sh Wed Nov  7 08:49:58 2012
@@ -0,0 +1,84 @@
+#!/bin/bash
+#
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements.  See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership.  The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License.  You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+CUR_DIR=`pwd`
+
+BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
+
+if [[ -z "${BUILD_DIR}" ]]; then
+  BUILD_DIR="${BASEDIR}/build/"
+fi
+
+if [[ -z "${VERSION}" ]]; then
+  VERSION="0.0.2.15"
+fi
+
+if [[ -z "${RELEASE}" ]]; then
+  RELEASE="1"
+fi
+
+#rm -rf ${BUILD_DIR}/*
+
+PKG_NAME="hdp_mon_nagios_addons"
+
+MON_TAR_DIR="${BUILD_DIR}/${PKG_NAME}-$VERSION/"
+
+mkdir -p "${MON_TAR_DIR}"
+cp -r ${BASEDIR}/../../src/addOns/nagios/* ${MON_TAR_DIR}
+
+TAR_DEST="${BUILD_DIR}/${PKG_NAME}-$VERSION.tar.gz"
+
+cd ${BUILD_DIR};
+tar -zcf "${TAR_DEST}" "${PKG_NAME}-$VERSION/"
+
+RPM_BUILDDIR=${BUILD_DIR}/rpmbuild/
+
+mkdir -p ${RPM_BUILDDIR}
+mkdir -p ${RPM_BUILDDIR}/SOURCES/
+mkdir -p ${RPM_BUILDDIR}/BUILD/
+mkdir -p ${RPM_BUILDDIR}/SPECS/
+mkdir -p ${RPM_BUILDDIR}/RPMS/
+mkdir -p ${RPM_BUILDDIR}/SRPMS/
+
+cp -f ${BASEDIR}/${PKG_NAME}.spec ${RPM_BUILDDIR}/SPECS/
+cp -f ${TAR_DEST} ${RPM_BUILDDIR}/SOURCES/
+
+cd ${RPM_BUILDDIR}
+
+cmd="rpmbuild --define \"_topdir ${RPM_BUILDDIR}\" \
+  -bb ${RPM_BUILDDIR}/SPECS/${PKG_NAME}.spec"
+
+echo $cmd
+eval $cmd
+ret=$?
+if [[ "$ret" != "0" ]]; then
+  echo "Error: rpmbuild failed, error=$ret"
+  exit 1
+fi
+
+cd ${CUR_DIR}
+
+RPM_DEST="${RPM_BUILDDIR}/RPMS/noarch/${PKG_NAME}-$VERSION-$RELEASE.noarch.rpm"
+if [[ ! -f "${RPM_DEST}" ]]; then
+  echo "Error: ${RPM_DEST} does not exist"
+  exit 1
+fi
+
+exit 0

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_ganglia_addons.spec
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_ganglia_addons.spec?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_ganglia_addons.spec (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_ganglia_addons.spec Wed Nov  7 08:49:58 2012
@@ -0,0 +1,75 @@
+##
+#
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements.  See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership.  The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License.  You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+#
+# RPM Spec file for Ganglia Add-ons for HDP Monitoring Dashboard
+#
+
+Summary: Ganglia Add-ons for HDP Monitoring Dashboard
+Name: hdp_mon_ganglia_addons
+Version: 0.0.2.15
+URL: http://hortonworks.com
+Release: 1
+License: Apache License, Version 2.0
+Vendor: Hortonworks <ambari-group@hortonworks.com>
+Group: System Environment/Base
+Source: %{name}-%{version}.tar.gz
+Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
+Requires: gweb >= 2.2
+
+%if 0%{?suse_version}
+%define graphd_dir /srv/www/htdocs/ganglia/graph.d/
+%else
+%define graphd_dir /var/www/html/ganglia/graph.d/
+%endif
+%define gconf_dir /var/lib/ganglia/conf/
+
+BuildArchitectures: noarch
+
+%description
+This package provides add-on graphs and configurations for ganglia to provide 
+for a better monitoring integration with a Hadoop Cluster
+
+%prep
+%setup -q -n %{name}-%{version}
+%build
+
+%install
+# Flush any old RPM build root
+%__rm -rf $RPM_BUILD_ROOT
+
+%__mkdir -p $RPM_BUILD_ROOT/%{graphd_dir}/
+%__mkdir -p $RPM_BUILD_ROOT/%{gconf_dir}/
+
+%__cp -rf conf/* $RPM_BUILD_ROOT/%{gconf_dir}/
+%__cp -rf graph.d/* $RPM_BUILD_ROOT/%{graphd_dir}/
+
+
+%files
+%defattr(-,root,root)
+%{graphd_dir}/*
+%{gconf_dir}/*
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+%changelog
+* Fri Feb 17 2011 Hortonworks <ambari-group@hortonworks.com>
+- Initial version

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_nagios_addons.spec
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_nagios_addons.spec?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_nagios_addons.spec (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/package/rpm/hdp_mon_nagios_addons.spec Wed Nov  7 08:49:58 2012
@@ -0,0 +1,82 @@
+##
+#
+#/*
+# * Licensed to the Apache Software Foundation (ASF) under one
+# * or more contributor license agreements.  See the NOTICE file
+# * distributed with this work for additional information
+# * regarding copyright ownership.  The ASF licenses this file
+# * to you under the Apache License, Version 2.0 (the
+# * "License"); you may not use this file except in compliance
+# * with the License.  You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+
+#
+# RPM Spec file for Nagios Add-ons for HDP Monitoring Dashboard
+#
+
+Summary: Nagios Add-ons for HDP Monitoring Dashboard
+Name: hdp_mon_nagios_addons
+Version: 0.0.2.15
+URL: http://hortonworks.com
+Release: 1
+License: Apache License, Version 2.0
+Vendor: Hortonworks <ambari-group@hortonworks.com>
+Group: System Environment/Base
+Source: %{name}-%{version}.tar.gz
+Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
+Requires: nagios, nagios-plugins, php >= 5
+%define nagioshdpscripts_dir %{_prefix}/share/hdp/nagios
+%define nagiosplugin_dir %{_libdir}/nagios/plugins
+%if 0%{?suse_version}
+%define httpd_confdir %{_sysconfdir}/apache2/conf.d
+%else
+%define httpd_confdir %{_sysconfdir}/httpd/conf.d
+%endif
+BuildArchitectures: noarch
+
+%description
+This package provides add-on helper scripts and plugins for nagios for 
+monitoring of a Hadoop Cluster
+
+%prep
+%setup -q -n %{name}-%{version}
+%build
+
+%install
+# Flush any old RPM build root
+%__rm -rf $RPM_BUILD_ROOT
+
+%__mkdir -p $RPM_BUILD_ROOT/%{nagioshdpscripts_dir}/
+%__mkdir -p $RPM_BUILD_ROOT/%{nagiosplugin_dir}/
+%__mkdir -p $RPM_BUILD_ROOT/%{httpd_confdir}/
+
+%__cp -rf scripts/* $RPM_BUILD_ROOT/%{nagioshdpscripts_dir}/
+%__cp -rf plugins/* $RPM_BUILD_ROOT/%{nagiosplugin_dir}/
+echo "Alias /hdp %{_prefix}/share/hdp" >> $RPM_BUILD_ROOT/%{httpd_confdir}/hdp_mon_nagios_addons.conf
+echo "<Directory /usr/share/hdp>" >> $RPM_BUILD_ROOT/%{httpd_confdir}/hdp_mon_nagios_addons.conf
+echo "  Options None" >> $RPM_BUILD_ROOT/%{httpd_confdir}/hdp_mon_nagios_addons.conf
+echo "  AllowOverride None" >> $RPM_BUILD_ROOT/%{httpd_confdir}/hdp_mon_nagios_addons.conf
+echo "  Order allow,deny" >> $RPM_BUILD_ROOT/%{httpd_confdir}/hdp_mon_nagios_addons.conf
+echo "  Allow from all" >> $RPM_BUILD_ROOT/%{httpd_confdir}/hdp_mon_nagios_addons.conf
+echo "</Directory>" >> $RPM_BUILD_ROOT/%{httpd_confdir}/hdp_mon_nagios_addons.conf
+
+%files
+%defattr(-,root,root)
+%{nagioshdpscripts_dir}/*
+%attr(0755,root,root)%{nagiosplugin_dir}/*
+%{httpd_confdir}/hdp_mon_nagios_addons.conf
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+%changelog
+* Fri Feb 17 2011 Hortonworks <ambari-group@hortonworks.com>
+- Initial version

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/.gitignore
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/.gitignore?rev=1406498&view=auto
==============================================================================
    (empty)

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPJobTracker.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPJobTracker.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPJobTracker.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPJobTracker.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,4 @@
+{
+  "included_reports": 
+    ["hdp_mon_jobtracker_map_slot_report","hdp_mon_jobtracker_reduce_slot_report","hdp_mon_jobtracker_mapreduce_report","hdp_mon_rpc_latency_report","hdp_mon_jvm_gc_report"]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPNameNode.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPNameNode.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPNameNode.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPNameNode.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,3 @@
+{
+  "included_reports": ["hdp_mon_hdfs_ops_report","hdp_mon_rpc_latency_report","hdp_mon_jvm_gc_report","hdp_mon_jvm_threads_report"]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPSlaves.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPSlaves.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPSlaves.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/conf/cluster_HDPSlaves.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,4 @@
+{
+	"included_reports": 
+    ["hdp_mon_hdfs_io_report","hdp_mon_tasktracker_task_report","hdp_mon_tasktracker_mapreduce_report"]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_disk_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_disk_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_disk_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_disk_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "disk_report",
+   "report_type" : "standard",
+   "title" : "Disk Report",
+   "vertical_label" : "GB",
+   "series" : [
+      { "metric": "disk_total", "color": "ffea00", "label": "Total Disk Space", "line_width": "2", "type": "line" },
+      { "metric": "disk_free", "color": "3333bb", "label": "Disk Space Available", "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_hlog_report",
+   "report_type" : "standard",
+   "title" : "Avg Time in HLog file split",
+   "vertical_label" : "Milliseconds",
+   "series" : [
+      { "metric": "hbase.master.splitTime_avg_time", "color": "ff0000", "label": "Average Time", 
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_split_size_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_split_size_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_split_size_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_hlog_split_size_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hlog_split_size_report",
+   "report_type" : "standard",
+   "title" : "Avg HLog split file size",
+   "vertical_label" : "Bytes",
+   "series" : [
+      { "metric": "hbase.master.splitSize_avg_time", "color": "ff0000", "label": "Avg Split Size", 
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_master_cluster_requests_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_master_cluster_requests_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_master_cluster_requests_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_master_cluster_requests_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_master_cluster_requests_report",
+   "report_type" : "standard",
+   "title" : "Cluster Requests",
+   "vertical_label" : "Request count",
+   "series" : [
+      { "metric": "hbase.master.cluster_requests", "color": "ff0000", "label": "Cluster Requests", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_compaction_queue_size_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_compaction_queue_size_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_compaction_queue_size_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_compaction_queue_size_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_regionserver_compaction_queue_size_report",
+   "report_type" : "standard",
+   "title" : "Total Compaction Queue Size",
+   "vertical_label" : "Queue Size",
+   "series" : [
+      { "metric": "hbase.regionserver.compactionQueueSize", "color": "ff0000", "label": "Compaction Queue Size", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_flush_queue_size_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_flush_queue_size_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_flush_queue_size_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_flush_queue_size_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_regionserver_flush_queue_size_report",
+   "report_type" : "standard",
+   "title" : "Total flush Queue size",
+   "vertical_label" : "Queue Size",
+   "series" : [
+      { "metric": "hbase.regionserver.flushQueueSize", "color": "ff0000", "label": "flushQueueSize", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_read_latency_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_read_latency_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_read_latency_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_read_latency_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_regionserver_fs_read_latency_report",
+   "report_type" : "standard",
+   "title" : "Region Server FS Read Latency",
+   "vertical_label" : "Milliseconds",
+   "series" : [
+      { "metric": "hbase.regionserver.fsReadLatency_avg_time", "color": "ff0000", "label": "Read Latency", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_write_latency_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_write_latency_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_write_latency_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_fs_write_latency_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_regionserver_fs_write_latency_report",
+   "report_type" : "standard",
+   "title" : "Region Server FS Write Latency",
+   "vertical_label" : "Milliseconds",
+   "series" : [
+      { "metric": "hbase.regionserver.fsWriteLatency_avg_time", "color": "ff0000", "label": "Write Latency", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_read_requests_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_read_requests_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_read_requests_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_read_requests_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_regionserver_read_requests_report",
+   "report_type" : "standard",
+   "title" : "Region Server Read Requests",
+   "vertical_label" : "Request count",
+   "series" : [
+      { "metric": "hbase.regionserver.readRequestsCount", "color": "ff0000", "label": "Read Requests", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_regions_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_regions_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_regions_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_regions_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_regionserver_regions_report",
+   "report_type" : "standard",
+   "title" : "Total Cluster Regions",
+   "vertical_label" : "Region count",
+   "series" : [
+      { "metric": "hbase.regionserver.regions", "color": "ff0000", "label": "Regions", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_write_requests_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_write_requests_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_write_requests_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hbase_regionserver_write_requests_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hbase_regionserver_write_requests_report",
+   "report_type" : "standard",
+   "title" : "Region Server Write Requests",
+   "vertical_label" : "Request count",
+   "series" : [
+      { "metric": "hbase.regionserver.writeRequestsCount", "color": "ff0000", "label": "Write Requests", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_capacity_remaining_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_capacity_remaining_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_capacity_remaining_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_capacity_remaining_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hdfs_capacity_remaining_report",
+   "report_type" : "standard",
+   "title" : "HDFS Capacity Remaining",
+   "vertical_label" : "GB",
+   "series" : [
+      { "metric": "dfs.FSNamesystem.CapacityRemainingGB", "color": "ff0000", "label": "Capacity Remaining", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_io_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_io_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_io_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_io_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hdfs_io_report",
+   "report_type" : "standard",
+   "title" : "HDFS I/O",
+   "vertical_label" : "Bytes/Sec",
+   "series" : [
+      { "metric": "dfs.datanode.bytes_written", "color": "ff0000", "label": "Bytes Written/Sec", "line_width": "2", "type": "line" },
+      { "metric": "dfs.datanode.bytes_read", "color": "0000ff", "label": "Bytes Read/Sec", "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_ops_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_ops_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_ops_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_ops_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,14 @@
+{
+   "report_name" : "hdfs_ops_report",
+   "report_type" : "standard",
+   "title" : "HDFS Operations",
+   "vertical_label" : "Operations/Sec",
+   "series" : [
+      { "metric": "dfs.namenode.CreateFileOps", "color": "00ff00", "label": "File Creation", 
+        "line_width": "2", "type": "stack" },
+      { "metric": "dfs.namenode.DeleteFileOps", "color": "ff0000", "label": "File Deletion", 
+        "line_width": "2", "type": "stack" },
+      { "metric": "dfs.namenode.FileInfoOps", "color": "0000ff", "label": "File Info", 
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_pending_replication_blocks_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_pending_replication_blocks_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_pending_replication_blocks_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_pending_replication_blocks_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hdfs_pending_replication_blocks_report",
+   "report_type" : "standard",
+   "title" : "HDFS Blocks Pending Replication",
+   "vertical_label" : "Block count",
+   "series" : [
+      { "metric": "dfs.FSNamesystem.PendingReplicationBlocks", "color": "ff0000", "label": "Blocks Pending Replication", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_under_replicated_blocks_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_under_replicated_blocks_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_under_replicated_blocks_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_hdfs_under_replicated_blocks_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "hdfs_under_replicated_blocks_report",
+   "report_type" : "standard",
+   "title" : "HDFS Under-Replicated Blocks",
+   "vertical_label" : "Block Count",
+   "series" : [
+      { "metric": "dfs.FSNamesystem.UnderReplicatedBlocks", "color": "ff0000", "label": "Under-Replicated Blocks", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_heartbeats_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_heartbeats_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_heartbeats_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_heartbeats_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "jobtracker_heartbeats_report",
+   "report_type" : "standard",
+   "title" : "JobTracker Heartbeats",
+   "vertical_label" : "Heartbeats/Sec",
+   "series" : [
+      { "metric": "mapred.jobtracker.heartbeats", "color": "ff0000", "label": "Heartbeats/Sec", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_completed_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_completed_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_completed_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_completed_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "jobtracker_jobs_completed_report",
+   "report_type" : "standard",
+   "title" : "Jobs Completion rate",
+   "vertical_label" : "Jobs/Sec",
+   "series" : [
+      { "metric": "mapred.jobtracker.jobs_completed", "color": "ff0000", "label": "Jobs Completed", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_failed_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_failed_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_failed_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_failed_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "jobtracker_jobs_failed_report",
+   "report_type" : "standard",
+   "title" : "Jobs Failure rate",
+   "vertical_label" : "Jobs/Sec",
+   "series" : [
+      { "metric": "mapred.jobtracker.jobs_failed", "color": "ff0000", "label": "Failed Jobs/Sec", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_running_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_running_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_running_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_running_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "jobtracker_jobs_running_report",
+   "report_type" : "standard",
+   "title" : "Jobs Running",
+   "vertical_label" : "Number Of Jobs",
+   "series" : [
+      { "metric": "mapred.jobtracker.jobs_running", "color": "ff0000", "label": "Jobs Running", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_submitted_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_submitted_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_submitted_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_jobs_submitted_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "jobtracker_jobs_submitted_report",
+   "report_type" : "standard",
+   "title" : "Jobs Submission rate",
+   "vertical_label" : "Jobs/Sec",
+   "series" : [
+      { "metric": "mapred.jobtracker.jobs_submitted", "color": "ff0000", "label": "Submitted Jobs/Sec", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_map_slot_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_map_slot_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_map_slot_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_map_slot_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,14 @@
+{
+   "report_name" : "jobtracker_map_slot_report",
+   "report_type" : "standard",
+   "title" : "Map Slot Utilization",
+   "vertical_label" : "Slots",
+   "series" : [
+      { "metric": "mapred.jobtracker.map_slots", "color": "ff0000", "label": "Total", 
+        "line_width": "2", "type": "line" },
+      { "metric": "mapred.jobtracker.occupied_map_slots", "color": "ff6ca9", "label": "Occupied",
+        "line_width": "2", "type": "stack" },
+      { "metric": "mapred.jobtracker.reserved_map_slots", "color": "ff6600", "label": "Reserved",
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_mapreduce_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_mapreduce_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_mapreduce_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_mapreduce_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,12 @@
+{
+   "report_name" : "jobtracker_mapreduce_report",
+   "report_type" : "standard",
+   "title" : "Waiting Map/Reduce tasks",
+   "vertical_label" : "Tasks",
+   "series" : [
+      { "metric": "mapred.jobtracker.waiting_maps", "color": "ff0000", "label": "Waiting Maps", 
+        "line_width": "2", "type": "stack" },
+      { "metric": "mapred.jobtracker.waiting_reduces", "color": "0000ff", "label": "Waiting Reduces", 
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_reduce_slot_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_reduce_slot_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_reduce_slot_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jobtracker_reduce_slot_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,14 @@
+{
+   "report_name" : "jobtracker_reduce_slot_report",
+   "report_type" : "standard",
+   "title" : "Reduce Slot Utilization",
+   "vertical_label" : "Slots",
+   "series" : [
+      { "metric": "mapred.jobtracker.reduce_slots", "color": "0000ff", "label": "Total", 
+        "line_width": "2", "type": "line" },
+      { "metric": "mapred.jobtracker.occupied_reduce_slots", "color": "06f7ff", "label": "Occupied", 
+        "line_width": "2", "type": "stack" },
+      { "metric": "mapred.jobtracker.reserved_reduce_slots", "color": "009999", "label": "Reserved",
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_gc_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_gc_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_gc_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_gc_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "jvm_gc_report",
+   "report_type" : "standard",
+   "title" : "Time spent in Garbage Collection",
+   "vertical_label" : "Milliseconds",
+   "series" : [
+      { "metric": "jvm.metrics.gcTimeMillis", "color": "ff0000", "label": "Time Spent", 
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_mem_heap_used_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_mem_heap_used_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_mem_heap_used_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_mem_heap_used_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "jvm_mem_heap_used_report",
+   "report_type" : "standard",
+   "title" : "JVM Heap Memory Used",
+   "vertical_label" : "MB",
+   "series" : [
+      { "metric": "jvm.metrics.memHeapUsedM", "color": "ff0000", "label": "Heap Memory Used", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_threads_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_threads_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_threads_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_jvm_threads_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,16 @@
+{
+   "report_name" : "jvm_threads_report",
+   "report_type" : "standard",
+   "title" : "JVM Threads Status",
+   "vertical_label" : "Number Of Threads",
+   "series" : [
+      { "metric": "jvm.metrics.threadsBlocked", "color": "ff0000", "label": "Blocked", 
+        "line_width": "2", "type": "stack" },
+      { "metric": "jvm.metrics.threadsWaiting", "color": "ff6600", "label": "Waiting",
+        "line_width": "2", "type": "stack" },
+      { "metric": "jvm.metrics.threadsTimedWaiting", "color": "ffff00", "label": "Timed Waiting",
+        "line_width": "2", "type": "stack" },
+      { "metric": "jvm.metrics.threadsRunnable", "color": "00ff00", "label": "Runnable", 
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_latency_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_latency_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_latency_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_latency_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,12 @@
+{
+   "report_name" : "rpc_latency_report",
+   "report_type" : "standard",
+   "title" : "Average RPC Latencies",
+   "vertical_label" : "Seconds",
+   "series" : [
+      { "metric": "rpc.rpc.RpcProcessingTime_avg_time", "color": "0000ff", "label": "Average Processing Time", 
+        "line_width": "2", "type": "stack" },
+      { "metric": "rpc.rpc.RpcQueueTime_avg_time", "color": "ff0000", "label": "Average Queue Time", 
+        "line_width": "2", "type": "stack" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_avg_time_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_avg_time_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_avg_time_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_avg_time_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "rpc_queue_time_avg_time_report",
+   "report_type" : "standard",
+   "title" : "Average RPC Wait Time",
+   "vertical_label" : "Seconds",
+   "series" : [
+      { "metric": "rpc.rpc.RpcQueueTime_avg_time", "color": "ff0000", "label": "Avg RPC Wait Time", 
+        "line_width": "2", "type": "line" }
+   ]
+}

Added: incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_num_ops_report.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_num_ops_report.json?rev=1406498&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_num_ops_report.json (added)
+++ incubator/ambari/branches/AMBARI-666/contrib/addons/src/addOns/ganglia/graph.d/hdp_mon_rpc_queue_time_num_ops_report.json Wed Nov  7 08:49:58 2012
@@ -0,0 +1,10 @@
+{
+   "report_name" : "rpc_queue_time_num_ops_report",
+   "report_type" : "standard",
+   "title" : "Average RPC Operations",
+   "vertical_label" : "Operations/Sec",
+   "series" : [
+      { "metric": "rpc.rpc.RpcQueueTime_num_ops", "color": "ff0000", "label": "Avg RPC Ops", 
+        "line_width": "2", "type": "line" }
+   ]
+}



Mime
View raw message