Configure system users
Adjust the system user or group for each LiveData Migrator for Azure service to suit your environment.
#
Default users and groupsThe default system users and groups for each service on your Hadoop filesystem are as follows:
Service | Default system user | Default system group |
---|---|---|
livedata-migrator | hdfs | hdfs |
hivemigrator | hive | hadoop |
#
Run a service as a different user or groupFollow the steps depending on which service or services you want to change the user/group for.
#
LiveData MigratorAdjust the system user or group in the service configuration. Choose one of options below depending on your operating system.
Linux distributions with systemd
Create an override service file for thelivedata-migrator
service:livedata-migratorIn the text editor that opens automatically, override the
User
andGroup
variables with your preferred user and group:ExampleLinux distributions without systemd
Update the values forUSERNAME
andGROUPNAME
in the configuration file for thelivedata-migrator
service:livedata-migrator
Change ownership of the related directories to the new system user/group:
livedata-migratorOnce you've finished making changes, restart the
livedata-migrator
service:Linux distributions with systemd
livedata-migratorLinux distributions without systemd
livedata-migrator
#
Hive MigratorAdjust the system user or group in the service configuration. Choose one of options below depending on your operating system.
Linux distributions with systemd
Create an override service file:
hivemigratorIn the text editor that opens automatically, override the
User
andGroup
variables with your preferred user and group:ExampleLinux distributions without systemd
Update the values for
HIVE_MIGRATOR_SERVER_USER
andHIVE_MIGRATOR_SERVER_GROUP
in the configuration file for thehivemigrator
service:hivemigrator
Change ownership of the related directories to the new system user/group:
hivemigratorOnce you've finished making changes, restart the
hivemigrator
service:Linux distributions with systemd
hivemigratorLinux distributions without systemd
hivemigrator