<?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: unable to start smarsense activity analyzer in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203838#M71970</link>
    <description>&lt;P&gt;Nice explanation &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 14:16:12 GMT</pubDate>
    <dc:creator>rambabuch</dc:creator>
    <dc:date>2018-05-10T14:16:12Z</dc:date>
    <item>
      <title>unable to start smarsense activity analyzer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203835#M71967</link>
      <description>&lt;P&gt;I am trying to start SmartSense activity analyzer but it is getting fail and logs are also not available for the same.&lt;/P&gt;&lt;P&gt;but I cat  activity-analyzer.out and below is error :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nohup: failed to run command ‘/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/bin/java’: No such file or directory&lt;/STRONG&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have checked  java_home and it is :  &lt;STRONG&gt;/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and cat /etc/smartsense-activity/conf/activity.ini :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[java]
home = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre&lt;/STRONG&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;then why in activity-analyzer.out this error is coming ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:56:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203835#M71967</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2017-11-29T13:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: unable to start smarsense activity analyzer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203836#M71968</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19322/mishraanurag643.html" nodeid="19322"&gt;@Anurag Mishra&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you will make changes to the "" script manually then that is not right because upon restart via Ambari Server , it will be replaced with the default JAVA_HOME setting that ambari server is setting. &lt;/P&gt;&lt;PRE&gt;export JAVA_HOME={{java_home}}&lt;/PRE&gt;&lt;P&gt;So please make changes via ambari to make it permanently reflected.&lt;/P&gt;&lt;P&gt;Ambari UI --&amp;gt; SmartSense --&amp;gt; Configs --&amp;gt; Advanced --&amp;gt; Advanced activity-env --&amp;gt; activity-env.sh  (Edit the "JAVA_HOME" here)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt; Replace the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt; export JAVA_HOME={{java_home}}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt; &lt;STRONG&gt;With&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt; export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please check your&lt;STRONG&gt; other hosts i&lt;/STRONG&gt;f the PATH exists?  And check if other processes on the other hosts are using the JRE that you wanted to use or the JDK home that is mentioned in the ambari.properties?    (usually the {{java_home}} is taken what is set in the ambari.properties if you do not explicitly make changes to it.)&lt;/P&gt;&lt;PRE&gt;# ls -l /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/bin/java
# ls -l /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre/bin/java&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;PRE&gt;# grep 'java.home' /etc/ambari-server/conf/ambari.properties
java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/ch_changing_the_jdk_version_on_an_existing_cluster.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/ch_changing_the_jdk_version_on_an_existing_cluster.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19322/mishraanurag643.html" nodeid="19322"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:12:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203836#M71968</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-29T14:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: unable to start smarsense activity analyzer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203837#M71969</link>
      <description>&lt;P&gt;it is starting thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:23:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203837#M71969</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2017-11-29T15:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: unable to start smarsense activity analyzer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203838#M71970</link>
      <description>&lt;P&gt;Nice explanation &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 14:16:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unable-to-start-smarsense-activity-analyzer/m-p/203838#M71970</guid>
      <dc:creator>rambabuch</dc:creator>
      <dc:date>2018-05-10T14:16:12Z</dc:date>
    </item>
  </channel>
</rss>

