Running the Pig demo 

Examples demonstrate how to use Pig to work with CQL tables.

Three examples demonstrate how to use Pig to work with CQL tables.

Start Pig 

Procedure

Note: DataStax Demos do not work with either LDAP or internal authorization (username/password) enabled.

  1. Start DataStax Enterprise as an analytics (Hadoop) node:
    • Installer-Services and Package installations:
      1. Set HADOOP_ENABLED=1 in /etc/default/dse.
      2. Start an analytics node:
        $ sudo service dse start
    • Installer-No Services and Tarball installations:
      $ DSE_install_location/bin/dse cassandra -t
  2. Start the Pig shell:
    • Installer-Services and Package installations: $ dse pig
    • Installer-No Services and Tarball installations: $ DSE_install_location/bin/dse pig

    The Pig grunt prompt appears, and you can now enter Pig commands.