Getting started with Hypertable!

2 views
Skip to first unread message

erik

unread,
Apr 15, 2008, 8:31:17 PM4/15/08
to Hypertable User
Hi!
I'm just getting started with Hypertable and trying it out, but have
encountered some problems:
1. When editing the fstab file I don't really know where to put the
extra line. It look like this now:

/dev/VolGroup00/LogVol00 / ext3
defaults,user_xattr 1 1
LABEL=/boot /boot ext3
defaults 1 2
tmpfs /dev/shm tmpfs
defaults 0 0
devpts /dev/pts devpts
gid=5,mode=620 0 0
sysfs /sys sysfs
defaults 0 0
proc /proc proc
defaults 0 0
/dev/VolGroup00/LogVol01 swap swap
defaults 0 0

just put the user_xattr at the top

2. When I start the master I get:
$ ./start-master.sh hadoop
./start-master.sh: line 106: /home/erik/hypertable/hypertable/bin/
serverup: No such file or directory
./start-master.sh: line 121: /home/erik/hypertable/hypertable/bin/
serverup: No such file or directory
DfsBroker (hadoop) hasn't come up yet, trying again in 5 seconds ...
./start-master.sh: line 126: /home/erik/hypertable/hypertable/bin/
serverup: No such file or directory
Num CPUs=2
HdfsBroker.Port=38030
HdfsBroker.Reactors=2
HdfsBroker.Workers=20
HdfsBroker.Server.fs.default.name=hdfs://localhost:9000
Problem statring DfsBroker (hadoop)

Not sure if these 2 issues are related, but but.


I have a hadoop node up and running and i looks like this:

NameNode 'localhost:9000'
Started: Tue Apr 15 16:20:51 GMT-08:00 2008
Version: 0.16.2, r642481
Compiled: Sat Mar 29 01:59:04 UTC 2008 by hadoopqa
Upgrades: There are no upgrades in progress.

Browse the filesystem
Cluster Summary
34 files and directories, 4 blocks = 38 total. Heap Size is 11.56 MB /
963 MB (1%)
Capacity : 142.24 GB
DFS Remaining : 114.44 GB
DFS Used : 56 KB
DFS Used% : 0 %
Live Nodes : 1
Dead Nodes : 0


Regards Erik

Doug Judd

unread,
Apr 17, 2008, 1:26:33 PM4/17/08
to hyperta...@googlegroups.com
Hi Eric,

Your fstab file looks correct.  You also need to run the following command:

mount -o remount /

From the error message " ./start-master.sh: line 106: /home/erik/hypertable/hypertable/bin/serverup: No such file or directory"  it looks like the software has not been installed properly.  Try walking through the README file step-by-step and get the regression tests to pass.  After they are passing, the software should be installed properly and things should be working properly.  If you still have problems after that, let me know.

- Doug

Erik Holstad

unread,
Apr 21, 2008, 6:39:12 PM4/21/08
to hyperta...@googlegroups.com
Hey Doug!
And thanks for the answer, I tried to do everything according to the instructions, but
at first it didn't work and I got the same error message as before, but then I found a
.rpm of the liblog4cpp and installed it, then things started to work.

I tried the example_hql and that worked fine, but then I was looking to write some
small test program in C++, but I couldn't seem to locate the api and not really sure
how to set it up.

Regards Erik

Doug Judd

unread,
Apr 21, 2008, 6:43:22 PM4/21/08
to hyperta...@googlegroups.com
Hi Eric,

Look in the examples/apache_log directory.  It contains a working example with a README file that explains how to get it compiling in your environment.

- Doug

Erik Holstad

unread,
Apr 21, 2008, 8:30:15 PM4/21/08
to hyperta...@googlegroups.com
Thanks Doug!
I found the library and changed the variables in the Makefile into:

BOOST_INCLUDE_DIR=/usr/local/include/boost-1_35
BOOST_THREAD_LIB=boost_thread-mt
HYPERTABLE_INSTALL_DIR=/home/erik/hypertable/hypertable

Not sure about the second one, couldn't find it.

Then I used the make file.

But when typing:
[root@erik0 apache_log]#  ./../../bin/hypertable --batch < WebServerLog-create-table.hql

I get:
-bash: WebServerLog-create-table.hql: No such file or directory

Regards Erik
Reply all
Reply to author
Forward
0 new messages