Support Questions

Find answers, ask questions, and share your expertise

Ambari Server problem

avatar
Explorer

I am getting logs (ambari-server.log) like following for all the stacks after I install and start ambari-server :

21 May 2017 19:52:13,766 INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=SPARK, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/SPARK/repos

21 May 2017 19:52:13,766 INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=YARN, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/YARN/repos

21 May 2017 19:52:13,767 INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=KNOX, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/KNOX/repos

21 May 2017 19:52:13,768 INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=ZOOKEEPER, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/ZOOKEEPER/repos

What does these indicate? I checked and folders do not exist :

"/var/lib/ambari-server/resources/stacks/HDP/2.5/services/ZOOKEEPER/repos"

Are these "normal" traces ?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@MB

These are INFO messages and can be found in any Properly Working Ambari Server Log as well. There is nothing to worry. This happens because ambari code recursively tries to find few directories for finding the "repoinfo.xml" file and prints the INFO message when it is not found.

https://github.com/apache/ambari/blob/release-2.5.0/ambari-server/src/main/java/org/apache/ambari/se...

Example:

18 May 2017 09:33:25,118  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=HIVE, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/HIVE/repos
18 May 2017 09:33:25,119  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=RANGER_KMS, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/RANGER_KMS/repos
18 May 2017 09:33:25,121  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=MAHOUT, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/MAHOUT/repos
18 May 2017 09:33:25,122  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=KAFKA, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/KAFKA/repos
18 May 2017 09:33:25,124  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=SPARK, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/SPARK/repos
18 May 2017 09:33:25,126  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=SLIDER, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/SLIDER/repos
18 May 2017 09:33:25,127  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=OOZIE, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/OOZIE/repos
18 May 2017 09:33:25,129  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=ZOOKEEPER, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/ZOOKEEPER/repos
18 May 2017 09:33:25,295  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=KNOX, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.3/services/KNOX/repos

.

View solution in original post

1 REPLY 1

avatar
Master Mentor

@MB

These are INFO messages and can be found in any Properly Working Ambari Server Log as well. There is nothing to worry. This happens because ambari code recursively tries to find few directories for finding the "repoinfo.xml" file and prints the INFO message when it is not found.

https://github.com/apache/ambari/blob/release-2.5.0/ambari-server/src/main/java/org/apache/ambari/se...

Example:

18 May 2017 09:33:25,118  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=HIVE, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/HIVE/repos
18 May 2017 09:33:25,119  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=RANGER_KMS, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/RANGER_KMS/repos
18 May 2017 09:33:25,121  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=MAHOUT, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/MAHOUT/repos
18 May 2017 09:33:25,122  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=KAFKA, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/KAFKA/repos
18 May 2017 09:33:25,124  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=SPARK, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/SPARK/repos
18 May 2017 09:33:25,126  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=SLIDER, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/SLIDER/repos
18 May 2017 09:33:25,127  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=OOZIE, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/OOZIE/repos
18 May 2017 09:33:25,129  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=ZOOKEEPER, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.5/services/ZOOKEEPER/repos
18 May 2017 09:33:25,295  INFO [main] StackServiceDirectory:116 - No repository information defined for , serviceName=KNOX, repoFolder=/var/lib/ambari-server/resources/stacks/HDP/2.3/services/KNOX/repos

.