phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-1683) Support HBase HA Query(timeline-consistent region replica read)
Date Mon, 02 Mar 2015 06:12:04 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeffrey Zhong updated PHOENIX-1683:
-----------------------------------
    Attachment: PHOENIX-1683.patch

A user can turn on TIMELINE read by two ways:(assuming the related table has enabled region
replica already)

1) Through JDBC url string: Append ";Consistency=TIMELINE" into URL string

2) alter session set Consistency = 'timeline'
Using alter session set Consistency = 'strong' to turn timeline read off.

When a user uses explain command, "TIMELINE-CONSISTENCY" will be in the plan output when timeline
consistency is enabled.

> Support HBase HA Query(timeline-consistent region replica read)
> ---------------------------------------------------------------
>
>                 Key: PHOENIX-1683
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1683
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>         Attachments: PHOENIX-1683.patch
>
>
> As HBASE-10070 is in HBase1.0, we could leverage this feature by providing a new consistency
level TIMELINE.
> Assumption: A user has already enabled a hbase table for timeline consistency
> In the connection property or by "ALTER SESSION SET CONSISTENCY_LEVEL=TIMELINE" statement,
we could set current connection/session consistency level to "TIMELINE" to take the advantage
of TIMELINE read. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message