Also, your PATH shouldn't include $PIG_HOME but rather $PIG_HOME/bin (the pig command is found in the bin subdirectory of your Pig installation).
On Thu, May 23, 2013 at 4:02 PM, Brent Black <[email protected]>wrote: > Did you try it with a lower case p? It's just pig, not Pig.. > > > > -----Original Message----- > From: sumit piparsania [mailto:[email protected]] > Sent: Thursday, May 23, 2013 1:56 PM > To: [email protected] > Subject: how to run pig scripts > > Hi, > > I am new to PIG and HADOOP. I configured PIG following the standard apche > pig site. > However getting this error. > > "Pig is not recognized command." > > Have set the below paths > 1) HADOOP_INSTALL > 2) PIG_HOME > 3)JAVA_HOME > > Added all these Env variables to PATH. Pelase do let me know what is > missing. > > Thanks, > Sumit > -- Tom Wheeler http://www.tomwheeler.com/
