You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/03/03 12:26:20 UTC

[jira] [Commented] (PHOENIX-99) Automatic white list based upgrade from 2.2 to 3.0

    [ https://issues.apache.org/jira/browse/PHOENIX-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917965#comment-13917965 ] 

Hudson commented on PHOENIX-99:
-------------------------------

FAILURE: Integrated in Apache Phoenix - Branch:master #96 (See [https://builds.apache.org/job/Phoenix/96/])
PHOENIX-99 Automatic white list based upgrade from 2.2 to 3.0 (JamesTaylor) (jamestaylor: rev dfca2f53a2abae6644e5c130f9883ba3f2820b08)
* phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java
* phoenix-core/src/main/java/org/apache/phoenix/index/PhoenixIndexFailurePolicy.java
* phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
* phoenix-core/src/main/java/org/apache/phoenix/query/QueryServices.java
* phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java
* phoenix-core/src/test/java/org/apache/phoenix/util/TestUtil.java
* phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
* phoenix-core/src/main/java/org/apache/phoenix/query/QueryConstants.java
* phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java


> Automatic white list based upgrade from 2.2 to 3.0
> --------------------------------------------------
>
>                 Key: PHOENIX-99
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-99
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: James Taylor
>            Assignee: James Taylor
>             Fix For: 3.0.0
>
>         Attachments: patch.diff
>
>
> Auto upgrade tables from Phoenix 2.2.2/2.2.3 format to Phoenix 3.0 format. Note that upgrade is only attempted to be performed once, upon first connection to a cluster. A table is only upgraded if it is white listed based on the following new config property: phoenix.client.autoUpgradeWhiteList
> If this property is not present, no tables will be upgraded. The config property may have the following values:
> - * which means upgrade everything or
> - a comma separated list of fully qualified, case sensitive names (note that by default, Phoenix stores table names in uppercase unless put them in double quotes at DDL time)
> Examples:
> {code}
>   <property>
>     <name>phoenix.client.autoUpgradeWhiteList</name>
>     <value>*</value> <!- will upgrade all tables ->
>   </property>
> {code}
> {code}
>   <property>
>     <name>phoenix.client.autoUpgradeWhiteList</name>
>     <value>MY_SCHEMA.MY_TABLE, OTHER_TABLE</value>
>   </property>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)