You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ethan Wang (JIRA)" <ji...@apache.org> on 2017/08/30 20:21:02 UTC

[jira] [Comment Edited] (PHOENIX-4128) CNF org/apache/commons/math3/exception/OutOfRangeException

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

Ethan Wang edited comment on PHOENIX-4128 at 8/30/17 8:20 PM:
--------------------------------------------------------------

I was not able to reproduce the same error on hbase 1.3.1.

during table sampling hash generating process,  java.lang.Math is used.  I'll investigating the error stack to make sure if it need to be also included into the server side. Thanks for the info [~mujtabachohan]


was (Author: aertoria):
I was not able to reproduce the same error on hbase 1.3.1.

math3 should not be used during table sampling process. I'll investigating the error stack.

> CNF org/apache/commons/math3/exception/OutOfRangeException 
> -----------------------------------------------------------
>
>                 Key: PHOENIX-4128
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4128
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.12.0
>            Reporter: Mujtaba Chohan
>            Priority: Minor
>             Fix For: 4.12.0
>
>
> {noformat}
> Error: org.apache.hadoop.hbase.DoNotRetryIOException: T: org/apache/commons/math3/exception/OutOfRangeException
> > 	at org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:92)
> > 	at org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:58)
> > 	at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.mutateColumn(MetaDataEndpointImpl.java:2163)
> > 	at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.dropColumn(MetaDataEndpointImpl.java:3243)
> > 	at org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:16317)
> > 	at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:6082)
> > 	at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3533)
> > 	at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3515)
> > 	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32496)
> > 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2195)
> ...
> > Caused by: java.lang.NoClassDefFoundError: org/apache/commons/math3/exception/OutOfRangeException
> > 	at org.apache.phoenix.parse.ParseNodeFactory.namedTable(ParseNodeFactory.java:404)
> > 	at org.apache.phoenix.parse.PhoenixSQLParser.upsert_node(PhoenixSQLParser.java:5239)
> > 	at org.apache.phoenix.parse.PhoenixSQLParser.oneStatement(PhoenixSQLParser.java:827)
> > 	at org.apache.phoenix.parse.PhoenixSQLParser.statement(PhoenixSQLParser.java:519)
> > 	at org.apache.phoenix.parse.SQLParser.parseStatement(SQLParser.java:108)
> > 	at org.apache.phoenix.jdbc.PhoenixStatement$PhoenixStatementParser.parseStatement(PhoenixStatement.java:1497)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)