phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mujtaba Chohan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-2490) Exception while running update statistics on transactional table
Date Fri, 04 Dec 2015 20:00:12 GMT
Mujtaba Chohan created PHOENIX-2490:
---------------------------------------

             Summary: 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


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