Skip to main content

Create a Hive task

To create a task in Hive, go to Hadoop > Hive >Tasks. This will display the Task Definition screen. To create a new task, click the Add New Task Definition tab. The following screenshot shows the user interface for creating a task.

  1. Enter a meaningful task name in the Task Name field and a description in the Task Description field. The task name must be unique to the task. It can be up to 256 characters and consist of letters, numbers, and certain symbols (! @ # $ _), without any spaces. The definition can be if the task name and contain any combination of numbers, letters, and symbols.

  2. Choose a Task Type. There are three types of tasks i.e., Detection, Protection and Metadata Discovery.

    1. Detection

    2. Protection

    3. Metadata Discovery

  3. The Select Policy panel display the list of all available policies. You can select one or more policies with the task. To know more, refer to section Policy. To select a policy, check the checkbox available with the policy name.


  4. The Pre-defined and Custom Sensitive Types display the list of available Sensitive Types. To select one or more sensitive types, check the checkbox(s) available with the sensitive type name(s).
    If you select Protection as the Task Type, Protection Option and Consistent fields are also available. Select the required Protection Option for the selected sensitive types. For details about all the masking options available refer to Masking Options.

  5. Select the DBs, tables, and columns as you deem fit according to the task type.

    *Note: You can select only one database at a time for scanning.


    *Note: Pagination is not supported in the Select DB and Select Table panel. Hence, only 500 records will get displayed under these panels. In case you want to view other DBs or tables, specify any keyword for that DB or table followed by an asterisk(*) sign in the Search box as depicted in the screenshot below.

    1. For Detection:

      1. Click on the database name in the Select DB panel to view and select the tables associated with that specific database in the Select Table panel. If you want to scan the entire database during detection, check the checkbox against the desired database. It will automatically select all the tables associated with it.

      2. Click on the table name in the Select Table panel to view and select the columns associated with that table in the Select Excluded Columns panel. If you want to scan the entire table during detection, check the checkbox against the Table Name. It will automatically select all the columns associated with it.

      3. To select the column(s), check the checkbox(es) for the respective column name(s) in the Select Excluded Columns panel and click the Add Columns button as depicted in the screenshot below.


        This will add the selected columns in the Selected DBs/Tables/Columns panel for scanning. On selecting the entire DB/Table, the data gets populated as depicted in the screenshot below:


        On selecting the entire DB/Table, the data gets populated as depicted in the screenshot below:


        To delete the selected column from the panel, click the Trash icon in the Actions column.

    2. For Protection:

      1. Click on the database name in the Select DB panel to view the tables associated with that specific database in the Select Table panel.

      2. Click on the table name in the Select Table panel to view the columns associated with that table in the Select Columns panel.

      3. Select the sensitive type from the Sensitive Type column drop-down for each column name that needs to be masked.

      4. On selecting the columns for masking, the data gets displayed in the Select DBs/Tables/Columns panel.


        To delete the selected column from the panel, click the Trash icon in the Actions column. 

      5. On selecting the columns for masking, the data will be displayed in Selected Columns panel.

        To delete the selected column from the panel, click the Trash icon in the Actions column.

    3. For Metadata Discovery:

      1. Select the database and tables from the Select DB/Table. Check the checkbox for each table name that need to be selected for scanning. 

      2. If you want to scan the entire database or table during metadata discovery, check the checkbox against the Database Name or Table Name. On making the desired selection, data gets displayed in the Selected DBs/Tables panel.


        To delete the selected column from the panel, click the Trash icon in the Actions column.

  6. Click Save button to save the task. To execute the task instantly after saving, click Save and Execute button. Click Save As button, if you want to save the task with the same configuration but with different name.

    To edit an existing task. Select the task from the Task Definition panel. Click Pen icon in the Actions column.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.