<?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: Comprehensive monitoring command line Spark 3x in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Comprehensive-monitoring-command-line-Spark-3x/m-p/414546#M255456</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/174928"&gt;@vowxx007&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our CDP experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89438"&gt;@shehbazk&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29989"&gt;@vaishaakb&lt;/a&gt;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2026 08:59:24 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2026-09-15T08:59:24Z</dc:date>
    <item>
      <title>Comprehensive monitoring command line Spark 3x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Comprehensive-monitoring-command-line-Spark-3x/m-p/414545#M255455</link>
      <description>&lt;P&gt;Hi There,&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;We are currently using Cloudera On-Prem (CDP 7.1.9SP1, CFM 2.1.7, CM 7.13.1), where monitoring of Spark jobs (such as memory utilization, CPU usage, active jobs, completed jobs, and related metrics) appears to be primarily available through the UI.&lt;/P&gt;&lt;P&gt;We explored several approaches for retrieving Spark Structured Streaming and job execution metrics programmatically. However, most publicly available documentation references accessing the Spark Driver UI via port 4040 (same case with 4041,4042,4043 etc) on the driver node. In our Cloudera environment, this endpoint does not appear to be operational or accessible, which limits our ability to leverage those documented methods.&lt;/P&gt;&lt;P&gt;Could you please point us in the right direction or suggest alternative approaches for retrieving such monitoring data through command-line interfaces, APIs, logs, event stores, or any other available mechanisms within Cloudera?&lt;/P&gt;&lt;P&gt;At this stage, we are not looking for a specific metric alone. Our objective is to understand all available monitoring options and data sources that could provide visibility into Spark and Structured Streaming workloads. A comprehensive understanding of the underlying monitoring capabilities will help us establish the fundamentals required for future automation and operational observability.&lt;/P&gt;&lt;P&gt;The only significant constraint is that the solution should preferably be accessible via command-line or scriptable interfaces, as our longer-term goal is to automate collection, analysis, and alerting across a broad range of Spark runtime and streaming metrics.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Sep 2026 04:00:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Comprehensive-monitoring-command-line-Spark-3x/m-p/414545#M255455</guid>
      <dc:creator>vowxx007</dc:creator>
      <dc:date>2026-09-15T04:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive monitoring command line Spark 3x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Comprehensive-monitoring-command-line-Spark-3x/m-p/414546#M255456</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/174928"&gt;@vowxx007&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our CDP experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89438"&gt;@shehbazk&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29989"&gt;@vaishaakb&lt;/a&gt;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2026 08:59:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Comprehensive-monitoring-command-line-Spark-3x/m-p/414546#M255456</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2026-09-15T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive monitoring command line Spark 3x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Comprehensive-monitoring-command-line-Spark-3x/m-p/414550#M255457</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/174928"&gt;@vowxx007&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The driver port is ephimeral and only exist during the app executions, so for your intention it will not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some options, for example the &lt;A href="https://archive.apache.org/dist/spark/docs/2.4.8/monitoring.html#rest-api" target="_self"&gt;Spark History Server REST API&lt;/A&gt;.&lt;BR /&gt;For example,&amp;nbsp;&lt;A href="https://community.cloudera.com/" target="_self"&gt;http://&amp;lt;server-url&amp;gt;:18080/api/v1/applications&lt;/A&gt;&amp;nbsp;returns a JSON with data for both active and completed apps.&amp;nbsp;&lt;BR /&gt;Then you can play with the options this API offers.&amp;nbsp;&lt;BR /&gt;Note: check and confirm the SHS Port on the Spark service configuration.&lt;/P&gt;&lt;P&gt;Another tool that may work is the &lt;A href="https://hadoop.apache.org/docs/r3.1.1/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html" target="_self"&gt;YARN Resource Manager REST API&lt;/A&gt;&amp;nbsp;there you can use options such as "Cluster Applications API".&amp;nbsp;&lt;BR /&gt;This one will be something like this:&amp;nbsp;&lt;A href="http://rm-http-address:port/ws/v1/cluster/apps" target="_blank"&gt;http://rm-http-address:port/ws/v1/cluster/apps&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;That option will give information about the user, start and finish time, status, and more.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this help you on your monitoring tasks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2026 16:38:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Comprehensive-monitoring-command-line-Spark-3x/m-p/414550#M255457</guid>
      <dc:creator>vafs</dc:creator>
      <dc:date>2026-09-15T16:38:56Z</dc:date>
    </item>
  </channel>
</rss>

