History Command in Apache Pig

This article will show you how to list the history of commands that have been run before in Apache Pig’s grunt.

Use the below command in the Grunt to get the history.
grunt> history


Note: Only the commands that have been executed since Grunt’s shell has been invoked will be shown. The standard HDFS commands and DUMP statements will not be shown. The history will not be displayed after you quit and reopen the shell.

Hope you find it helpful.

Please join our mailing list to receive more interesting information.

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s