<?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 Re: CM interface to see exact settings in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268331#M206098</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28632"&gt;@pollard&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;looking at Impala Configs, you can find the /varz servlet at the debug WebUI of Impala Statestore, Catalogserver and Daemon. When you use the default ports these should be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;http://state-store-host:25010/varz&lt;/LI&gt;&lt;LI&gt;http://catalog-server-host:25020/varz&lt;/LI&gt;&lt;LI&gt;http://impala-daemon-host:25000/varz&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;On the Impala Daemon, you also have a servlet for Hadoop vars:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;http://impala-daemon-host:25000/hadoop-varz&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Besides these servlets, Impala also prints it flags (which you were asking for in the second paragraph) during startup in the INFO-logs of each service. This may help, if your debug WebUIs are disabled for security reasons.&lt;/P&gt;&lt;P&gt;For instance for Impala daemon: /var/log/impalad/impalad.INFO&lt;/P&gt;&lt;LI-CODE lang="java"&gt;I0819 17:43:55.279785 18999 logging.cc:156] Flags (see also /varz are on debug webserver):
--catalog_service_port=26000
--catalog_topic_mode=full

[…]

--symbolize_stacktrace=false
--v=1
--vmodule=&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For other services, the /conf servlets at WebUIs or the Cloudera Manager configs (see other reply) mostly apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this or the first answer was helpful to you, please set it as accepted solution.&lt;/P&gt;&lt;P&gt;Regards, Benjamin&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 07:29:49 GMT</pubDate>
    <dc:creator>benhadoop</dc:creator>
    <dc:date>2019-08-20T07:29:49Z</dc:date>
    <item>
      <title>CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268206#M206039</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As there are what seems to be 1000s of settings for HDFS, Hive, CM, Hue, Spark, etc. I was wondering if there is a way to see the actual settings that are being used for all applications in the CM/Hadoop suite?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know you can see some of them in config files, some of them using CM's interface. &amp;nbsp;But not all of them are in both.&lt;/P&gt;&lt;P&gt;Defaults, for example, don't show up anywhere as sometimes code sets them. &amp;nbsp;CM does not cover all the parameters as it has a special location it stores Safety Valve settings, as I've been told???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to see what is resident in memory and actually being used as you may add a setting and it not take as you could have put it in the wrong area or is being overridden by the same setting somewhere else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to actually see what is being used for any/all parameters in the suite?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 14:05:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268206#M206039</guid>
      <dc:creator>pollard</dc:creator>
      <dc:date>2019-08-19T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268208#M206040</link>
      <description>&lt;P&gt;Hi pollard,&lt;/P&gt;&lt;P&gt;most services expose a "/conf" servlet in their WebUI which gives you the most complete set of actually used parameters. This should be the most promising source of thruth. Impala has a similar Servlet with path "/varz".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The instance process view of Cloudera Manager shows you the actually distributed config files - which often helps a lot but does not include default values. You can reach it from a service (e.g. Impala) by clicking on "Instances" -&amp;gt; (the instance you want to see, e.g. Impala Catalog Server on a node) -&amp;gt; Processes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 14:32:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268208#M206040</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2019-08-19T14:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268232#M206058</link>
      <description>&lt;P&gt;Hi pollard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did You try to use Cloudera REST API to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 17:03:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268232#M206058</guid>
      <dc:creator>bgrabows</dc:creator>
      <dc:date>2019-08-19T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268247#M206062</link>
      <description>&lt;P&gt;Hey Ben,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt;most services expose a "/conf" servlet in their WebUI which gives you the most complete set of actually used parameters. This should be the most promising source of thruth. Impala has a similar Servlet with path "/varz".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've been looking for this /varz path for Impala and cannot find the correct path. &amp;nbsp;Can you give me the port and path that it should be on? &amp;nbsp;Unless it's a name that is given during setup and it's different than "/varz"???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;The instance process view of Cloudera Manager shows you the actually distributed config files - which often helps a lot but does not include default values. You can reach it from a service (e.g. Impala) by clicking on "Instances" -&amp;gt; (the instance you want to see, e.g. Impala Catalog Server on a node) -&amp;gt; Processes&lt;/P&gt;&lt;P&gt;I've seen this but I don't see anything that comes close to what I need. &amp;nbsp;This is the list of Impala related config files:&lt;/P&gt;&lt;P&gt;impala-conf/fair-scheduler.xml&lt;BR /&gt;impala-conf/llama-site.xml&lt;BR /&gt;impala-conf/sentry-site.xml&lt;BR /&gt;impala-conf/log4j.properties&lt;BR /&gt;impala.keytab&lt;BR /&gt;impala-conf/.htpasswd&lt;BR /&gt;impala-conf/impalad_flags&lt;/P&gt;&lt;P&gt;The only thing that comes close is impala-conf/impalad_flags file and that has no link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 19:24:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268247#M206062</guid>
      <dc:creator>pollard</dc:creator>
      <dc:date>2019-08-19T19:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268331#M206098</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28632"&gt;@pollard&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;looking at Impala Configs, you can find the /varz servlet at the debug WebUI of Impala Statestore, Catalogserver and Daemon. When you use the default ports these should be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;http://state-store-host:25010/varz&lt;/LI&gt;&lt;LI&gt;http://catalog-server-host:25020/varz&lt;/LI&gt;&lt;LI&gt;http://impala-daemon-host:25000/varz&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;On the Impala Daemon, you also have a servlet for Hadoop vars:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;http://impala-daemon-host:25000/hadoop-varz&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Besides these servlets, Impala also prints it flags (which you were asking for in the second paragraph) during startup in the INFO-logs of each service. This may help, if your debug WebUIs are disabled for security reasons.&lt;/P&gt;&lt;P&gt;For instance for Impala daemon: /var/log/impalad/impalad.INFO&lt;/P&gt;&lt;LI-CODE lang="java"&gt;I0819 17:43:55.279785 18999 logging.cc:156] Flags (see also /varz are on debug webserver):
--catalog_service_port=26000
--catalog_topic_mode=full

[…]

--symbolize_stacktrace=false
--v=1
--vmodule=&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For other services, the /conf servlets at WebUIs or the Cloudera Manager configs (see other reply) mostly apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this or the first answer was helpful to you, please set it as accepted solution.&lt;/P&gt;&lt;P&gt;Regards, Benjamin&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 07:29:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268331#M206098</guid>
      <dc:creator>benhadoop</dc:creator>
      <dc:date>2019-08-20T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268404#M206167</link>
      <description>&lt;P&gt;Hey Ben,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One very key thing you mentioned was the fact that the INFO logs write out the parameter settings. &amp;nbsp;Not sure if that includes defaults as I have not researched it yet but this is extremely useful as I may not have enough time to figure out why the servlets/services are not running or are not available but being able to see the parameter settings this way is more then sufficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For anyone needing a way to quickly see the parameters separated from the rest of the log information, you can use this egrep pattern I put together. &amp;nbsp;Hasn't been thoroughly tested but works so far:&lt;/P&gt;&lt;P&gt;egrep '^--\w+=\w?+'&amp;nbsp;&lt;SPAN&gt;/var/log/impalad/impalad.INFO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This command extracted 229 parameters from our INFO log file. &amp;nbsp;Sounds like a pretty complete list???&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:44:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268404#M206167</guid>
      <dc:creator>pollard</dc:creator>
      <dc:date>2019-08-20T14:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268420#M206179</link>
      <description>&lt;P&gt;Not yet but I have a good bit of experience writing Python code using the CM API. &amp;nbsp;I'll look into it. &amp;nbsp;If there's anything useful, it might be helpful to post my findings here...&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 17:37:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268420#M206179</guid>
      <dc:creator>pollard</dc:creator>
      <dc:date>2019-08-20T17:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: CM interface to see exact settings</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268957#M206525</link>
      <description>&lt;P&gt;Just a note about the CM API:&lt;/P&gt;&lt;P&gt;From what I can tell, the API doesn't bring more parameters back that what you can see in the Configuration tab for each app/service.&lt;/P&gt;&lt;P&gt;Being able to see them in the INFO logs was exactly what was needed. &amp;nbsp;However, it would be nice to be able to use the API to get the same info as the INFO logs provides. &amp;nbsp;I could see some automation opportunities in the future...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 15:56:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-interface-to-see-exact-settings/m-p/268957#M206525</guid>
      <dc:creator>pollard</dc:creator>
      <dc:date>2019-08-26T15:56:38Z</dc:date>
    </item>
  </channel>
</rss>

