Using Pig

The external Hadoop system includes an Apache Pig Client that you enable through BYOH.

The external Hadoop system includes an Apache Pig Client that you enable through BYOH. Pig is a high-level programming environment for MapReduce coding. Using Pig under BYOH is straight-forward. You start the Pig client through BYOH. On the grunt command line, access Pig using the same data access commands, CQL pushdown filter, and URL-encoded prepared statements as used by DataStax Enterprise integrated Hadoop. Store Pig relations to Cassandra in the same manner also.

Generally, Pig examples work as shown in the documentation of DataStax Enterprise integrated Hadoop. For example, to run the Pig library demo, the only change to the steps is how you start Pig. To start Pig, use the byoh preface. On Linux, for example:

$ bin/byoh pig
grunt>