views:

105

answers:

2

I'm a PHP developer. Let's just get that out of the way now. But Hadoop – and Mahout in particular – have piqued my interest. I'm ready to take the dive into Java in order to use them.

So from people experience enough to know, just how much Java will I need to be able to use these effectively? From what I've seen, programming mappers/reducers doesn't take all that much. But with Mahout I'm not at all sure what I'm looking at when I look at the documentation.

Also, just how hard will it be to take data from my PHP application for processing in Java via Hadoop and Mahout? I can't imagine it'd be that difficult, but I'm not experienced enough to say.

+3  A: 

It shouldn't be all that difficult to get data from PHP to Java for analysis using Mahout and Hadoop.

Even easier is to process using Mahout and Hadoop off-line in a batch mode and to store the data products in a file system or database. PHP can then read these data products as easy as falling off a log.

For real-time use, the recommendations part of Mahout supports a variety of web-service interfaces that make it pretty easy to access from PHP. Hitting the model evaluation part of Mahout would require a bit more programming.

Ted Dunning
Ted, do you mind pointing me to the point in the documentation where these web-service interfaces are mentioned? I'm not sure I've come across this so far myself.In the meantime, thanks for your answer!
Josh Smith
Nevermind. I think I found it under the Taste documentation. For a noob like myself, though, would you mind expanding slightly on how PHP might be integrated to work with Mahout in a real-time application? I'd deeply appreciate it.
Josh Smith
Sorry to be slow answering... but PHP is easy to integrate via web-services calls from PHP to Mahout's Taste components. Another alternative would be to use Quercus to run PHP from a Java environment and call Apache Mahout components directly.
Ted Dunning
A: 

Beginner level of Java is sufficient. You can always dug deep on adhoc need basis.

Harsha Hulageri