Support Questions
Find answers, ask questions, and share your expertise

Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

Highlighted

Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

Explorer

8302-screen-shot-2016-10-06-at-95224-am.png

@jk

@Santhosh B Gowda

could you please anyone help out for above issue?

6 REPLIES 6
Highlighted

Re: Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

@PARIVALLAL R

This looks like a permission issue.

1. Are you running ambari as a root?

2. Also please check if you have logged in to ambari as "admin" user.

Can you please list the permissions if the dir?

ls -d /var/run/ambari-server/
ls -lart  /var/run/ambari-server/stack-recommendations

Re: Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

Explorer

@jk

Executed above commands

[root@sandbox ~]# ls -d /var/run/ambari-server/

/var/run/ambari-server/

[root@sandbox ~]# ls -lart /var/run/ambari-server/stack-recommendations

total 100

drwxr-xr-x 1 root root 4096 Oct 4 16:23 ..

drwxr-xr-x 1 root root 4096 Oct 4 17:02 1

drwxr-xr-x 1 root root 4096 Oct 4 17:06 6

drwxr-xr-x 2 root root 4096 Oct 6 05:09 7

drwxr-xr-x 2 root root 4096 Oct 6 05:09 8

drwxr-xr-x 2 root root 4096 Oct 6 05:09 9

drwxr-xr-x 2 root root 4096 Oct 6 05:09 10

drwxr-xr-x 2 root root 4096 Oct 6 05:10 11

drwxr-xr-x 2 root root 4096 Oct 6 05:10 12

drwxr-xr-x 2 root root 4096 Oct 6 05:10 13

drwxr-xr-x 2 root root 4096 Oct 6 05:10 14

drwxr-xr-x 2 root root 4096 Oct 6 05:10 15

drwxr-xr-x 2 root root 4096 Oct 6 05:10 16

drwxr-xr-x 2 root root 4096 Oct 6 05:11 17

drwxr-xr-x 2 root root 4096 Oct 6 05:12 18

drwxr-xr-x 2 root root 4096 Oct 6 05:18 19

drwxr-xr-x 2 root root 4096 Oct 6 05:21 20

drwxr-xr-x 2 root root 4096 Oct 6 05:26 21

drwxr-xr-x 2 root root 4096 Oct 6 05:27 22

drwxr-xr-x 2 root root 4096 Oct 6 05:27 23

drwxr-xr-x 2 root root 4096 Oct 6 05:28 24

drwxr-xr-x 2 root root 4096 Oct 6 05:28 25

drwxr-xr-x 2 root root 4096 Oct 6 05:28 26

drwxr-xr-x 1 root root 4096 Oct 6 05:29 .

drwxr-xr-x 2 root root 4096 Oct 6 05:29 27

[root@sandbox ~]#

Can you look and suggest me what is wrong and what to do

Highlighted

Re: Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

@PARIVALLAL R

1. Are you running ambari as a root?

2. Also please check if you have logged in to ambari as "admin" user.

Highlighted

Re: Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

Explorer

@jk

yes i logged into abmari as admin user

also am in root only :

[root@sandbox ~]# who

root pts/1 2016-10-06 03:42 (172.17.0.2)

root pts/2 2016-10-06 04:52 (10.0.2.2)

[root@sandbox ~]#

Highlighted

Re: Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

@PARIVALLAL R

May be in the "/var/log/ambari-server/ambari-server.log" file we can get more detailed StackTrace. Can you please post the complete stackTrace of the error from the ambari-server.log.

Also can you please restart the ambari server and tail the log to see if before getting the above mentioned error we are seeing any additional ERROR/WARNING in the ambari server log?

Highlighted

Re: Unable to add Atlas service from Ambari UI .NOTE: am using HDP2.5 & ambari :ambari-server-2.4.0.0

Explorer
@jk

Please find the ambari-server.log.

nworks.com Action id 173-0 and Task id 719

06 Oct 2016 07:01:48,639 INFO [ambari-heartbeat-processor-0] ServiceComponentHostImpl:1067 - Host role transitioned to a new state, serviceComponentName=ATLAS_SERVER, hostName=sandbox.hortonworks.com, oldState=INSTALLING, currentState=INSTALL_FAILED

06 Oct 2016 07:01:49,636 INFO [ambari-client-thread-26] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:01:55,617 INFO [ambari-client-thread-26] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:01:55,923 INFO [ambari-client-thread-25] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:01:57,653 INFO [ambari-client-thread-25] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:01:59,637 INFO [ambari-client-thread-22] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:03,593 INFO [ambari-client-thread-27] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:04,651 INFO [ambari-client-thread-22] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:05,627 INFO [ambari-client-thread-28] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:09,057 INFO [ambari-client-thread-22] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:11,202 INFO [ambari-client-thread-27] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:11,783 INFO [ambari-client-thread-25] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:16,625 INFO [ambari-client-thread-25] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:18,598 INFO [ambari-client-thread-22] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:20,611 INFO [ambari-client-thread-25] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:20,632 INFO [ambari-client-thread-22] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com

06 Oct 2016 07:02:21,656 INFO [ambari-client-thread-24] AbstractProviderModule:414 - Metrics Collector Host or host component not live : sandbox.hortonworks.com