hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ram kumar <ramkumarro...@gmail.com>
Subject Error : hbase-default.xml file seems to be for an older version
Date Fri, 08 Apr 2016 09:37:45 GMT
Hi,

when running as spark shell to connect hive table (hbase integrated)
{{{
spark-shell --jars
/usr/hdp/2.3.4.0-3485/hive/lib/guava-14.0.1.jar,/usr/hdp/2.3.4.0-3485/hive/lib/hive-hbase-handler-1.2.1.2.3.4.0-3485.jar,/usr/hdp/2.3.4.0-3485/hive/lib/htrace-core-3.1.0-incubating.jar,/usr/hdp/2.3.4.0-3485/hive/lib/zookeeper-3.4.6.2.3.4.0-3485.jar,/usr/hdp/2.3.4.0-3485/hbase/lib/hbase-client-1.1.2.2.3.4.0-3485.jar,/usr/hdp/2.3.4.0-3485/hbase/lib/hbase-common-1.1.2.2.3.4.0-3485.jar,/usr/hdp/2.3.4.0-3485/hbase/lib/hbase-protocol-1.1.2.2.3.4.0-3485.jar,/usr/hdp/2.3.4.0-3485/hbase/lib/hbase-server-1.1.2.2.3.4.0-3485.jar,/usr/hdp/2.3.4.0-3485/hbase/lib/hbase-hadoop-compat-1.1.2.2.3.4.0-3485.jar
--driver-class-path /usr/hdp/2.3.4.0-3485/hbase/conf

scala> sqlContext.sql("select * from test").show()

}}}

getting
{{{
Caused by: java.lang.RuntimeException: hbase-default.xml file seems to be
for an older version of HBase (null), this version is 1.1.2.2.3.4.0-3485
}}}

in hbase-site.xml,
given property ,
hbase.defaults.for.version.skip=true

Can someone help me with this

Thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message