<?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: LLAP failed to start - wrong  Python version for scripts in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180503#M70663</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/43372/gunarmueller.html" nodeid="43372"&gt;@Gunar Mueller&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you made some changes in the llap java options from Ambari UI specially inside the Jinja template  specially related to  llap java option from ambari UI and by mistake you removed the "endif"   string from the if ...else blok of Jinja template.&lt;/P&gt;&lt;P&gt;Please see in the ambari UI if you can revert back the config changes and then try again... or compare the two versions of Hive configs from ambari UI.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2017 01:01:53 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-11-03T01:01:53Z</dc:date>
    <item>
      <title>LLAP failed to start - wrong  Python version for scripts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180502#M70662</link>
      <description>&lt;P&gt;Can not start Hive LLAP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File 
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py", 
line 616, in &amp;lt;module&amp;gt;&lt;BR /&gt;  
HiveServerInteractive().execute()&lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", 
line 329, in execute&lt;BR /&gt;  
method(env)&lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", 
line 865, in restart&lt;BR /&gt;  self.start(env, 
upgrade_type=upgrade_type)&lt;BR /&gt;File 
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py", 
line 121, in start&lt;BR /&gt;  status = 
self._llap_start(env)&lt;BR /&gt;File 
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py", 
line 258, in _llap_start&lt;BR /&gt;  llap_java_args = 
InlineTemplate(params.llap_app_java_opts).get_content()&lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 150, 
in __init__&lt;BR /&gt;  
super(InlineTemplate, self).__init__(name, extra_imports, **kwargs) &lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 137, 
in __init__&lt;BR /&gt;  self.template = 
self.template_env.get_template(self.name)     &lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 716, in 
get_template&lt;BR /&gt;  return 
self._load_template(name, self.make_globals(globals))&lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 690, in 
_load_template&lt;BR /&gt;  template = 
self.loader.load(self, name, globals)&lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/ambari_jinja2/loaders.py", line 127, in 
load&lt;BR /&gt;  code = 
environment.compile(source, name, filename)&lt;BR /&gt;File 
"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 492, in 
compile&lt;BR /&gt;  
self.handle_exception(exc_info, source_hint=source)&lt;BR /&gt;File 
"&amp;lt;unknown&amp;gt;", line 1, in template&lt;BR /&gt;ambari_jinja2.exceptions.TemplateSyntaxError: 
Unexpected end of template. Jinja was looking for the following tags: 'endif'. 
The innermost block that needs to be closed is 'if'.&lt;/P&gt;&lt;P&gt;Maybe this issue is related to the wrong python version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OS: Ubuntu 14.04.5&lt;/P&gt;&lt;P&gt;# /usr/bin/python -V&lt;BR /&gt;Python 2.7.6&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 23:58:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180502#M70662</guid>
      <dc:creator>gunar_mueller</dc:creator>
      <dc:date>2017-11-02T23:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: LLAP failed to start - wrong  Python version for scripts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180503#M70663</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/43372/gunarmueller.html" nodeid="43372"&gt;@Gunar Mueller&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you made some changes in the llap java options from Ambari UI specially inside the Jinja template  specially related to  llap java option from ambari UI and by mistake you removed the "endif"   string from the if ...else blok of Jinja template.&lt;/P&gt;&lt;P&gt;Please see in the ambari UI if you can revert back the config changes and then try again... or compare the two versions of Hive configs from ambari UI.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 01:01:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180503#M70663</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-03T01:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: LLAP failed to start - wrong  Python version for scripts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180504#M70664</link>
      <description>&lt;P&gt;&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;&lt;P&gt;You are right. I changed the &amp;lt;LLAP app java opts&amp;gt; and deleted {% endif %}.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 02:54:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180504#M70664</guid>
      <dc:creator>gunar_mueller</dc:creator>
      <dc:date>2017-11-03T02:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: LLAP failed to start - wrong  Python version for scripts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180505#M70665</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/43372/gunarmueller.html" nodeid="43372"&gt;@Gunar Mueller&lt;/A&gt; &lt;/P&gt;&lt;P&gt;As the issue is resolved, hence it will be also great if you can mark this HCC thread as Answered by clicking on the "&lt;STRONG&gt;Accept&lt;/STRONG&gt;" Button on the correct answer. That way other HCC users can quickly find the solution when they encounter the same issue.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 09:29:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/LLAP-failed-to-start-wrong-Python-version-for-scripts/m-p/180505#M70665</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-03T09:29:30Z</dc:date>
    </item>
  </channel>
</rss>

