phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Di Spaltro (JIRA)" <>
Subject [jira] [Created] (PHOENIX-926) Snappy error on mac osx
Date Wed, 09 Apr 2014 20:24:15 GMT
Dan Di Spaltro created PHOENIX-926:

             Summary: Snappy error on mac osx
                 Key: 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
create 't1', { NAME => 'cf1', COMPRESSION => 'SNAPPY' }

And then inserting and everything worked fine.
put 't1', 'r1', 'cf1', 'value'

Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(
java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
	at org.apache.phoenix.coprocessor.ServerCachingEndpointImpl.addServerCache(
	at org.apache.phoenix.coprocessor.generated.ServerCachingProtos$ServerCachingService.callMethod(
	at org.apache.hadoop.hbase.regionserver.HRegion.execService(
	at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(
	at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(
	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(
	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(
	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(
	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
	at org.apache.phoenix.join.HashCacheFactory.newCache(
	at org.apache.phoenix.cache.TenantCacheImpl.addServerCache(
	at org.apache.phoenix.coprocessor.ServerCachingEndpointImpl.addServerCache(
	... 11 more

	at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(
	at org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(
	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.execService(
	at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(
	... 14 more
Error: Encountered exception in hash plan [0] execution. (state=,code=0)
0: jdbc:phoenix:hmaster01>

This message was sent by Atlassian JIRA

View raw message