You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "alex kamil (JIRA)" <ji...@apache.org> on 2014/04/09 22:37:21 UTC
[jira] [Comment Edited] (PHOENIX-926) Snappy error on mac osx
[ https://issues.apache.org/jira/browse/PHOENIX-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964635#comment-13964635 ]
alex kamil edited comment on PHOENIX-926 at 4/9/14 8:37 PM:
------------------------------------------------------------
possibly related: https://issues.apache.org/jira/browse/PHOENIX-877
was (Author: alexdl):
possible related: https://issues.apache.org/jira/browse/PHOENIX-877
> Snappy error on mac osx
> -----------------------
>
> Key: PHOENIX-926
> URL: https://issues.apache.org/jira/browse/PHOENIX-926
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.0.0
> Environment: mac osx 10.9.2
> Reporter: Dan Di Spaltro
> Priority: Minor
>
> Using the sqlline client I am running into issues doing a join, a simple join was taking forever and then it eventually popped back with 35 stack traces of the following.
> I tested creating the following on the hbase shell
> {code}
> create 't1', { NAME => 'cf1', COMPRESSION => 'SNAPPY' }
> {code}
> And then inserting and everything worked fine.
> {code}
> put 't1', 'r1', 'cf1', 'value'
> {code}
> {code}
> Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(java.io.IOException): java.io.IOException: java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
> at org.apache.phoenix.coprocessor.ServerCachingEndpointImpl.addServerCache(ServerCachingEndpointImpl.java:78)
> at org.apache.phoenix.coprocessor.generated.ServerCachingProtos$ServerCachingService.callMethod(ServerCachingProtos.java:3221)
> at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5492)
> at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3299)
> at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3281)
> at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29501)
> at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2012)
> at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:98)
> at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:160)
> at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:38)
> at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:110)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
> at org.apache.phoenix.join.HashCacheFactory.newCache(HashCacheFactory.java:69)
> at org.apache.phoenix.cache.TenantCacheImpl.addServerCache(TenantCacheImpl.java:87)
> at org.apache.phoenix.coprocessor.ServerCachingEndpointImpl.addServerCache(ServerCachingEndpointImpl.java:75)
> ... 11 more
> at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1450)
> at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1654)
> at org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(RpcClient.java:1712)
> at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.execService(ClientProtos.java:29924)
> at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(ProtobufUtil.java:1508)
> ... 14 more
> Error: Encountered exception in hash plan [0] execution. (state=,code=0)
> 0: jdbc:phoenix:hmaster01>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)