<?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: Could not determine stack version for component in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179335#M141581</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; Thank for the reply !!!&lt;/P&gt;&lt;P&gt;/usr/bin/hdp-select is working now after changing the python version but still services which are installed in the ambari-server nodes are not starting :&lt;/P&gt;&lt;P&gt;fro zeppelin :&lt;/P&gt;&lt;PRE&gt;2018-09-03 09:58:17,713 - Could not determine stack version for component zeppelin-server by calling '/usr/bin/hdp-select status zeppelin-server &amp;gt; /tmp/tmps5ZaqL'. Return Code: 1, Output: .
2018-09-03 09:58:17,754 - The 'zeppelin-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.
2018-09-03 09:58:17,902 - Could not determine stack version for component zeppelin-server by calling '/usr/bin/hdp-select status zeppelin-server &amp;gt; /tmp/tmpMyhYQS'. Return Code: 1, Output: .
2018-09-03 09:58:17,937 - The 'zeppelin-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.&lt;/PRE&gt;&lt;P&gt;for hbase phoenix :&lt;/P&gt;&lt;PRE&gt;2018-09-03 09:55:49,747 - Could not determine stack version for component phoenix-server by calling '/usr/bin/hdp-select status phoenix-server &amp;gt; /tmp/tmp2TCR7n'. Return Code: 1, Output: .
2018-09-03 09:55:49,785 - The 'phoenix-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.
2018-09-03 09:55:49,915 - Could not determine stack version for component phoenix-server by calling '/usr/bin/hdp-select status phoenix-server &amp;gt; /tmp/tmpekQ6yI'. Return Code: 1, Output: .
2018-09-03 09:55:49,953 - The 'phoenix-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1

245). This is the version that will be reported.&lt;/PRE&gt;&lt;P&gt;/usr/bin/hdp-select status phoenix-server :&lt;/P&gt;&lt;P&gt;phoenix-server - 2.5.0.0-1245&lt;/P&gt;&lt;P&gt;however /usr/hdp/current/phoenix-server is pointing to the /usr/hdp/2.5.0.0-1245/phoenix/bin&lt;/P&gt;</description>
    <pubDate>Mon, 03 Sep 2018 15:03:53 GMT</pubDate>
    <dc:creator>amol_08</dc:creator>
    <dc:date>2018-09-03T15:03:53Z</dc:date>
    <item>
      <title>Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179329#M141575</link>
      <description>&lt;P&gt;I have upgraded ambari from 2.5.1.0 to 2.6.2.2 , but I am not able to start few services , zeppelin , hbase  ..etc . I am getting below error when I restart the services :&lt;/P&gt;&lt;PRE&gt;2018-09-03 08:44:39,459 - Could not determine stack version for component zeppelin-server by calling '/usr/bin/hdp-select status zeppelin-server &amp;gt; /tmp/tmp9iDTwc'. Return Code: 1, Output: .
2018-09-03 08:44:39,497 - The 'zeppelin-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.
2018-09-03 08:44:39,642 - Could not determine stack version for component zeppelin-server by calling '/usr/bin/hdp-select status zeppelin-server &amp;gt; /tmp/tmpoOZ1_0'. Return Code: 1, Output: .
2018-09-03 08:44:39,681 - The 'zeppelin-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.
2018-09-03 08:44:40,949 - Getting jmx metrics from NN failed. URL: &lt;A href="http://&amp;lt;namenodehsot&amp;gt;:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem" target="_blank"&gt;http://&amp;lt;namenodehsot&amp;gt;:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;However there is symlink and files fro zeppelin-server :&lt;/P&gt;&lt;P&gt;ls -l /usr/hdp/current | grep -i zeppelin-server&lt;/P&gt;&lt;PRE&gt;lrwxrwxrwx 1 root root 30 Sep  3 08:44 zeppelin-server -&amp;gt; /usr/hdp/2.5.0.0-1245/zeppelin&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:01:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179329#M141575</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2018-09-03T14:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179330#M141576</link>
      <description>&lt;P&gt;It seems to me problem of /usr/bin/hdp-select since in other cluster if i run the same command it list out the HDP services but here it shows below error :&lt;/P&gt;&lt;PRE&gt;File "/usr/bin/hdp-select", line 205
    print "ERROR: Invalid package - " + name
                                    ^
SyntaxError: Missing parentheses in call to 'print'&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:22:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179330#M141576</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2018-09-03T14:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179331#M141577</link>
      <description>&lt;P&gt;You have tried an ambari upgrade or HDP upgrade??&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:24:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179331#M141577</guid>
      <dc:creator>ppanda</dc:creator>
      <dc:date>2018-09-03T14:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179332#M141578</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/216716/could-not-determine-stack-version-for-component.html?childToView=216719#"&gt;@Anurag Mishra&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you sure you are using correct Python version?&lt;/P&gt;&lt;PRE&gt;SyntaxError: Missing parentheses in call to 'print'&lt;/PRE&gt;&lt;P&gt;The above error indicates that you might be using Python3.&lt;/P&gt;&lt;P&gt;hdp_select.py was not compatible with python 3.&lt;/P&gt;&lt;P&gt;Ambari 2.6.x Python requirement: &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-installation/content/mmsr_software_reqs.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-installation/content/mmsr_software_reqs.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:24:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179332#M141578</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-09-03T14:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179333#M141579</link>
      <description>&lt;P&gt;in other nodes hdp-select is working only on the ambari server node it is creating an issue .&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:28:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179333#M141579</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2018-09-03T14:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179334#M141580</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19322/mishraanurag643.html" nodeid="19322"&gt;@Anurag Mishra&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As you mentioned that &lt;STRONG&gt;"in other nodes hdp-select is working only on the ambari server node it is creating an issue ."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So please check the Python version on Ambari server host. (looks liek it got updated recently to Python3)&lt;/P&gt;&lt;PRE&gt;# python --version
# grep 'python' /var/log/yum.log&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:30:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179334#M141580</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-09-03T14:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179335#M141581</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; Thank for the reply !!!&lt;/P&gt;&lt;P&gt;/usr/bin/hdp-select is working now after changing the python version but still services which are installed in the ambari-server nodes are not starting :&lt;/P&gt;&lt;P&gt;fro zeppelin :&lt;/P&gt;&lt;PRE&gt;2018-09-03 09:58:17,713 - Could not determine stack version for component zeppelin-server by calling '/usr/bin/hdp-select status zeppelin-server &amp;gt; /tmp/tmps5ZaqL'. Return Code: 1, Output: .
2018-09-03 09:58:17,754 - The 'zeppelin-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.
2018-09-03 09:58:17,902 - Could not determine stack version for component zeppelin-server by calling '/usr/bin/hdp-select status zeppelin-server &amp;gt; /tmp/tmpMyhYQS'. Return Code: 1, Output: .
2018-09-03 09:58:17,937 - The 'zeppelin-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.&lt;/PRE&gt;&lt;P&gt;for hbase phoenix :&lt;/P&gt;&lt;PRE&gt;2018-09-03 09:55:49,747 - Could not determine stack version for component phoenix-server by calling '/usr/bin/hdp-select status phoenix-server &amp;gt; /tmp/tmp2TCR7n'. Return Code: 1, Output: .
2018-09-03 09:55:49,785 - The 'phoenix-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1245). This is the version that will be reported.
2018-09-03 09:55:49,915 - Could not determine stack version for component phoenix-server by calling '/usr/bin/hdp-select status phoenix-server &amp;gt; /tmp/tmpekQ6yI'. Return Code: 1, Output: .
2018-09-03 09:55:49,953 - The 'phoenix-server' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.5.0.0-1

245). This is the version that will be reported.&lt;/PRE&gt;&lt;P&gt;/usr/bin/hdp-select status phoenix-server :&lt;/P&gt;&lt;P&gt;phoenix-server - 2.5.0.0-1245&lt;/P&gt;&lt;P&gt;however /usr/hdp/current/phoenix-server is pointing to the /usr/hdp/2.5.0.0-1245/phoenix/bin&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:03:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179335#M141581</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2018-09-03T15:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179336#M141582</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;On Ambari Server host try to execute the following command manually to understand the issue.  As the above log indicates that it is still facing some issue while executing that command:&lt;/P&gt;&lt;PRE&gt;# /usr/bin/hdp-select status zeppelin-server&lt;BR /&gt;# /usr/bin/hdp-select status phoenix-server 
#  /usr/bin/hdp-select&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please share the output of above commands.&lt;BR /&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>Mon, 03 Sep 2018 15:16:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179336#M141582</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-09-03T15:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine stack version for component</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179337#M141583</link>
      <description>&lt;PRE&gt;it started working i forgot to start ambari-agent .
&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:54:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-determine-stack-version-for-component/m-p/179337#M141583</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2018-09-03T15:54:25Z</dc:date>
    </item>
  </channel>
</rss>

