Executed the command "sudo -u oozie ./bin/oozie-setup.sh sharelib create -fs hdfs://localhost:54310 -locallib oozie-sharelib-4.1.0.tar.gz"
Iam getting the error "Error: E0902: Exception occured: [User: oozie is not allowed to impersonate oozie]" when trying to execute sharelib command.