Repository: ambari Updated Branches: refs/heads/branch-2.1 19eab7af0 -> f52c1b893
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/f52c1b89 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f52c1b89 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f52c1b89 Branch: refs/heads/branch-2.1 Commit: f52c1b893c9d1c1ce7ec3ef1502ccf78e55b9a54 Parents: 19eab7a Author: Sumit Mohanty <[email protected]> Authored: Sat Jun 27 17:32:50 2015 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Sat Jun 27 17:34:06 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/f52c1b89/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" />
