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(
        at schemadesign.CreateTable.main(
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.TableName
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 2 more