any way to get Java source after conversion from Pig script ?

since Pig is converting into Java eventually, is there any way to get Java source after conversion from Pig source ?

2 Answer(s)


Hi Igor,

Pig program is interpreted by a Pig Interpreter which simply converts the pig latin script into map reduce jobs and then pass control to hadoop for execution of these map reduce jobs.
The whole processing is internal to pig framework and is not available for end-user to view.
However, if you want to see the pig script to map-reduce conversion plan, EXPLAIN and ILLUSTRATE can help better. Use them after defining the command eg.
v1 =

If you want to get deep insights, this paper would help:

Hope this helps.
Happy Learning @ Dezyre


The students are getting informational essay writing services and quality assignments creation online from many sources. is one of the best places for all students like you for essay writing.

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)