Generate intermediate and output tuples for analytics.

Change-Id: Ibb828f5580053ea327bc79dfb8ab62ba459bde61
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4105
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4122