当前位置: 动力学知识库 > 问答 > 编程问答 >

java - How to Run a Hadoop Program Over Network

问题描述:

It's the first time I'm trying to work with Hadoop. I'm just trying to work with some example code.

http://www.drdobbs.com/database/hadoop-writing-and-running-your-first-pr/240153197?pgno=2

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:

  • in your local VM (standalone operation)
  • in a single-node cluster
  • in a multi-node cluster

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?

分享给朋友:
您可能感兴趣的文章:
随机阅读: