Disco + NetBeans IDE

by Amit


Disco is a Open-Source implementation of the Map-Reduce framework, written in Erlang. Where as the framework is written in Erlang, Python is used to write the jobs (See glossary) for the framework. That is the link between NetBeans and Disco- Python. Agreed, there is another link, (http://wiki.netbeans.org/Erlang), but I will take the first.

After you have got your setup ready,  (which is pretty damn simple), fire up NetBeans IDE with the Python bits installed:

  • Create a New Python Project, say PyDisco. Name the main file as ‘wc-py.py‘ 
  • Right-Click on the project > Properties > Sources, and add the pydisco, directory which you can find in the Disco tarball (‘pydisco’ is the Python package in which the Python API for Disco is defined)

In the output window, you should see this message:

Starting Disco job..
Go to http://localhost:7000 to see status of the job.

When you open the browser, you will see something like this:

Of course, this was just a way to show you how you can use NetBeans IDE for your development using Disco.

Advertisement