|
HowToInstall
See the README in the distribution for details
HOW TO BUILD1. Install CMake (http://www.cmake.org/) 2. Install the following libraries (you may already have them installed. See README for details):
RECOMMENDED (but not required):
3. Checkout the source code. mkdir -p <your_source_dir>
cd <your_source_dir>
git clone git://scm.hypertable.org/pub/repos/hypertable.git4. Create an install directory mkdir -p <your_install_dir> 5. Create a build directory mkdir -p <your_build_dir> 6. Configure the build. cd <your_build_dir>
cmake <your_source_dir>To edit the build options interactively:ccmake <your_source_dir> 7. Build the software. make (or make -j<number_of_cpu_or_cores_plus_1> for faster compile)
make installHOW TO RUN REGRESSION TESTS1. Make sure software is built and installed according to 'HOW TO BUILD' 2. Restart servers and re-create test tables
cd <your_install_dir>/<version> bin/kill-servers.sh bin/start-all-servers.sh local 4. Run the regression tests cd ~/build/hypertable make test HOW TO BUILD SOURCE CODE DOCUMENTATION TREE (Doxygen)1. Install the following libraries: 2. If you have doxygen installed on your system, then CMake should detect this and add a 'doc' target to the make file. Building the source code documentation tree is just a matter of running the following commands: cd ~/build/hypertable make doc The documentation tree will get generated under ~/build/hypertable/doc. To view the HTML docs, load the following file into a web browser: ~/build/hypertable/doc/html/index.html |
I followed "How to build" and installed hypertable in my computer,but when I followed HOW TO RUN REGRESSION TESTS , the program failed at step 3(executed the script of "start-all-servers.sh local") error info:
[: 136: ==: unexpected operator [: 136: ==: unexpected operator [: 136: ==: unexpected operatorThere is no file of serverup in the /hypertable/bin,
Where is serverup?
Looks like you didn't run it in the install directory after make install.
Make Hypertable was not a easy thing for me : )
My OS is Ubuntu 7.10(GNU/Linux 2.6.22-14-generic).
Make Process solution <10% --> compile boost(source dowloaded from www.boost.org) 57% --> Installed Boost related Package with Synaptic Package Manager
72% --> Installed zlib Package with Synaptic Package Manager 82% --> Installed readline Package with Synaptic Package Manager 100% --> My panic was released!Thanks for the note! Ubuntu 7.10 is actually one of the easy one :) You just need to type one line: sudo apt-get install libboost-thread-dev libboost-iostreams-dev libboost-program-options-dev libreadline5-dev and it'll get all the dependencies it needs.
We intend to make rpm/deb etc files available when hypertable is in beta, so people can simply do sudo yum install hypertable or sudo apt-get install hypertable.
Contributions to packaging for specific platforms are always appreciated.
As I was following the instructions above to build hypertable I encountered the following problem
~/hypertable/build$ make 0% Building CXX object src/cc/Common/CMakeFiles/HyperCommon?.dir/code_search_and_replace.o In file included from /home/nmotgi/hypertable/src/hypertable/src/cc/Common/code_search_and_replace.cc:40: /home/nmotgi/hypertable/src/hypertable/src/cc/Common/FileUtils?.h:34:24: error: attr/xattr.h: No such file or directory make2?: [src/cc/Common/CMakeFiles/HyperCommon?.dir/code_search_and_replace.o] Error 1 make1?: [src/cc/Common/CMakeFiles/HyperCommon?.dir/all] Error 2 make: all? Error 2
Package libattr1-dev needs to be installed on Ubuntu (Gutsy)
Note about building log4cpp-1.0: I found that I had to add "#include <memory>" in src/BasicLayout?.cpp before I could build the source. Error before this is "BasicLayout?.cpp:41: error: expected constructor, destructor, or type conversion before '<' token"
(Environment was Fedora 9; glibc 2.8; GNU make 3.81; autoconf 2.6.1)
If you do: bin/start-all-servers.sh local And get this: Successfully started DFSBroker (hadoop) Waiting for Hyperspace to come up ... Waiting for Hyperspace to come up ... Waiting for Hyperspace to come up ... ERROR: Hyperspace did not come up Error starting Hyperspace
Then you probably need to do something like this: echo '/opt/hypertable/0.9.0.7/lib' | sudo tee /etc/ld.so.conf.d/hypertable ldconfig
It is not mentioned on this page, but in the README they mention "shared library install", which if I understand it correctly is the case when you do everything the default way in e.g. Ubuntu.
Zlib development installation (yum install zlib-devel) on Fedora 8 got past an error in cmake.
On CentOS 5.1 yum does not install the ncurses dev libs by default. If you miss this step, make will throw errors complaining about readline dependencies.
i make the project ,but when i run the "start-all-servers.sh" ,it shows that :Waiting for Hypertable.Master to come up ...?
but "ps -ef" have the process , then log saids "1226797562 INFO Hypertable.RangeServer? : (/root/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/RangeServer?/ConnectionHandler?.cc:177) Event: type=DISCONNECT "COMM connect error" from=209.124.51.134:38050 "
how to fix it ?