I am unable to start service cloudera-scm-server owing to permission denied error. I am trying to set up Spark 2.0 in cloudera quickstart vm. After java 8 update , I am trying to start the server , but below error occurs. Any help will be
Created 05-13-2019 08:46 AM
Please restart the service with root privileges e.g.
# sudo service cloudera-scm-server restart
Note that force_start has a different purpose than helping over permissions issues.
Created 05-13-2019 10:56 AM
sorry this did not work with restart, start, force_start anything. Same error I am getting.
Created 05-13-2019 11:15 AM
Hi @Abhipreyo ,
Did you try with root user or sudo suggested by @gzigldrum? What is the CM version?
Li Wang, Technical Solution Manager
Created 05-15-2019 05:37 PM
I tried with sudo.Nevertheless, issue is resolved now.
After doing three four time reboot, it was solved.
But once I am trying to achieve my end goal which is to set up spark2 in cloudera. After every configuration I am trying to add service for Spark2. During First Run I am getting an error as givne below
5:28:57.606 PM FATAL DataNode
Exception in secureMain
java.lang.RuntimeException: Cannot start datanode because the configured max locked memory size (dfs.datanode.max.locked.memory) is greater than zero and native code is not available.
Created 05-21-2019 07:25 PM
Can anyone help me here?
Created 05-13-2019 11:48 PM
Can you please copy the output of the following commands to here, to clarify the permissions problem:
# namei -l /var/log/cloudera-scm-server/cloudera-scm-server.out # namei -l /var/run/cloudera-scm-server.pid
Created 05-15-2019 07:25 PM
Here it goes. This issue is resolved now. But I cant reach the lvel where i can start using Spark2 in cludera. isuue description is guven in this thread.