Thursday, November 5, 2015

Common Errors in Pig

Common Errors in Pig

Error 1 . Getting error while using  %declare var=`echo $(echo "$inputDir"...`

ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Illegal group reference

Solution: If getting this error while using %declare in pig; Just make sure that there is no equal = sign between variable name and expression

Incorrect :  %declare var =`echo $(echo "$inputDir"...`
Correct : %declare var `echo $(echo "$inputDir"...`

No comments:

Post a Comment