Grokbase Groups HBase dev March 2008
FAQ
Hello

I got the following error while executing the small program for reading
data from Hbase using Map-Reduce Framework. Hbase Table has been created
before running the program.

-bash-3.00$ hadoop jar hbmrread.jar


08/03/11 15:00:22 ERROR mapred.TableInputFormat:
java.lang.NullPointerException
08/03/11 15:00:22 ERROR mapred.TableInputFormat:
java.lang.NullPointerException
Exception in thread "main" java.lang.NullPointerException
at
org.apache.hadoop.hbase.mapred.TableInputFormat.getSplits(TableInputFormat.java:166)
at
org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:544)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:805)
at
org.apache.hadoop.examples.hbmrread.TestHbaseMRRead.run(TestHbaseMRRead.java:83)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at
org.apache.hadoop.examples.hbmrread.TestHbaseMRRead.main(TestHbaseMRRead.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)

-bash-3.00$

please suggest me to avoid this problem.

Search Discussions

  • Stack at Mar 11, 2008 at 8:16 pm
    What version of HBase Peeyush? Table exists? Is there a log earlier in
    the log complaining that the InputFormat was not able to construct its
    HTable instance (#191 in TableInputFormat)?
    St.Ack



    Peeyush Bishnoi wrote:
    Hello

    I got the following error while executing the small program for reading
    data from Hbase using Map-Reduce Framework. Hbase Table has been created
    before running the program.

    -bash-3.00$ hadoop jar hbmrread.jar


    08/03/11 15:00:22 ERROR mapred.TableInputFormat:
    java.lang.NullPointerException
    08/03/11 15:00:22 ERROR mapred.TableInputFormat:
    java.lang.NullPointerException
    Exception in thread "main" java.lang.NullPointerException
    at
    org.apache.hadoop.hbase.mapred.TableInputFormat.getSplits(TableInputFormat.java:166)
    at
    org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:544)
    at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:805)
    at
    org.apache.hadoop.examples.hbmrread.TestHbaseMRRead.run(TestHbaseMRRead.java:83)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at
    org.apache.hadoop.examples.hbmrread.TestHbaseMRRead.main(TestHbaseMRRead.java:88)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:155)

    -bash-3.00$

    please suggest me to avoid this problem.


Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedMar 11, '08 at 9:35a
activeMar 11, '08 at 8:16p
posts2
users2
websitehbase.apache.org

2 users in discussion

Peeyush Bishnoi: 1 post Stack: 1 post

People

Translate

site design / logo © 2022 Grokbase