Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to disable part of the Action of Oozie in Hue

Shulou Source: shulou.com Published: 2022-06-01 15:48:39 10月04日 Update

This article shows you how to disable part of the Action of Oozie in Hue. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Job scheduling is carried out through Oozie in Hue in CDH cluster, and Oozie also supports multiple scheduling Action. In order to prevent business users from using risky Action (for example, Shell Action can get information about OS by writing Shell commands), it is necessary to disable some risky Action in Hue. This article mainly introduces how to disable part of Action in Oozie in Hue.

Test environment

1.Redhat7.4

Version 5.16.2 for 2.CM and CDH

Disable Oozie Action

1. Log in to the Cloudera Manager console and enter the configuration interface of the Hue service

two。 Enter "hue*.ini" in the search bar and add the following configuration to the retrieved configuration item:

[notebook]

[[interpreters]]

[impala]

Name=Impala

Interface=hiveserver2

[text]

Name=Text

Interface=text

[markdown]

Name=Markdown

Interface=text

[solr]

Name = Solr SQL

Interface=solr

[java]

Name=Java

Interface=oozie

[spark2]

Name=Spark

Interface=oozie

[mapreduce]

Name=MapReduce

Interface=oozie

[sqoop1]

Name=Sqoop1

Interface=oozie

[distcp]

Name=Distcp

Interface=oozie

3. Restart the Hue service after saving the configuration

4. After completing the above operations, log in to Hue to verify that the Action of the Oozie is blocked.

Similarly, there is no corresponding Shell scripting entry in the Editor menu of Hue.

Summary

1. By reconfiguring the Notework module configuration of Hue above, we can keep the Shell Action we need and disable all other useless and risky Action.

All Shell Action and most of the functional modules (such as Files Browser, Indexs, etc.) are enabled by default in the 2.hue.ini configuration file. We can slim down Hue through the advanced configuration of Hue, leaving only the functional module configuration we need.

3. The profile masking feature takes effect on the users. Of course, you can also set permissions for the user's Group in the user management interface. This is a feature restriction for the user's group. The interface is as follows:

The above is how to disable part of the Action of Oozie in Hue. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Configuration user part function module interface risk content function module available through skills files articles knowledge services login scheduling concise advanced concise and to the point Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Apple Microsoft Huawei OPPO Reno