hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: Hadoop config file IOException
Date Thu, 26 Mar 2009 23:18:09 GMT

Hi Vaibhav,

This is a harmless exception that is printed at DEBUG level. It
seems to have been put into the Hadoop Configuration class just to
mark when the configuration object is created.

Best regards,

   - Andy

> From: Vaibhav Puranik <vpuranik@gmail.com>
> Subject: Hadoop config file IOException
> To: hbase-user@hadoop.apache.org
> Date: Thursday, March 26, 2009, 3:28 PM
> Hi,
> 
> I am a HBase/Hadoop newbie.
> 
> Following code (groovy) works, but produces the exception
> given below:
> 
> def hbaseConfig = new HBaseConfiguration()
> admin = new HBaseAdmin(hbaseConfig)
> println admin.listTables()
> 
> Exception:
> 14:15:25.702 [main] DEBUG
> org.apache.hadoop.conf.Configuration - java.io.IOException: config()
>     at
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:176)
>     at
> org.apache.hadoop.conf.Configuration.<init>(Configuration.java:164)
>     at
> org.apache.hadoop.hbase.HBaseConfiguration.<init>(HBaseConfiguration.java:32)
>     at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>     at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>     at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>     at
> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:70)
>     at
> org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
>     at
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:55)
>     at
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:191)
>     at
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:195)
> 
> I am using Hadoop 0.19, Hbase 0.19, have HADOOP_HOME and
> HBASE_HOME defined
> in my .bashrc.
> 
> The code prints list of tables. but I don't understand
> why I am getting the
> exception. Any pointers?
> 
> Regards,
> Vaibhav


      

Mime
View raw message