9.1. Define Users and Groups

The following table describes system user account and groups. Use this table to define what you are going to use in setting up your environment. These users and groups should reflect the accounts you created in Create System Users and Groups.

[Note]Note

The scripts.zip file you downloaded in Download Companion Files includes a script, usersAndGroups.sh for setting user and group environment parameters. We strongly suggest you edit and source (alternatively, you can also copy the contents to your ~/.bash_profile) to set up these environment variables in your environment.

 

Table 1.2. Define Users and Groups for Systems

Parameter

Definition

HDFS_USER

User owning the HDFS services. For example, hdfs.

MAPRED_USER

User owning the MapReduce services. For example, mapred.

ZOOKEEPER_USER

User owning the ZooKeeper services. For example, zookeeper.

HIVE_USER

User owning the Hive services. For example, hive.

WEBHCAT_USER

User owning the WebHCat services. For example, hcat.

HBASE_USER

User owning the HBase services. For example, hbase.

OOZIE_USER

User owning the Oozie services. For example, oozie.

PIG_USER

User owning the Pig services. For example, pig.

HADOOP_GROUP

A common group shared by services. For example, hadoop.



loading table of contents...