AnsweredAssumed Answered

flat table creation error in hbase

Question asked by jagadeeswar on Jul 9, 2015
Latest reply on Jul 11, 2015 by jagadeeswar
the bellow error is occuring when I ran a MapR example to create flat table in hbase. can you suggest me,
[user01@maprdemo ~]$ java -cp `hbase classpath`:./schemadesignsolution-1.0.jar \
> schemadesign.CreateTable flat ./500trades.txt
Creating table ./trades_flat...
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/TableName
        at schemadesign.CreateTableUtils.createTable(CreateTableUtils.java:32)
        at schemadesign.CreateTable.main(CreateTable.java:52)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.TableName
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 2 more

Outcomes