hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Connection via API to Hbase installation - java.lang.NoClassDefFoundError: org/apache/commons/lang/ArrayUtils
Date Mon, 27 Oct 2014 14:10:44 GMT
Which release of HBase are you using ?
If 0.98.x, here is the dependency on commons-lang:
    <commons-lang.version>2.6</commons-lang.version>

Cheers

On Mon, Oct 27, 2014 at 7:03 AM, Sznajder ForMailingList <
bs4mailinglist@gmail.com> wrote:

> Hi
>
> I want to connect from my windows laptop to an installed HBASE
>
> When running the code , I get the following error:
>
> java.lang.NoClassDefFoundError: org/apache/commons/lang/ArrayUtils
>     at org.apache.hadoop.hbase.HConstants.<clinit>(HConstants.java:907)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionKey.<clinit>(HConnectionKey.java:42)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:265)
>     at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:192)
>
>
> However, I added to the classpath the jar commons-lang3-3.3.2
>
> Regards
> Benjamin
>

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