Taylor Finnell created PHOENIX-1411:
---------------------------------------

             Summary: hbase-default.xml file seems to be for and old version of 
HBase (@@@VERSION@@@),
                 Key: PHOENIX-1411
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1411
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.1
            Reporter: Taylor Finnell
            Priority: Critical


Getting this error when attempting to connect to Phoenix from a Storm topology. 
However, I am able to connect and use Phoenix fine locally and from the sqlline 
tool. 

java.lang.RuntimeException: java.lang.RuntimeException: hbase-default.xml file 
seems to be for and old version of HBase (@@@VERSION@@@), this version is 
0.98.5-hadoop2
        at 
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:107)
        at 
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:78)
        at 
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:77)
        at 
backtype.storm.daemon.executor$fn__4329$fn__4341$fn__4388.invoke(executor.clj:745)
        at backtype.storm.util$async_loop$fn__442.invoke(util.clj:436)
        at clojure.lang.AFn.run(AFn.java:24)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: hbase-default.xml file seems to be for 
and old version of HBase (@@@VERSION@@@), this version is 0.98.5-hadoop2
        at 
org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(org/apache/hadoop/hbase/HBaseConfiguration.java:70)
        at 
org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(org/apache/hadoop/hbase/HBaseConfiguration.java:102)
        at 
org.apache.hadoop.hbase.HBaseConfiguration.create(org/apache/hadoop/hbase/HBaseConfiguration.java:113)
        at 
org.apache.phoenix.query.ConfigurationFactory$ConfigurationFactoryImpl$1.call(org/apache/phoenix/query/ConfigurationFactory.java:49)
        at 
org.apache.phoenix.query.ConfigurationFactory$ConfigurationFactoryImpl$1.call(org/apache/phoenix/query/ConfigurationFactory.java:46)
        at 
org.apache.phoenix.util.PhoenixContextExecutor.call(org/apache/phoenix/util/PhoenixContextExecutor.java:77)
        at 
org.apache.phoenix.util.PhoenixContextExecutor.callWithoutPropagation(org/apache/phoenix/util/PhoenixContextExecutor.java:92)
        at 
org.apache.phoenix.query.ConfigurationFactory$ConfigurationFactoryImpl.getConfiguration(org/apache/phoenix/query/ConfigurationFactory.java:46)
        at 
org.apache.phoenix.query.QueryServicesOptions.withDefaults(org/apache/phoenix/query/QueryServicesOptions.java:174)
        at 
org.apache.phoenix.query.QueryServicesImpl.(org/apache/phoenix/query/QueryServicesImpl.java:36)
        at 
org.apache.phoenix.jdbc.PhoenixDriver.getQueryServices(org/apache/phoenix/jdbc/PhoenixDriver.java:112)
        at 
org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(org/apache/phoenix/jdbc/PhoenixDriver.java:145)
        at 
org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(org/apache/phoenix/jdbc/PhoenixEmbeddedDriver.java:129)
        at 
org.apache.phoenix.jdbc.PhoenixDriver.connect(org/apache/phoenix/jdbc/PhoenixDriver.java:133)
        at java.sql.DriverManager.getConnection(java/sql/DriverManager.java:571)
        at java.sql.DriverManager.getConnection(java/sql/DriverManager.java:233)
        at java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:606)



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

Reply via email to