Created 03-30-2017 07:54 AM
Created 03-30-2017 10:41 AM
Hi Saravanan, yes you can run Pig in local mode without hadoop, it will use the local file system and a single VM.
Created 03-30-2017 11:18 AM
My questions is that if i need to run Pig in mapreduce mode, should i start namenode, datanode, secondary namenode, jobtracker and tasktracker?
Created 03-30-2017 12:04 PM
@saravanan Selvam If your cluster is running in pesudomode (Single node cluster) then there is no need to start hadoop. But if the cluster has multi nodes then you do need to start hadoop only then you will be able to access data through pig.So its also based on the cluster this can be decided. In general Local mode doesn'e need hadoop where as mapreduce mode you should start Hadoop service to run pig scripts in mr mode.