Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Cloudera Employee

Affected versions:

SmartSense 1.2.x, 1.3.x with Ambari lower than 2.4.1

Symptoms:

Users / Groups are pre-created before setting up the cluster.

As such, ignore_groupsusers_create needs to be set to true so groups are not modified when services are added.

This works fine for all components except smartsense which fails with error performing usermod :

resource_management.core.exceptions.Fail:
Execution of 'usermod -G -adp-hdfs -g adp-hadoop adp-xxxx' returned 6.  usermod: group 'adp-hdfs' does not exist

This group does NOT exist.

Note, within the stdout you do actually see the following message:

Skipping creation of User and
Group as host is sys prepped or ignore_groupusers_create flag is on

Reason:

The “ignore_groupsusers_create” configurations was not considered while adding / installing SmartSense service.

Solution:

New fix is available in Ambari 2.4.2.6-5 or higher. Upgrade is the cleanest solution in this case.

306 Views
0 Kudos
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
2 of 2
Last update:
‎02-19-2020 07:53 AM
Updated by:
 
Contributors
Top Kudoed Authors