hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AnandaVelMurugan Chandra Mohan <ananthu2...@gmail.com>
Subject Need help in running rowcounter mapreduce job in Hadoop cluster
Date Wed, 13 Jun 2012 05:22:28 GMT
Hi,

I have a three node Hadoop fully distributed cluster. I have HBase
installed, also in fully distributed mode. I am interested in running
rowcounter map reduce job bundled with HBase.

I am doing the following in one of my node


export
HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/local/hbase-0.92.1-security/lib/
export
HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/local/hbase-0.92.1-security/conf/
cd /usr/local/hadoop-1.0.2/bin/
./hadoop /usr/local/hbase-0.92.1-security/hbase-0.92.1-security.jar
rowcounter <tablename>

I am getting following error

Exception in thread "main" java.lang.NoClassDefFoundError:
/usr/local/hbase-0/92
/1-security/hbase-0/92/1-security/jar
Caused by: java.lang.ClassNotFoundException:
.usr.local.hbase-0.92.1-security.hb
ase-0.92.1-security.jar
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class:
/usr/local/hbase-0.92.1-security/hbase-0.92.1-sec
urity.jar. Program will exit.

Am I doing anything wrong. Should I change any configuration file in
Hadoop.

Any help would be greatly appreciated.

-- 
Regards,
Anand

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