Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

HDP 2.5 Sandbox can't install a service

avatar
Contributor

Just downloaded HDP 2.5 Sandbox and tried to install one of existing but not installed services (NiFi) from Ambari UI.

This leads to the following error: 7769-screen-shot-2016-09-19-at-23837-pm.png I've found similar issues mentioned here: https://community.hortonworks.com/questions/50950/ambari-server-wizard-assign-masters-menu-error-occ...

But when I'm trying to change the owner of that directory or even delete and re-create its content (acting as a root) I'm getting the following error:

rm: cannot remove `1': Invalid argument
1 ACCEPTED SOLUTION

avatar
Super Collaborator

@Volodymyr Ostapiv , the Sandbox release has been updated, please download it again, you should not face this issue now.

http://hortonworks.com/downloads/

View solution in original post

5 REPLIES 5

avatar
Master Guru

@Volodymyr Ostapiv

Can you please refer below thread

https://community.hortonworks.com/questions/33127/i-cant-add-new-services-into-ambari.html

It looks like permission issue. Can you please try to change owner of /var/run/ambari-server to the user by which ambari-server daemon is running?

Please do let me know if you need any further help.

avatar

@Volodymyr Ostapiv

This is due to an issue in the docker HDP 2.5 Sandbox, which will be addressed with the next Sandbox release.

In the meantime, try the solution in the link below:

https://community.hortonworks.com/questions/62271/unable-to-add-apache-nifi-in-ambari.html

avatar
Super Collaborator

@Volodymyr Ostapiv , the Sandbox release has been updated, please download it again, you should not face this issue now.

http://hortonworks.com/downloads/

avatar
Contributor
[root@sandbox ~]# ls -lrt /var/run/ambari-server/stack-recommendations/
total 24
drwxrwxrwx 1 root root 4096 Sep 14 06:43 2
drwxrwxrwx 1 root root 4096 Sep 14 06:43 3
drwxrwxrwx 1 root root 4096 Sep 14 06:43 4
drwxrwxrwx 1 root root 4096 Sep 14 06:44 5
drwxrwxrwx 1 root root 4096 Oct 31 09:49 6
drwxrwxrwx 1 root root 4096 Oct 31 09:50 1
Tried to delete:
[root@sandbox ~]# rm -rf /var/run/ambari-server/stack-recommendations/*
rm: cannot remove `/var/run/ambari-server/stack-recommendations/1': Invalid argument
rm: cannot remove `/var/run/ambari-server/stack-recommendations/2': Invalid argument
rm: cannot remove `/var/run/ambari-server/stack-recommendations/3': Invalid argument
rm: cannot remove `/var/run/ambari-server/stack-recommendations/4': Invalid argument
rm: cannot remove `/var/run/ambari-server/stack-recommendations/5': Invalid argument
rm: cannot remove `/var/run/ambari-server/stack-recommendations/6': Invalid argument
Tried change owner:
[root@sandbox ~]# cat /etc/ambari-server/conf/ambari.properties | grep ambari-server.user 
ambari-server.user=root 
[root@sandbox ~]# chown -R root /var/run/ambari-server/stack-recommendations/

Still no effect. Downloading new sandbox now

avatar
Contributor

Updated sandbox. everything is working now, thanks