- Source Code Path: ~/git/hypertable
- Build Path: ~/build/hypertable
- Installation Path: ~/hypertable
- Install prerequisite library
$ apt-get install build-essential (if stdio.h not found)
$ apt-get install zlib1g-dev (if CMake Error: Could NOT find z library)
$ apt-get install libboost.*-dev libboost-doc libboost.*1.34.1 (install Boost version 1.34.1)
NOTE. 用apt-get安裝boost 1.34.1,在執行cmake編譯hypertable時,需要另外定義 -DBoost_INCLUDE_DIR="/usr/include/boost"
$ apt-get install liblog4cpp4 liblog4cpp4-dev liblog4cpp-doc (install log4cpp)
$ apt-get install expat libexpat1 libexpat1-dev (install expat)
$ apt-get install doxygen doxygen-doc doxygen-gui (install doxygen)
$ apt-get install graphviz graphviz-dev graphviz-doc (install graphviz)
$ apt-get install libgoogle-perftools0 libgoogle-perftools-dev (install tcmalloc)
$ apt-get install libreadline5 libreadline5-dev libreadline5-dbg (install readline library)
$ apt-get install libattr1 libattr1-dev (if #include <attr/xattr.h> not found)
$ apt-get install cmake (install cmake)
- Configure the build
sunny@hsihdp:~/build/hypertable$ cmake -DCMAKE_INSTALL_PREFIX= -DCMAKE_BUILD_TYPE="Debug" -DBoost_INCLUDE_DIR="/usr/include/boost" ~/git/hypertable
-- Looking for required boost libraries...
-- Boost include dir: /usr/include/boost
-- Boost thread lib: /usr/lib/libboost_thread-mt.so
-- Boost program options lib: /usr/lib/libboost_program_options-mt.so
-- Boost lib dir: /usr/lib
-- Boost version: 1_34_1
-- Looking for doxygen...
-- Looking for doxygen... - found /usr/bin/doxygen
-- Looking for dot tool...
-- Looking for dot tool... - found /usr/bin/dot
-- Found Tcmalloc: /usr/lib/libtcmalloc_minimal.so
-- Found Tcmalloc: /usr/lib/libtcmalloc_minimal.so
-- Got boost 1.34.x, prepend fix directory
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sunny/build/hypertable
- Build the software (make)
sunny@hsihdp:~/build/hypertable$ make
[ 6%] Built target HyperComm
[ 10%] Built target HyperCommon
[ 11%] Built target commTest
[ 12%] Built target commTestDatagram
[ 12%] Built target commTestReverseRequest
[ 13%] Built target commTestTimeout
[ 13%] Built target commTestTimer
[ 13%] Built target sampleClient
[ 14%] Built target testServer
[ 14%] Built target htConvert
[ 17%] Built target Hyperspace
[ 33%] Built target Hypertable
[ 42%] Built target HyperDfsBroker
[ 50%] Built target Hyperspace.Master
[ 56%] Built target Hypertable.Master
[ 57%] Built target htgc
[ 73%] Built target Hypertable.RangeServer
[ 76%] Built target count_stored
[ 79%] Built target csdump
[ 79%] Built target bmz-test
[ 79%] Built target bmzip
[ 80%] Built target compressor_test
[ 80%] Built target generate_test_data
[ 80%] Built target loadDataSourceTest
[ 81%] Built target locationCacheTest
[ 81%] Built target schemaTest
[ 85%] Built target dfsTest
[ 88%] Built target dfsclient
[ 94%] Built target hyperspace
[ 94%] Built target hyperspaceTest
[ 95%] Built target hypertable
[ 95%] Built target hypertable_test
[ 96%] Built target dumplog
[ 96%] Built target merge_diff
[ 97%] Built target rsTest
[ 98%] Built target rsclient
[ 99%] Built target rsdump
[ 99%] Built target serverup
[100%] Built target localBroker
- Build the software (make install)
sunny@hsihdp:~/build/hypertable$ make install DESTDIR="~/hypertable"
[ 6%] Built target HyperComm
[ 10%] Built target HyperCommon
[ 11%] Built target commTest
[ 12%] Built target commTestDatagram
[ 12%] Built target commTestReverseRequest
[ 13%] Built target commTestTimeout
[ 13%] Built target commTestTimer
[ 13%] Built target sampleClient
[ 14%] Built target testServer
[ 14%] Built target htConvert
[ 17%] Built target Hyperspace
[ 33%] Built target Hypertable
[ 42%] Built target HyperDfsBroker
[ 50%] Built target Hyperspace.Master
[ 56%] Built target Hypertable.Master
[ 57%] Built target htgc
[ 73%] Built target Hypertable.RangeServer
[ 76%] Built target count_stored
[ 79%] Built target csdump
[ 79%] Built target bmz-test
[ 79%] Built target bmzip
[ 80%] Built target compressor_test
[ 80%] Built target generate_test_data
[ 80%] Built target loadDataSourceTest
[ 81%] Built target locationCacheTest
[ 81%] Built target schemaTest
[ 85%] Built target dfsTest
[ 88%] Built target dfsclient
[ 94%] Built target hyperspace
[ 94%] Built target hyperspaceTest
[ 95%] Built target hypertable
[ 95%] Built target hypertable_test
[ 96%] Built target dumplog
[ 96%] Built target merge_diff
[ 97%] Built target rsTest
[ 98%] Built target rsclient
[ 99%] Built target rsdump
[ 99%] Built target serverup
[100%] Built target localBroker
Linking CXX executable CMakeFiles/CMakeRelink.dir/Hyperspace.Master
Linking CXX executable CMakeFiles/CMakeRelink.dir/Hypertable.Master
Linking CXX executable CMakeFiles/CMakeRelink.dir/htgc
Linking CXX executable CMakeFiles/CMakeRelink.dir/Hypertable.RangeServer
Linking CXX executable CMakeFiles/CMakeRelink.dir/count_stored
Linking CXX executable CMakeFiles/CMakeRelink.dir/csdump
Linking CXX executable CMakeFiles/CMakeRelink.dir/generate_test_data
Linking CXX executable CMakeFiles/CMakeRelink.dir/dfsclient
Linking CXX executable CMakeFiles/CMakeRelink.dir/hyperspace
Linking CXX executable CMakeFiles/CMakeRelink.dir/hypertable
Linking CXX executable CMakeFiles/CMakeRelink.dir/dumplog
Linking CXX executable CMakeFiles/CMakeRelink.dir/merge_diff
Linking CXX executable CMakeFiles/CMakeRelink.dir/rsclient
Linking CXX executable CMakeFiles/CMakeRelink.dir/rsdump
Linking CXX executable CMakeFiles/CMakeRelink.dir/serverup
Linking CXX executable CMakeFiles/CMakeRelink.dir/localBroker
Install the project...
-- Install configuration: "Debug"
-- Installing /home/sunny/hypertable/0.9.0.5/demo/metadata-test.xml
-- Installing /home/sunny/hypertable/0.9.0.5/demo/testdata.txt.bz2
-- Installing /home/sunny/hypertable/0.9.0.5/demo/Test.xml
-- Installing /home/sunny/hypertable/0.9.0.5/demo/Test-schema.xml
-- Installing /home/sunny/hypertable/0.9.0.5/conf/hypertable.cfg
-- Installing /home/sunny/hypertable/0.9.0.5/conf/METADATA.xml
-- Installing /home/sunny/hypertable/0.9.0.5/java/lib/commons-logging-1.0.4.jar
-- Installing /home/sunny/hypertable/0.9.0.5/java/lib/hadoop-0.14.4-core.jar
-- Installing /home/sunny/hypertable/0.9.0.5/java/lib/junit-4.3.1.jar
-- Installing /home/sunny/hypertable/0.9.0.5/java/lib/log4j-1.2.13.jar
-- Installing /home/sunny/hypertable/0.9.0.5/java/lib/hypertable-0.9.0.jar
-- Installing /home/sunny/hypertable/0.9.0.5/bin/jrun
-- Installing /home/sunny/hypertable/0.9.0.5/bin/start-all-servers.sh
-- Installing /home/sunny/hypertable/0.9.0.5/bin/start-master.sh
-- Installing /home/sunny/hypertable/0.9.0.5/bin/start-range-server.sh
-- Installing /home/sunny/hypertable/0.9.0.5/bin/kill-servers.sh
-- Installing /home/sunny/hypertable/0.9.0.5/bin/slaves.sh
-- Installing /home/sunny/hypertable/0.9.0.5/test/create-test-tables.hql
-- Installing /home/sunny/hypertable/0.9.0.5/examples/apache_log
-- Installing /home/sunny/hypertable/0.9.0.5/examples/apache_log/apache_log_query.cc
-- Installing /home/sunny/hypertable/0.9.0.5/examples/apache_log/README.txt
-- Installing /home/sunny/hypertable/0.9.0.5/examples/apache_log/apache_log_load.cc
-- Installing /home/sunny/hypertable/0.9.0.5/examples/apache_log/access.log.gz
-- Installing /home/sunny/hypertable/0.9.0.5/examples/apache_log/WebServerLog-create-table.hql
-- Installing /home/sunny/hypertable/0.9.0.5/examples/apache_log/Makefile
-- Installing /home/sunny/hypertable/0.9.0.5/examples/hql_tutorial
-- Installing /home/sunny/hypertable/0.9.0.5/examples/hql_tutorial/Pages-create.hql
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/ReactorRunner.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/IOHandlerData.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/ConnectionManager.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/ApplicationHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/CommBuf.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/DispatchHandlerSynchronizer.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/DispatchHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/ApplicationQueue.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/Reactor.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/Header.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/HandlerMap.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/IOHandlerAccept.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/IOHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/Protocol.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/Serialization.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/Timer.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/PollTimeout.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/ResponseCallback.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/ReactorFactory.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/Comm.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/IOHandlerDatagram.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/HeaderBuilder.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/RequestCache.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/Event.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/AsyncComm/ConnectionHandlerFactory.h
-- Installing /home/sunny/hypertable/0.9.0.5/lib/libHyperComm.a
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/SockAddrMap.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/ReferenceCount.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/FileUtils.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Exception.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Logger.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/CharStrHashMap.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/CharStrHashTraits.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/ByteString.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/InteractiveCommand.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/InetAddr.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/ServerLauncher.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/System.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/NumberStream.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Init.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/atomic.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/CharArena.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/DynamicBuffer.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/StringExt.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Thread.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/HashMap.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Checksum.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/ByteOrder.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Properties.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Runnable.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Error.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/TestHarness.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Sweetener.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/md5.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Common/Usage.h
-- Installing /home/sunny/hypertable/0.9.0.5/lib/libHyperCommon.a
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ClientConnectionHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerAttrDel.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/SessionData.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/Session.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerExists.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerRelease.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ResponseCallbackOpen.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerReaddir.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ResponseCallbackLock.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerLock.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerDelete.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/DirEntry.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerMkdir.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerAttrGet.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/HandleData.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerAttrSet.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ClientKeepaliveHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ServerKeepaliveHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ServerConnectionHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerOpen.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerStatus.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/Protocol.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/NodeData.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/Master.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ResponseCallbackAttrGet.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ClientHandleState.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/LockSequencer.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ResponseCallbackExists.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/Notification.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/HandleCallback.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/ResponseCallbackReaddir.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/RequestHandlerClose.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hyperspace/Event.h
-- Installing /home/sunny/hypertable/0.9.0.5/bin/Hyperspace.Master
-- Installing /home/sunny/hypertable/0.9.0.5/lib/libHyperspace.a
-- Installing /home/sunny/hypertable/0.9.0.5/bin/Hypertable.Master
-- Installing /home/sunny/hypertable/0.9.0.5/bin/htgc
-- Installing /home/sunny/hypertable/0.9.0.5/bin/Hypertable.RangeServer
-- Installing /home/sunny/hypertable/0.9.0.5/bin/csdump
-- Installing /home/sunny/hypertable/0.9.0.5/bin/count_stored
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Client.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionHeader.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/HqlCommandInterpreter.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/CommandShell.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/TableMutator.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/RangeLocator.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionCodecBmz.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/CommitLogReader.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/ApacheLogParser.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/TestData.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/KeySpec.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/CommandInterpreter.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/TableScanner.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/TableMutatorDispatchHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionCodecLzo.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/CompressorFactory.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionHeaderCommitLog.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Defaults.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionCodecNone.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/LoadDataSource.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Cell.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Filesystem.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/LocationCache.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Key.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/RangeServerProtocol.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/TestSource.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/HqlParser.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/MasterFileHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionCodecQuicklz.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/RangeLocationInfo.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionCodecZlib.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/ScanBlock.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Schema.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/TableMutatorScatterBuffer.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/RangeServerClient.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/MasterProtocol.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/HqlHelpText.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/CommitLog.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/MasterClient.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Types.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/DataSource.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/BlockCompressionCodec.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/fletcher16.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/RootFileHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/Table.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/Hypertable/Lib/EventHandlerMasterChange.h
-- Installing /home/sunny/hypertable/0.9.0.5/bin/generate_test_data
-- Installing /home/sunny/hypertable/0.9.0.5/lib/libHypertable.a
-- Installing /home/sunny/hypertable/0.9.0.5/bin/dfsclient
-- Installing /home/sunny/hypertable/0.9.0.5/bin/hyperspace
-- Installing /home/sunny/hypertable/0.9.0.5/bin/hypertable
-- Installing /home/sunny/hypertable/0.9.0.5/bin/dumplog
-- Installing /home/sunny/hypertable/0.9.0.5/bin/merge_diff
-- Installing /home/sunny/hypertable/0.9.0.5/bin/rsclient
-- Installing /home/sunny/hypertable/0.9.0.5/bin/rsdump
-- Installing /home/sunny/hypertable/0.9.0.5/bin/serverup
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/Client.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerPread.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/Broker.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ResponseCallbackOpen.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerReaddir.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerFlush.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/OpenFileMap.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerOpen.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerMkdirs.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerStatus.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerLength.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ResponseCallbackRead.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/Protocol.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerRemove.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerAppend.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ResponseCallbackAppend.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerSeek.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ResponseCallbackLength.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerCreate.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerRead.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ClientBufferedReaderHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerRmdir.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ResponseCallbackReaddir.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/RequestHandlerClose.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ConnectionHandler.h
-- Installing /home/sunny/hypertable/0.9.0.5/include/DfsBroker/Lib/ConnectionHandlerFactory.h
-- Installing /home/sunny/hypertable/0.9.0.5/lib/libHyperDfsBroker.a
-- Installing /home/sunny/hypertable/0.9.0.5/bin/localBroker
- RUN REGRESSION TESTS
- Enable the extended attributes on the partition that holds the installation
- NOTE. mac os, hadoop(HDFS), kosmos(KFS) 不需要再修改 extended attributes
$ sudo vim /etc/fstab
/dev/sda1 ext3 defaults,errors=remount-ro 0 1 => /dev/sda1 ext3 defaults,user_xattr,errors=remount-ro 0 1
$ sudo mount -o remount /home
- Restart servers and re-create test tables
- Run the regression tests
sunny@hsihdp:~/build/hypertable$ make test
Running tests...
Start processing tests
Test project /home/sunny/build/hypertable
1/ 17 Testing HyperComm Passed
2/ 17 Testing HyperComm-datagram Passed
3/ 17 Testing HyperComm-timeout Passed
4/ 17 Testing HyperComm-timer Passed
5/ 17 Testing HyperComm-reverse-request Passed
6/ 17 Testing Schema Passed
7/ 17 Testing LocationCache Passed
8/ 17 Testing LoadDataSource Passed
9/ 17 Testing BlockCompressor-BMZ Passed
10/ 17 Testing BlockCompressor-LZO Passed
11/ 17 Testing BlockCompressor-NONE Passed
12/ 17 Testing BlockCompressor-QUICKLZ Passed
13/ 17 Testing BlockCompressor-ZLIB Passed
14/ 17 Testing HyperDfsBroker Passed
15/ 17 Testing Hyperspace Passed
16/ 17 Testing hypertable Passed
17/ 17 Testing RangeServer Passed
100% tests passed, 0 tests failed out of 17