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] [Commented] (PHOENIX-2936) Missing antlr runtime on server side after PHOENIX-2908
Date Wed, 25 May 2016 13:36:12 GMT

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

James Taylor commented on PHOENIX-2936:
---------------------------------------

Will this include only antr runtime or all of antlr like before (and if so can we include
only the antlr runtime)?

> Missing antlr runtime on server side after PHOENIX-2908
> -------------------------------------------------------
>
>                 Key: PHOENIX-2936
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2936
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>         Attachments: PHOENIX-2936.patch
>
>
> During PHOENIX-2908 antlr was completely removed from server jar. That's was a bad idea,
since runtime is still required for indexes:
> {noformat}
> 2016-05-24 11:40:53,596 ERROR [StoreFileOpenerThread-L#0-1] coprocessor.CoprocessorHost:
The coprocessor org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator threw
java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream
> java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream
>         at org.apache.phoenix.jdbc.PhoenixStatement.parseStatement(PhoenixStatement.java:1359)
>         at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1413)
>         at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2327)
>         at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2276)
>         at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
>         at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2276)
>         at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:233)
>         at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:135)
>         at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:202)
>         at java.sql.DriverManager.getConnection(DriverManager.java:664)
>         at java.sql.DriverManager.getConnection(DriverManager.java:208)
>         at org.apache.phoenix.util.QueryUtil.getConnection(QueryUtil.java:326)
>         at org.apache.phoenix.util.QueryUtil.getConnectionOnServer(QueryUtil.java:313)
>         at org.apache.phoenix.util.QueryUtil.getConnectionOnServer(QueryUtil.java:303)
>         at org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator.preStoreFileReaderOpen(IndexHalfStoreFileReaderGenerator.java:145)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$64.call(RegionCoprocessorHost.java:1580)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1673)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1749)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperationWithResult(RegionCoprocessorHost.java:1712)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preStoreFileReaderOpen(RegionCoprocessorHost.java:1575)
>         at org.apache.hadoop.hbase.regionserver.StoreFileInfo.open(StoreFileInfo.java:246)
>         at org.apache.hadoop.hbase.regionserver.StoreFile.open(StoreFile.java:399)
>         at org.apache.hadoop.hbase.regionserver.StoreFile.createReader(StoreFile.java:504)
>         at org.apache.hadoop.hbase.regionserver.StoreFile.createReader(StoreFile.java:494)
>         at org.apache.hadoop.hbase.regionserver.HStore.createStoreFileAndReader(HStore.java:653)
>         at org.apache.hadoop.hbase.regionserver.HStore.access$000(HStore.java:118)
>         at org.apache.hadoop.hbase.regionserver.HStore$1.call(HStore.java:520)
>         at org.apache.hadoop.hbase.regionserver.HStore$1.call(HStore.java:517)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> {noformat}



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

Mime
View raw message