Download Permissions - Spectrum_Location_Intelligence_for_Big_Data - 5.2.1

Location Intelligence SDK for Big Data Guide

Product type
Software
Portfolio
Locate
Product family
Spectrum
Product
Spatial Big Data > Location Intelligence SDK for Big Data
Version
5.2.1
Language
English
Product name
Location Intelligence for Big Data
Title
Location Intelligence SDK for Big Data Guide
Copyright
2024
First publish date
2015
Last updated
2024-10-16
Published on
2024-10-16T13:55:01.634374

Setting the download permissions allows multiple services to download and update the downloaded data when required. You should have a common operating system group of which all the service users who need to download the data are part of. The group of the download directory should be the common operating system group, one that has Read, Write, and Execute (775) permissions for the owner and group.

Your group should contain services and users that will run jobs in your cluster. You may skip services you will not use or do not have installed.

You also should include all operating system users who will run jobs such as sdkuser and <myOtherUser>.

  1. Add the group.
    sudo groupadd dm_users
  2. Add users to the group.
    sudo usermod -a -G dm_users hive
    sudo usermod -a -G dm_users yarn
    sudo usermod -a -G dm_users zeppelin
    sudo usermod -a -G dm_users hue 
    sudo usermod -a -G dm_users sdkuser 
    sudo usermod -a -G dm_users <myOtherUser>
  3. Using a window where no job is running, restart all the services whose operating system users were added to the new group.
  4. Using a window where no job is running, restart the session of all the operating system users that were added to new group (for example, sdkuser).
  5. Update the group to the common operating system group and update permissions to 775 for the download directory specified in the pb.download.location property.
    sudo chgrp dm_users /precisely/downloads
    sudo chmod 775 /precisely/downloads