How to get Pig Logical plan (Execution DAG) from Pig Latin script

TLDR; A Pig Logical plan is the Plan DAG that is used to execute the chain oj Jobs on Hadoop. Here is the code snippet for obtaining a Pig latin Logical Plan DAG frpm a Pig Script- https://github.com/yssharma/pig-on-drill/blob/b2d8a23c11d03974e16eb2ff44e021b1e957f03f/exec/java-exec/src/main/java/org/apache/drill/exec/pigparser/parser/PigLatinParser.java#L53 Yash SharmaYash Sharma is a Big Data & Machine Learning Engineer, A newbie OpenSource contributor, Plays guitar …

More

Querying MongoDB via Apache Pig

This crisp post in on querying MongoDB for HDFS Data Transfer, via Pig. Below are the steps involved for the same: 1. Install MongoDB on box a. Download MongoDB binaries b. Extract mongodb and export bin path to $PATH c. create db dir for mongodb d. start mongodb by the command : mongod –dbpath INFO: …

More