To set up basic Kerberos for views, see "Set Up Kerberos for Ambari Server" in the
Ambari Security Guide. After
you have set up basic Kerberos for the Pig View, Pig requires that
WebHDFS Authentication be set to
auth=KERBEROS;proxyuser=<ambari-user-principal>
For example, see the following figure: