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

ASF GitHub Bot commented on PHOENIX-7040:
-----------------------------------------

jpisaac commented on PR #1710:
URL: https://github.com/apache/phoenix/pull/1710#issuecomment-1811542826

   Setting TTL=NONE at the child level and then try to set to some value at a 
global view level gives the following exception.
   Inspecting the TTL value after setting it to NONE, shows a value of "0".
   
   Caused by: 
org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.DoNotRetryIOException):
 org.apache.hadoop.hbase.DoNotRetryIOException: ERROR 10956 (44A37): ERROR 
10956 (44A37): TTL property is already defined in hierarchy for this entity 
tableName=[84, 69, 83, 84, 95, 69, 78, 84, 73, 84, 89].[71, 49, 95, 49, 48, 49] 
TEST_ENTITY.G1_101
        at 
org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:109)
        at 
org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:83)
        at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.mutateColumn(MetaDataEndpointImpl.java:3555)
        at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.addColumn(MetaDataEndpointImpl.java:3641)
        at 
org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:17569)
        at 
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:7936)
        at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2535)
        at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2509)
        at 
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:45957)
   




> Support TTL for views using the new column TTL in SYSTEM.CATALOG
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-7040
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7040
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Jacob Isaac
>            Assignee: Lokesh Khurana
>            Priority: Major
>
> Allow views to be created with TTL specs.
> Ensure TTL is specified only once in the view hierarchy.
> Child views should inherit TTL values from their parent, when not specified 
> for the given view.
> Indexes should inherit the TTL values from the base tables/views.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to