Skip to content

Commit

Permalink
Update dataproc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
aboitreaud committed Jan 23, 2025
1 parent 5e4d472 commit 4d2bf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fleet/installer/setup/djm/dataproc.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func SetupDataproc(s *common.Setup) error {
var sparkIntegration common.IntegrationConfig
if os.Getenv("DD_DATAPROC_LOGS_ENABLED") == "true" {
// Add dd-agent to yarn group to give the Agent permission to READ the Spark log files
_, err := executeCommandWithTimeout(s, "sudo", "usermod", "-aG", "yarn", "dd-agent")
_, err := executeCommandWithTimeout(s, "usermod", "-aG", "yarn", "dd-agent")
if err != nil {
log.Warnf("error changing permission group for log file, dd-agent won't have access to Dataproc logs: %v", err)
}
Expand Down

0 comments on commit 4d2bf2c

Please sign in to comment.