I am trying to check the version of PIG installed on my haup. How can we see the version of the pig installed on Hadoop? Is there any command to see this?
Use pig --version to install the pig version
pig --version
The result will be something like this:
Apache Pig version 0.12.0-cdh5.1.3 (rexported) compiled Sep 16 2014, 20:39:45
You can make pig -version either pig --version or pig -i from PIG-13 .
pig -version
pig -i