How do in debug PIG ?

When I tried to run LOAD using PIGStorage, I got an error and on closer look, I noticed what I was missing and corrected it.
However when it is not an obvious error, where do I look for PIG errors? Where and How? Is there a grunt command for that? OR do I look on the localhost, or from terminal?

1 Answer(s)


hi Naveen,

"describe" and "illustrate" are two debugging functions that you can use to debug the relations in pig, for example

describe foreach_result


Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)