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: HAMA-619
...
Installation
You can compile Hama Pipes by executing the following commands:
No Format |
---|
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)
...
Function | Description |
| Opens a SequenceFile with option "r" or "w", key/value type and returns the corresponding fileID. |
| Reads the next key/value pair from the SequenceFile. |
| Appends the next key/value pair to the SequenceFile. |
| Closes a SequenceFile. |
C++ BSP example
Finally here is the Pi Estimator example implemented with Hama Pipes:
...