Hi Stanislav,

Did you build from source or use the binary packages ? You're missing a
couple of jars in /opt/hypertable/0.9.3.2/lib/java/ , namely:
hypertable-0.9.3.2.jar, hypertable-0.9.3.2-examples.jar

-Sanjit

On Sat, Jun 19, 2010 at 1:26 AM, Stanislav Yudin <[email protected]> wrote:

> Hi everyone,
> Recently we've upgraded one of the installations to 0.9.3.2 from 0.9.2.7,
> and we've got a problem running it on a hadoop cluster.
> Basically dfs broker cannot load required java classes which are supposed
> to be there from deb. Maybe package doesn't have something.
> Hadoop version 0.20.1 runs fine and contains /hypertable with correct
> rights.
>
> sta...@unicorn:~$ apt-cache show hypertable
> Package: hypertable
> Status: install ok installed
> Priority: optional
> Section: devel
> Installed-Size: 31565
> Maintainer: [email protected]
> Architecture: amd64
> Version: 0.9.3.2
> Description: Hypertable 0.9.3.2
>
> sta...@unicorn:~$ /opt/hypertable/0.9.3.2/bin/start-dfsbroker.sh hadoop
> DFS broker: available file descriptors: 1024
> Waiting for DFS Broker (hadoop) to come up...
> ...
> sta...@unicorn:~$ cat /opt/hypertable/0.9.3.2/log/DfsBroker.hadoop.log
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/hypertable/DfsBroker/hadoop/main
> Caused by: java.lang.ClassNotFoundException:
> org.hypertable.DfsBroker.hadoop.main
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>  at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.hypertable.DfsBroker.hadoop.main.
>  Program will exit.
> sta...@unicorn:~$ ls /opt/hypertable/0.9.3.2/lib/
> java                                libboost_thread.so.1.40.0
>  libgcc_s.so.1         libHyperRanger.so        libHyperTools.so
>  librrd.so.4               libthrift.so.0  rb
> libboost_filesystem.so.1.40.0       libbz2.so.1.0
>  libHyperCommon.so     libHyperspace.so         liblog4cpp.so.5
> libsigar-amd64-linux.so   libz.so.1
> libboost_iostreams.so.1.40.0        libdb_cxx-4.8.so
> libHyperComm.so       libHypertable.so         libMapReduce.so
> libstdc++.so.6            perl
> libboost_program_options.so.1.40.0  libevent-1.4.so.2
>  libHyperDfsBroker.so  libHyperThriftConfig.so  libncurses.so.5
> libtcmalloc_minimal.so.0  php
> libboost_system.so.1.40.0           libexpat.so.1
>  libHyperDfsCmds.so    libHyperThrift.so        libreadline.so.6
>  libthriftnb.so.0          py
> sta...@unicorn:~$ ls /opt/hypertable/0.9.3.2/lib/java/
> commons-cli-1.2.jar        hadoop-0.20.2-core.jar          hbase-0.20.4.jar
>  junit-4.3.1.LICENSE.txt  log4j-1.2.13.jar     slf4j-log4j12-1.5.8.jar
> commons-logging-1.0.4.jar  hadoop-0.20.2-core.LICENSE.txt  junit-4.3.1.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hypertable Development" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<hypertable-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hypertable-dev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en.

Reply via email to