2

I have the hadoop cluster. Now i want to install the pig and hive on another machines as a client. The client machine will not be a part of that cluster so is it possible? if possible then how i connect that client machine with cluster?

Abhishek Vaidya
  • 102
  • 2
  • 10

1 Answers1

1

First of all, If you have Hadoop cluster then you must have Master node(Namenode) + Slave node(DataNode)

The one another thing is Client node. The working of Hadoop cluster is: Hadoop Cluster

Here Namenode and Datanode forms Hadoop Cluster, Client submits job to Namenode.

To achieve this, Client should have same copy of Hadoop Distribution and configuration which is present at Namenode. Then Only Client will come to know on which node Job tracker is running, and IP of Namenode to access HDFS data.

Go to Link1 Link2 for client configuration.

According to your question

After complete Hadoop cluster configuration(Master+slave+client). You need to do following steps :

  1. Install Hive and Pig on Master Node
  2. Install Hive and Pig on Client Node
  3. Now Start Coding pig/hive on client node.

Feel free to comment if doubt....!!!!!!

Community
  • 1
  • 1
Ankur Singh
  • 926
  • 2
  • 9
  • 19