Repository: ambari Updated Branches: refs/heads/trunk b079040d8 -> 036a8b779
AMBARI-12182. Ambari did not change Phoenix configuration during RU from HDP 2.2 to 2.3 (smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/036a8b77 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/036a8b77 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/036a8b77 Branch: refs/heads/trunk Commit: 036a8b779536e833d220b54acaee1a8460733c25 Parents: b079040 Author: Sumit Mohanty <[email protected]> Authored: Sat Jun 27 17:32:50 2015 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Sat Jun 27 17:32:50 2015 -0700 ---------------------------------------------------------------------- .../stacks/HDP/2.2/upgrades/upgrade-2.3.xml | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/036a8b77/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml index 696c7bb..1792d2e 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml @@ -637,6 +637,30 @@ <component name="HBASE_MASTER"> <pre-downgrade /> <!-- no-op to prevent config changes on downgrade --> <pre-upgrade> + <task xsi:type="configure"> + <condition type="hbase-env" key="phoenix_sql_enabled" value="true"> + <type>hbase-site</type> + <key>hbase.region.server.rpc.scheduler.factory.class</key> + <value>org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory</value> + </condition> + </task> + + <task xsi:type="configure"> + <condition type="hbase-env" key="phoenix_sql_enabled" value="true"> + <type>hbase-site</type> + <key>hbase.rpc.controllerfactory.class</key> + <value>org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory</value> + </condition> + </task> + + <task xsi:type="configure"> + <condition type="hbase-env" key="phoenix_sql_enabled" value="true"> + <type>hbase-site</type> + <key>hbase.regionserver.wal.codec</key> + <value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value> + </condition> + </task> + <task xsi:type="configure" summary="Transitioning Ranger HBase Policy"> <type>ranger-hbase-policymgr-ssl</type> <transfer operation="copy" from-type="ranger-hbase-plugin-properties" from-key="SSL_KEYSTORE_FILE_PATH" to-key="xasecure.policymgr.clientssl.keystore" default-value="/usr/hdp/current/hbase-client/conf/ranger-plugin-keystore.jks" />
