Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to disable part of the Action of Oozie in Hue

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report