phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-2490) Exception while running update statistics on transactional table
Date Fri, 04 Dec 2015 21:02:11 GMT

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

James Taylor updated PHOENIX-2490:
----------------------------------
    Fix Version/s: 4.7.0

> Exception while running update statistics on transactional table
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-2490
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2490
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mujtaba Chohan
>            Assignee: Thomas D'Silva
>            Priority: Minor
>             Fix For: 4.7.0
>
>
> Update statistics fails when table is transactional.
> {code}
> java.lang.IllegalArgumentException: Timestamp cannot be negative. minStamp:0, maxStamp-1000000
> 	at org.apache.hadoop.hbase.io.TimeRange.<init>(TimeRange.java:76)
> 	at org.apache.hadoop.hbase.client.Scan.setTimeRange(Scan.java:315)
> 	at org.apache.phoenix.util.ScanUtil.setTimeRange(ScanUtil.java:259)
> 	at org.apache.phoenix.compile.PostDDLCompiler$2.execute(PostDDLCompiler.java:190)
> 	at org.apache.phoenix.schema.MetaDataClient.updateStatisticsInternal(MetaDataClient.java:942)
> 	at org.apache.phoenix.schema.MetaDataClient.updateStatistics(MetaDataClient.java:895)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableUpdateStatisticsStatement$1.execute(PhoenixStatement.java:947)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:335)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:323)
> 	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:321)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:242)
> {code}



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

Mime
View raw message