In general Hadoop services should be owned by specific users and not by root or application users. The table below shows the typical users for Hadoop services. If you choose to install the HDP components using the RPMs, these users will automatically be set up.
If you do not install with the RPMs, or want different users, then you must identify the users that you want for your Hadoop services and the common Hadoop group and create these accounts on your system.
Table 1.4. Typical System Users and Groups
Hadoop Service | User | Group |
---|---|---|
HDFS |
hdfs |
hadoop |
YARN |
yarn |
hadoop |
MapReduce | mapred | hadoop |
Hive |
hive |
hadoop |
Pig |
pig |
hadoop |
HCatalog/WebHCatalog |
hcat |
hadoop |
HBase |
hbase |
hadoop |
ZooKeeper |
zookeeper |
hadoop |
Oozie |
oozie |
hadoop |