[1/2] ambari git commit: AMBARI-20891 - Allow extensions to auto-link with supported stack versions
Repository: ambari Updated Branches: refs/heads/branch-2.6 0e2e711e0 -> 7c56924a9 http://git-wip-us.apache.org/repos/asf/ambari/blob/7c56924a/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml -- diff --git a/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml new file mode 100644 index 000..5024e85 --- /dev/null +++ b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml @@ -0,0 +1,137 @@ + + + + + +hbase.regionserver.msginterval +1000 +Interval between messages from the RegionServer to HMaster +in milliseconds. Default is 15. Set this value low if you want unit +tests to be responsive. + + + +hbase.client.pause +5000 +General client pause value. Used mostly as value to wait +before running a retry of a failed get, region lookup, etc. + + +hbase.master.meta.thread.rescanfrequency +1 +How long the HMaster sleeps (in milliseconds) between scans of +the root and meta tables. + + + +hbase.server.thread.wakefrequency +1000 +Time to sleep in between searches for work (in milliseconds). +Used as sleep interval by service threads such as META scanner and log roller. + + + +hbase.regionserver.handler.count +5 +Count of RPC Server instances spun up on RegionServers +Same property is used by the HMaster for count of master handlers. +Default is 10. + + + +hbase.master.lease.period +6000 +Length of time the master will wait before timing out a region +server lease. Since region servers report in every second (see above), this +value has been reduced so that the master will notice a dead region server +sooner. The default is 30 seconds. + + + +hbase.master.info.port +-1 +The port for the hbase master web UI +Set to -1 if you do not want the info server to run. + + + +hbase.regionserver.info.port +-1 +The port for the hbase regionserver web UI +Set to -1 if you do not want the info server to run. + + + +hbase.regionserver.info.port.auto +true +Info server auto port bind. Enables automatic port +search if hbase.regionserver.info.port is already in use. +Enabled for testing to run multiple tests on one machine. + + + +hbase.master.lease.thread.wakefrequency +3000 +The interval between checks for expired region server leases. +This value has been reduced due to the other reduced values above so that +the master will notice a dead region server sooner. The default is 15 seconds. + + + +hbase.regionserver.optionalcacheflushinterval +1 + +Amount of time to wait since the last time a region was flushed before +invoking an optional cache flush. Default 60,000. + + + +hbase.regionserver.safemode +false + +Turn on/off safe mode in region server. Always on for production, always off +for tests. + + + +hbase.hregion.max.filesize +67108864 + +Maximum desired file size for an HRegion. If filesize exceeds +value + (value / 2), the HRegion is split in two. Default: 256M. + +Keep the maximum filesize small so we split more often in tests. + + + +hadoop.log.dir +${user.dir}/../logs + + +hbase.zookeeper.property.clientPort +21818 +Property from ZooKeeper's config zoo.cfg. +The port at which the clients will connect. + + + http://git-wip-us.apache.org/repos/asf/ambari/blob/7c56924a/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml -- diff --git a/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml new file mode 100644 index 000..649472d --- /dev/null +++ b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml @@ -0,0 +1,199 @@ + + + + + + + +content + +# +# 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
[1/2] ambari git commit: AMBARI-20891 - Allow extensions to auto-link with supported stack versions
Repository: ambari Updated Branches: refs/heads/trunk a92fe1b1f -> aa78a1724 http://git-wip-us.apache.org/repos/asf/ambari/blob/aa78a172/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml -- diff --git a/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml new file mode 100644 index 000..5024e85 --- /dev/null +++ b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hbase-site.xml @@ -0,0 +1,137 @@ + + + + + +hbase.regionserver.msginterval +1000 +Interval between messages from the RegionServer to HMaster +in milliseconds. Default is 15. Set this value low if you want unit +tests to be responsive. + + + +hbase.client.pause +5000 +General client pause value. Used mostly as value to wait +before running a retry of a failed get, region lookup, etc. + + +hbase.master.meta.thread.rescanfrequency +1 +How long the HMaster sleeps (in milliseconds) between scans of +the root and meta tables. + + + +hbase.server.thread.wakefrequency +1000 +Time to sleep in between searches for work (in milliseconds). +Used as sleep interval by service threads such as META scanner and log roller. + + + +hbase.regionserver.handler.count +5 +Count of RPC Server instances spun up on RegionServers +Same property is used by the HMaster for count of master handlers. +Default is 10. + + + +hbase.master.lease.period +6000 +Length of time the master will wait before timing out a region +server lease. Since region servers report in every second (see above), this +value has been reduced so that the master will notice a dead region server +sooner. The default is 30 seconds. + + + +hbase.master.info.port +-1 +The port for the hbase master web UI +Set to -1 if you do not want the info server to run. + + + +hbase.regionserver.info.port +-1 +The port for the hbase regionserver web UI +Set to -1 if you do not want the info server to run. + + + +hbase.regionserver.info.port.auto +true +Info server auto port bind. Enables automatic port +search if hbase.regionserver.info.port is already in use. +Enabled for testing to run multiple tests on one machine. + + + +hbase.master.lease.thread.wakefrequency +3000 +The interval between checks for expired region server leases. +This value has been reduced due to the other reduced values above so that +the master will notice a dead region server sooner. The default is 15 seconds. + + + +hbase.regionserver.optionalcacheflushinterval +1 + +Amount of time to wait since the last time a region was flushed before +invoking an optional cache flush. Default 60,000. + + + +hbase.regionserver.safemode +false + +Turn on/off safe mode in region server. Always on for production, always off +for tests. + + + +hbase.hregion.max.filesize +67108864 + +Maximum desired file size for an HRegion. If filesize exceeds +value + (value / 2), the HRegion is split in two. Default: 256M. + +Keep the maximum filesize small so we split more often in tests. + + + +hadoop.log.dir +${user.dir}/../logs + + +hbase.zookeeper.property.clientPort +21818 +Property from ZooKeeper's config zoo.cfg. +The port at which the clients will connect. + + + http://git-wip-us.apache.org/repos/asf/ambari/blob/aa78a172/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml -- diff --git a/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml new file mode 100644 index 000..649472d --- /dev/null +++ b/ambari-server/src/test/resources/stacks_with_extensions/HDP/0.3/services/HDFS/configuration/hdfs-log4j.xml @@ -0,0 +1,199 @@ + + + + + + + +content + +# +# 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