While executing PIG statement from GRUNT:
grunt> cnt = foreach grpd generate group, count(words) as nos;
Failed to generate logical plan. Nested exception: org.apache.pig.backend.executionengine.ExecException. Its giving me the above error. Can anyone tell how to resolve this?