How one can disable a Pig command and operator?

Posted On: Jan 07, 2021

 

An admin feature provides the ability to blacklist or/and whitelist certain commands and operations that could be not very safe in a multitenant environment.

Blacklisting assigns "pig.blacklist" to a comma-delimited set of operators and commands. For instance, pig.blacklist=rm,killcross would disable users from executing any of "rm", "kill" commands and "cross" operator.

Whitelist disables all commands and operators that are not a safer part of the whitelist environment. For instance, pig.whitelist=load,filter,store will disallow every command and operator other than "load", "filter" and "store".

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Apache Pig Interview Questions

    Explain what is Apache Pig?

    Apache Pig is a platform for creating programs that run on Apache Hadoop. It uses the Pig Latin language. It also executes its Hadoop jobs in MapReduce, Apache Tez, or Apache Spark....

    Apache Pig Interview Questions

    What is difference between Apache Pig and Hadoop?

    The difference between Apache Pig and Hadoop are as follows: Topics Apache Pig HadoopData Processing It is used to analyze large sets of data representing them as data flows. A...

    Apache Pig Interview Questions

    What is BloomMapFile in Apache Pig?

    BloomMapFile in Apache Pig is a class that is used to provide a quick membership test for the keys using dynamic bloom filters. It extends the MapFile class....