To enable logging for Spark SQL connector (initiator or target) users, the users must belong to the 'hadoop' group. In the case of a Kerberized Hadoop cluster, the same requirement applies to users corresponding to Kerberos principals.
This task is only required if you want to enable logging.
- Run the modify user command in Linux. The following example adds user1 to the Hadoop group. cmdall usermod -g hadoop user1