<?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: Deploy own service on Cloudera in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298613#M219273</link>
    <description>&lt;P&gt;Hi Ferenc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use HDFS client (either CLI or Java), would it pick the hdfs-site.xml automatically? How does it get to know the location? I suppose I need to set hadoop.home.dir? If yes, what will be its value (which path I should put as value)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2020 07:38:52 GMT</pubDate>
    <dc:creator>NumeroUnoNU</dc:creator>
    <dc:date>2020-06-25T07:38:52Z</dc:date>
    <item>
      <title>Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/297963#M218909</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to install a custom service on Cloudera. This service requires some libs for it to run.&lt;/P&gt;&lt;P&gt;I have created the CSD sdl and control.sh file and created a jar out of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that I am not getting where to put service libs in Cloudera. Should these be bundled in CSD jar itself? or should these be installed as parcel. If as parcel, how to install it. I do not see much doc on installing/deploying local parcel on Cloudera manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 11:28:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/297963#M218909</guid>
      <dc:creator>NumeroUnoNU</dc:creator>
      <dc:date>2026-04-21T11:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298025#M218948</link>
      <description>&lt;P&gt;Any help here please?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 15:04:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298025#M218948</guid>
      <dc:creator>NumeroUnoNU</dc:creator>
      <dc:date>2020-06-14T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298052#M218966</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78973"&gt;@NumeroUnoNU&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for raising your enquiries about how to build a CSD. Have you seen the github repo [1] along with the instructions on how to build and deploy your custom solution, please?&lt;/P&gt;&lt;P&gt;Please note the side-menu on the right with the links of the different instructions on e.g. how to build a parcel, how to create control scripts and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let us know if you found the information on our github repo that you were looking for!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you:&lt;/P&gt;&lt;P&gt;Ferenc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://github.com/cloudera/cm_ext/wiki/CSD-Overview" target="_blank" rel="noopener"&gt;https://github.com/cloudera/cm_ext/wiki/CSD-Overview&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 14:19:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298052#M218966</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-06-15T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298064#M218975</link>
      <description>&lt;P&gt;Thanks Bender, I will take a look.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 13:42:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298064#M218975</guid>
      <dc:creator>NumeroUnoNU</dc:creator>
      <dc:date>2020-06-15T13:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298341#M219108</link>
      <description>&lt;P&gt;This works out. Thanks.&lt;/P&gt;&lt;P&gt;One more question, is there any environment variable that I can use in my control script to get the webhdfs url?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jun 2020 08:17:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298341#M219108</guid>
      <dc:creator>NumeroUnoNU</dc:creator>
      <dc:date>2020-06-20T08:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298394#M219142</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78973"&gt;@NumeroUnoNU&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for confirming that the github repo covers your enquiries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding to &lt;A href="https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.3.4/bk_hdfs_admin_tools/content/ch12.html" target="_self"&gt;WebHDFS&lt;/A&gt;, I would use the &lt;A href="https://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml" target="_self"&gt;hdfs-site.xml&lt;/A&gt; config file to get the URLs to the namenodes and datanodes after you've enabled it. The &lt;A href="http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#FileSystem_URIs_vs_HTTP_URLs" target="_self"&gt;Apache Hadoop WebHDFS documentation&lt;/A&gt; describes further how the URIs are composed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if it addresses your enquiry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards:&lt;BR /&gt;Ferenc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 09:30:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298394#M219142</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-06-22T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298549#M219233</link>
      <description>&lt;P&gt;Hi Bender,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scenario here is I have deployed my service on Cloudera. Now, how will it access the hdfs-site.xml file? Are you saying that this file should be bundled with my parcel?&lt;/P&gt;&lt;P&gt;What if hdfs namenode host is changed?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 13:17:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298549#M219233</guid>
      <dc:creator>NumeroUnoNU</dc:creator>
      <dc:date>2020-06-24T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298559#M219239</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78973"&gt;@NumeroUnoNU&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Manager is taking care of the Client Configuration files [1]. It makes sure that the latest configurations are deployed to all nodes where related services deployed or gateway roles for that service is configured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will find the client configs present the node where e.g. a Datanode role is running under this folder: /var/run/cloudera-scm-agent/process/[largest number]...[Service name].../&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The up-to-date configs are always in the folder which is starting with the largest number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards:&lt;BR /&gt;Ferenc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://docs.cloudera.com/documentation/enterprise/5-16-x/topics/cm_mc_client_config.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/5-16-x/topics/cm_mc_client_config.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 13:45:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298559#M219239</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-06-24T13:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298562#M219242</link>
      <description>&lt;P&gt;HI Ferenc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A very basic question, I might sound silly. For my client to use webhdfs://, it needs to know the hdfs host:port. From your explanation, does client need to parse hdfs-site.xml and get the url?&lt;/P&gt;&lt;P&gt;Or just include hadoop.home.dir? But I think in that case also, client will need hdfs url.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 13:59:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298562#M219242</guid>
      <dc:creator>NumeroUnoNU</dc:creator>
      <dc:date>2020-06-24T13:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298572#M219251</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78973"&gt;@NumeroUnoNU&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, you either parse the contents of the&amp;nbsp;&lt;SPAN&gt;hdfs-site.xml or you utilise the HDFS Client, so you do not need to worry about implementation details. I've just quickly googled for you an explanation of what is HDFS Client [1]. If you go for the parsing exercise, make sure you are not referencing the NN, otherwise on failover you should prepare your script to handle that situation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ferenc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1]&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/43221993/what-does-client-exactly-mean-for-hadoop-hdfs" target="_blank"&gt;https://stackoverflow.com/questions/43221993/what-does-client-exactly-mean-for-hadoop-hdfs&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 15:55:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298572#M219251</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-06-24T15:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298613#M219273</link>
      <description>&lt;P&gt;Hi Ferenc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use HDFS client (either CLI or Java), would it pick the hdfs-site.xml automatically? How does it get to know the location? I suppose I need to set hadoop.home.dir? If yes, what will be its value (which path I should put as value)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 07:38:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298613#M219273</guid>
      <dc:creator>NumeroUnoNU</dc:creator>
      <dc:date>2020-06-25T07:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy own service on Cloudera</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298637#M219290</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78973"&gt;@NumeroUnoNU&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've run the "alternatives --list" command on a cluster node and noticed that there is a "hadoop-conf" item, which points to a directory that has the hdfs-site.xml location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also discover it by: "/usr/sbin/alternatives --display hadoop-conf".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This lead to me to google for "/var/lib/alternatives/hadoop-conf" and found this &lt;A href="https://community.cloudera.com/t5/Support-Questions/alternatives-hadoop-conf-difference-between-Namenode-and/m-p/62110/highlight/true#M49506" target="_self"&gt;Community Article reply&lt;/A&gt;, which I believe answers your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short if you have e.g. gateway roles deployed for HDFS on a node, you will find the up-to-date hdfs-site.xml in&amp;nbsp;&lt;SPAN class="s1"&gt;/etc/hadoop/conf folder...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;We have a little bit diverged from the original topic in this thread. To make the conversation easier to read for future visitors, would you mind open a new thread for each major topics, please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Please let us know if the above information helped you by pressing the "Accept as Solution" button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Best regards:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Ferenc&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 13:03:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Deploy-own-service-on-Cloudera/m-p/298637#M219290</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-06-25T13:03:00Z</dc:date>
    </item>
  </channel>
</rss>

