<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question kerberized HDP 2.4 - getting error in adding Grafana in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137207#M47944</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm adding Grafana to Ambari .. and getting error -&amp;gt;&lt;/P&gt;&lt;P&gt;Reference link -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/43334/ambari-metrics-link-grafana-not-available-on-hdp-2.html" target="_blank"&gt;https://community.hortonworks.com/questions/43334/ambari-metrics-link-grafana-not-available-on-hdp-2.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cmd run -&amp;gt;&lt;/P&gt;&lt;P&gt;curl -u admin:4o12t0n -H "X-Requested-By:ambari" -i -X POST &lt;A href="http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/AMBARI_METRICS/components/METRICS_GRAFANA" target="_blank"&gt;http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/AMBARI_METRICS/components/METRICS_GRAFANA&lt;/A&gt;&lt;/P&gt;&lt;P&gt; Error (in ambari-server.log) -&amp;gt; &lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;05 Dec 2016 03:52:10,815 ERROR [qtp-ambari-client-745] BaseManagementHandler:66 - Caught a runtime exception while attempting to create a resource: Trying to create a ServiceComponent not recognized in stack info, clusterName=Sandbox, serviceName=AMBARI_METRICS, componentName=METRICS_GRAFANA, stackInfo=HDP-2.4
java.lang.RuntimeException: Trying to create a ServiceComponent not recognized in stack info, clusterName=Sandbox, serviceName=AMBARI_METRICS, componentName=METRICS_GRAFANA, stackInfo=HDP-2.4
   at org.apache.ambari.server.state.ServiceComponentImpl.&amp;lt;init&amp;gt;(ServiceComponentImpl.java:111)
   at org.apache.ambari.server.state.ServiceComponentImpl$$EnhancerByGuice$$fb135ca4.&amp;lt;init&amp;gt;(&amp;lt;generated&amp;gt;)
   at org.apache.ambari.server.state.ServiceComponentImpl$$EnhancerByGuice$$fb135ca4$$FastClassByGuice$$38a29767.newInstance(&amp;lt;generated&amp;gt;)
   at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
   at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260)
   at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
   at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
   at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
   at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
   at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
   at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)
   at com.sun.proxy.$Proxy18.createNew(Unknown Source)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider.createComponents(ComponentResourceProvider.java:408)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider$1.invoke(ComponentResourceProvider.java:130)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider$1.invoke(ComponentResourceProvider.java:127)
   at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:450)
   at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:273)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider.createResources(ComponentResourceProvider.java:127)
   at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:289)
   at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:76)
   at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:36)
   at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72)
   at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
   at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:106)
   at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:75)
   at org.apache.ambari.server.api.services.ComponentService.createComponent(ComponentService.java:137)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
   at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)&lt;/P&gt;</description>
    <pubDate>Mon, 05 Dec 2016 12:07:18 GMT</pubDate>
    <dc:creator>karan_alang1</dc:creator>
    <dc:date>2016-12-05T12:07:18Z</dc:date>
    <item>
      <title>kerberized HDP 2.4 - getting error in adding Grafana</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137207#M47944</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm adding Grafana to Ambari .. and getting error -&amp;gt;&lt;/P&gt;&lt;P&gt;Reference link -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/43334/ambari-metrics-link-grafana-not-available-on-hdp-2.html" target="_blank"&gt;https://community.hortonworks.com/questions/43334/ambari-metrics-link-grafana-not-available-on-hdp-2.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cmd run -&amp;gt;&lt;/P&gt;&lt;P&gt;curl -u admin:4o12t0n -H "X-Requested-By:ambari" -i -X POST &lt;A href="http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/AMBARI_METRICS/components/METRICS_GRAFANA" target="_blank"&gt;http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/AMBARI_METRICS/components/METRICS_GRAFANA&lt;/A&gt;&lt;/P&gt;&lt;P&gt; Error (in ambari-server.log) -&amp;gt; &lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;05 Dec 2016 03:52:10,815 ERROR [qtp-ambari-client-745] BaseManagementHandler:66 - Caught a runtime exception while attempting to create a resource: Trying to create a ServiceComponent not recognized in stack info, clusterName=Sandbox, serviceName=AMBARI_METRICS, componentName=METRICS_GRAFANA, stackInfo=HDP-2.4
java.lang.RuntimeException: Trying to create a ServiceComponent not recognized in stack info, clusterName=Sandbox, serviceName=AMBARI_METRICS, componentName=METRICS_GRAFANA, stackInfo=HDP-2.4
   at org.apache.ambari.server.state.ServiceComponentImpl.&amp;lt;init&amp;gt;(ServiceComponentImpl.java:111)
   at org.apache.ambari.server.state.ServiceComponentImpl$$EnhancerByGuice$$fb135ca4.&amp;lt;init&amp;gt;(&amp;lt;generated&amp;gt;)
   at org.apache.ambari.server.state.ServiceComponentImpl$$EnhancerByGuice$$fb135ca4$$FastClassByGuice$$38a29767.newInstance(&amp;lt;generated&amp;gt;)
   at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
   at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260)
   at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
   at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
   at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
   at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
   at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
   at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)
   at com.sun.proxy.$Proxy18.createNew(Unknown Source)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider.createComponents(ComponentResourceProvider.java:408)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider$1.invoke(ComponentResourceProvider.java:130)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider$1.invoke(ComponentResourceProvider.java:127)
   at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:450)
   at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:273)
   at org.apache.ambari.server.controller.internal.ComponentResourceProvider.createResources(ComponentResourceProvider.java:127)
   at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:289)
   at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:76)
   at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:36)
   at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72)
   at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
   at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:106)
   at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:75)
   at org.apache.ambari.server.api.services.ComponentService.createComponent(ComponentService.java:137)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
   at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:07:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137207#M47944</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T12:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: kerberized HDP 2.4 - getting error in adding Grafana</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137208#M47945</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/1940/prao.html" nodeid="1940"&gt;@prao&lt;/A&gt; - pls. let me know if you have any inputs on this ?&lt;/P&gt;&lt;P&gt;(I believe you've fixed this in HDP 2.5, per the link posted above)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:11:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137208#M47945</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T12:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: kerberized HDP 2.4 - getting error in adding Grafana</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137209#M47946</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14047/karanalang.html"&gt;Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please try opening the following URL in your browser to see if it is showing "AMBARI_METRICS" ?&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services" target="_blank"&gt;http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;-
 Also can you please run the following command  (rpm -qa | grep 
ambari-metrics) from the host where you want to install 
ambari-metrics-grafana &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# rpm -qa | grep ambari-metrics
ambari-metrics-grafana-2.4.1.0-22.x86_64
ambari-metrics-monitor-2.4.1.0-22.x86_64
ambari-metrics-hadoop-sink-2.4.1.0-22.x86_64&lt;/PRE&gt;&lt;P&gt;-  Also please share the output of the same above command from the host where the "ambari-metrics-collector" is installed.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:16:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137209#M47946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-05T12:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: kerberized HDP 2.4 - getting error in adding Grafana</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137210#M47947</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@jss&lt;/A&gt; - &lt;/P&gt;&lt;P&gt;here is the output of the command &lt;/P&gt;&lt;P&gt;[root@sandbox ambari-server]# rpm -qa | grep ambari-metrics
ambari-metrics-hadoop-sink-2.2.1.0-161.x86_64
ambari-metrics-collector-2.2.1.0-161.x86_64
ambari-metrics-monitor-2.2.1.0-161.x86_64&lt;/P&gt;&lt;P&gt;yes, url - &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://127.0.0.1:8080/api/v1/clusters/Sandbox/services" target="_blank"&gt;http://127.0.0.1:8080/api/v1/clusters/Sandbox/services&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;shows the services including AMBARI_METRICS&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:28:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137210#M47947</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: kerberized HDP 2.4 - getting error in adding Grafana</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137211#M47948</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14047/karanalang.html"&gt;Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ambari 2.2.2, Grafana&lt;/STRONG&gt; is included as a component of Ambari Metrics.   However your version seems to be old &lt;STRONG&gt;"2.2.1.0"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_upgrading_Ambari/content/_adding_grafana_to_ambari_metrics.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_upgrading_Ambari/content/_adding_grafana_to_ambari_metrics.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So please upgrade your ambari to 2.2.2 and then perform the Post Upgrade task mentioned in the above link (which includes upgrading ambari-metrics RPMs.   then you should be able to add the grafana.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:44:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/kerberized-HDP-2-4-getting-error-in-adding-Grafana/m-p/137211#M47948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-05T12:44:15Z</dc:date>
    </item>
  </channel>
</rss>

