<?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 JAVA_HOME not set for clients in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JAVA-HOME-not-set-for-clients/m-p/54446#M60548</link>
    <description>&lt;P&gt;CDM version: 5.7.1&lt;/P&gt;&lt;P&gt;I've set the Java Home Directory in the hosts config to /opt/java/jdk&lt;/P&gt;&lt;P&gt;It's picked up properly by all services, but not by clients&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example running the yarn command, it will complain JAVA_HOME is not set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file used to check for JAVA_HOME is:&lt;/P&gt;&lt;P&gt;/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p0.11/lib/bigtop-utils/bigtop-detect-javahome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently this file is not checking the hosts config setting. I'm surprised by that.&lt;/P&gt;&lt;P&gt;The info for this option says:&lt;/P&gt;&lt;P&gt;Explicitly set the value of JAVA_HOME for all processes. This will override the auto-detection logic that is normally used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why doesn't it apply to client processes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2017 15:34:33 GMT</pubDate>
    <dc:creator>jeroenr</dc:creator>
    <dc:date>2017-05-05T15:34:33Z</dc:date>
    <item>
      <title>JAVA_HOME not set for clients</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JAVA-HOME-not-set-for-clients/m-p/54446#M60548</link>
      <description>&lt;P&gt;CDM version: 5.7.1&lt;/P&gt;&lt;P&gt;I've set the Java Home Directory in the hosts config to /opt/java/jdk&lt;/P&gt;&lt;P&gt;It's picked up properly by all services, but not by clients&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example running the yarn command, it will complain JAVA_HOME is not set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file used to check for JAVA_HOME is:&lt;/P&gt;&lt;P&gt;/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p0.11/lib/bigtop-utils/bigtop-detect-javahome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently this file is not checking the hosts config setting. I'm surprised by that.&lt;/P&gt;&lt;P&gt;The info for this option says:&lt;/P&gt;&lt;P&gt;Explicitly set the value of JAVA_HOME for all processes. This will override the auto-detection logic that is normally used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why doesn't it apply to client processes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 15:34:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JAVA-HOME-not-set-for-clients/m-p/54446#M60548</guid>
      <dc:creator>jeroenr</dc:creator>
      <dc:date>2017-05-05T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA_HOME not set for clients</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JAVA-HOME-not-set-for-clients/m-p/54696#M60549</link>
      <description>&lt;P&gt;Perhaps this will help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Cloudera-Manager-Installation/Error-JAVA-HOME-is-not-set-and-Java-could-not-be-found/m-p/18974/highlight/true#M2441" target="_blank"&gt;https://community.cloudera.com/t5/Cloudera-Manager-Installation/Error-JAVA-HOME-is-not-set-and-Java-could-not-be-found/m-p/18974/highlight/true#M2441&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 17:34:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JAVA-HOME-not-set-for-clients/m-p/54696#M60549</guid>
      <dc:creator>gwen</dc:creator>
      <dc:date>2017-05-12T17:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA_HOME not set for clients</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JAVA-HOME-not-set-for-clients/m-p/54806#M60550</link>
      <description>&lt;P&gt;a case was opened with support, confirmed that the Java home directory override currently only applies to servers, not to clients.This can lead to Java version inconsistencies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will be resolved in a future version, and can be tracked via OPSAPS-40053&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To specify a Java home directory for all clients, set the variable in file /etc/default/bigtop-utils&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 09:00:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JAVA-HOME-not-set-for-clients/m-p/54806#M60550</guid>
      <dc:creator>jeroenr</dc:creator>
      <dc:date>2017-05-17T09:00:53Z</dc:date>
    </item>
  </channel>
</rss>

