It's the first time I'm trying to work with Hadoop. I'm just trying to work with some example code.
I have understood the example but i wanna know if this is possible:
I don't have hadoop installed in my computer (it's installed in another computer in my network). I wanna run the jar in my PC but hadoop jobs that my program creates should run on that computer's cluster. Can hadoop be configured like this?
You can play with Hadoop in three modes:
So, you can run your Hadoop jar on your local machine, but you need to have the Hadoop installation there. Please read this documentation how to configure it.
BTW, the title of your question says "Over Network" and the body says "on my PC". What do you really need?