There are two ways to configure group mapping:
Mapping Authenticated Users to Groups
Hadoop Group Lookup Identity Assertion Provider