hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Segel <michael_se...@hotmail.com>
Subject Probably a silly question... but need an answer ASAP.
Date Tue, 16 Mar 2010 23:55:05 GMT


I've got a situation on one of my clouds.

Hadoop is up and running Ok.
HBase is up and running. (Maybe ok.)

The problem is that when I go to launch a hadoop map/reduce job, I tend to get an exception.

"$ hadoop jar RowCount.jar LCMS_STAGING
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/Scan
        at rowcount.JobControl.<init>(JobControl.java:50)
        at rowcount.Main.main(Main.java:19)
        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:156)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.client.Scan
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
        ... 7 more

This job runs on the other cloud. Since we use LDAP, while the clouds are different, the login
.kshrc is the same so my environment variables are the same.

This means someone screwed up during the configuration of the cloud. And of course, its one
of those Homer Simpson things that we probably forgot to document so they missed something
in setting up the environment.

One of the developers took the configuration and created a load .xml file that had everything
that was in our configuration and manually loaded it at the start of the app.
So we know the config parameters are ok, just that they are not being seen.

So what am I missing?



Hotmail: Trusted email with powerful SPAM protection.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message