Hadoop management tool Hue configuration-integrated UNIX users and user groups

Source: Internet
Author: User

After the installation of Hue is complete, the user who first logs on is the super user of Hue, can manage users, and so on. But the process of using it found a problem this user cannot manage the data created by supergroup in HDFs.

Although users created in Hue can manage the data/user/xxx under their own folders. So what about Hadoop Superuser's data management, Hue provides a feature that integrates UNIX users and hue, so that users of Hadoop Superuser can manage data smoothly by logging into hue.

The next few steps to integrate

1 Ensure that the Hadoop user group is in the system

2 Run the following command

Uild/env/bin/hue Useradmin_sync_with_unix

3 run the above command, enter the hue of the total you will find that the user has been integrated, but, no password, so the UNIX users need to set a password and assign user groups.

4 after completing the above steps, log in, and you will be able to manage the HDFs data happily.

5 Useradmin_sync_with_unix provides a number of parameters. From official documents

    • –min-uid–the Minimum Linux user ID that would be imported (inclusive). The default value is 500.
    • –max-uid–the Maximum Linux user ID that would be imported (exclusive). The default value is 65334.
    • –min-gid–the Minimum Linux group ID that would be imported (inclusive). The default value is 500.
    • –max-gid–the Maximum Linux group ID that would be imported (exclusive). The default value is 65334.
    • –check-shell–a Boolean flag to see if the users shell is set To/bin/false.

6 Ensure that the Hadoop user group exists

grep Hadoop

----------------------------------

Reference

http://gethue.com/hadoop-tutorial-how-to-integrate-unix-users-and-groups/

Hadoop management tool Hue configuration-integrated UNIX users and user groups

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.