Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.
The "HamaPipes" page has been changed by edwardyoon: http://wiki.apache.org/hama/HamaPipes?action=diff&rev1=5&rev2=6 '''Hama Pipes''' is equivalent to '''Hadoop Pipes''' and offers the possibility to use Hama with C/C++. - The current status of Hama Pipes is experimental and can be found here: [[https://issues.apache.org/jira/browse/HAMA-619|HAMA-619]] + == Installation == - Hama Pipes will be part of Hama 0.6.0. + You can compile Hama Pipes by executing the following commands: + + {{{ + cd $HAMA_HOME/c++/utils + ./configure + make install + + cd $HAMA_HOME/c++/pipes + ./configure + make install + }}} + + == Interface == Hama Pipes provides the following methods for C/C++ integration: (similar to the [[BSPModel|BSPModel]]) @@ -31, +43 @@ ||`bool sequenceFileReadNext(int fileID, string& key, string& value)`||Reads the next key/value pair from the SequenceFile.|| ||`bool sequenceFileAppend(int fileID, const string& key, const string& value)`||Appends the next key/value pair to the SequenceFile.|| ||`bool sequenceFileClose(int fileID)`||Closes a SequenceFile.|| + + == C++ BSP example == Finally here is the [[PiEstimator|Pi Estimator]] example implemented with Hama Pipes:
