<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Apache Hive Installation</title>
	<atom:link href="http://www.atiwari.com/articles/2009/08/apache-hive-installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.atiwari.com/articles/2009/08/apache-hive-installation/</link>
	<description>My thoughts and opinion about the life and technology</description>
	<lastBuildDate>Wed, 29 Dec 2010 15:03:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: admin</title>
		<link>http://www.atiwari.com/articles/2009/08/apache-hive-installation/comment-page-1/#comment-1562</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 29 Dec 2010 15:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.atiwari.com/articles/?p=48#comment-1562</guid>
		<description>Interesting! I will try the same versions of Hadoop and Hive, and will try and see if I can reproduce the issue faced by you</description>
		<content:encoded><![CDATA[<p>Interesting! I will try the same versions of Hadoop and Hive, and will try and see if I can reproduce the issue faced by you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean Hiller</title>
		<link>http://www.atiwari.com/articles/2009/08/apache-hive-installation/comment-page-1/#comment-1561</link>
		<dc:creator>Dean Hiller</dc:creator>
		<pubDate>Wed, 29 Dec 2010 14:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.atiwari.com/articles/?p=48#comment-1561</guid>
		<description>I am having the same problem and hadoop is definitely in the path as it logs the output of the version command(I am using version 0.20.2 download....and hive 0.6 download(not source from trunk).

Unable to determine Hadoop version information.
&#039;hadoop version&#039; returned:
classpath=/opt/hbase-install/hbase/hbase-0.20.6.jar:/opt/hbase-install/hbase/hba
se-0.20.6-test.jar:/deanconfig/hbase_config/:/opt/hbase-install/hbase/lib/zookee
per-3.2.2.jar Hadoop 0.20.2 Subversion https://svn.apache.org/repos/asf/hadoop/c
ommon/branches/branch-0.20 -r 911707 Compiled by chrisdo on Fri Feb 19 08:07:34
UTC 2010</description>
		<content:encoded><![CDATA[<p>I am having the same problem and hadoop is definitely in the path as it logs the output of the version command(I am using version 0.20.2 download&#8230;.and hive 0.6 download(not source from trunk).</p>
<p>Unable to determine Hadoop version information.<br />
&#8216;hadoop version&#8217; returned:<br />
classpath=/opt/hbase-install/hbase/hbase-0.20.6.jar:/opt/hbase-install/hbase/hba<br />
se-0.20.6-test.jar:/deanconfig/hbase_config/:/opt/hbase-install/hbase/lib/zookee<br />
per-3.2.2.jar Hadoop 0.20.2 Subversion <a href="https://svn.apache.org/repos/asf/hadoop/c" rel="nofollow">https://svn.apache.org/repos/asf/hadoop/c</a><br />
ommon/branches/branch-0.20 -r 911707 Compiled by chrisdo on Fri Feb 19 08:07:34<br />
UTC 2010</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.atiwari.com/articles/2009/08/apache-hive-installation/comment-page-1/#comment-1341</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 29 Jun 2010 08:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.atiwari.com/articles/?p=48#comment-1341</guid>
		<description>Hi Jony,

I went through hive script.. and found this message in this code..

cli () {
   CLASS=org.apache.hadoop.hive.cli.CliDriver
-
-  # cli specific code
-  if [ ! -f ${HIVE_LIB}/hive-cli-*.jar ]; then
-    echo &quot;Missing Hive CLI Jar&quot;
-    exit 3;
-  fi
-
-  if $cygwin; then
-    HIVE_LIB=`cygpath -w &quot;$HIVE_LIB&quot;`
-  fi
-
-  version=$($HADOOP version &#124; awk &#039;{if (NR == 1) {print $2;}}&#039;);
-
-  # Save the regex to a var to workaround quoting incompatabilities
-  # between Bash 3.1 and 3.2
-  version_re=&quot;^([[:digit:]]+)\.([[:digit:]]+)(\.([[:digit:]]+))?.*$&quot;
-
-  if [[ &quot;$version&quot; =~ $version_re ]]; then
-      major_ver=${BASH_REMATCH[1]}
-      minor_ver=${BASH_REMATCH[2]}
-      patch_ver=${BASH_REMATCH[4]}
-  else
-      echo &quot;Unable to determine Hadoop version information.&quot;
-      echo &quot;&#039;hadoop version&#039; returned:&quot;
-      echo `$HADOOP version`
-      exit 6
-  fi
-
............................
+  execHiveCmd $CLASS &quot;$@&quot;
 }

thus.. it is trying to determine Hadoop version by invoking Hadoop itself... can you please verify that you have Hadoop environment variable set and available to the script ?</description>
		<content:encoded><![CDATA[<p>Hi Jony,</p>
<p>I went through hive script.. and found this message in this code..</p>
<p>cli () {<br />
   CLASS=org.apache.hadoop.hive.cli.CliDriver<br />
-<br />
-  # cli specific code<br />
-  if [ ! -f ${HIVE_LIB}/hive-cli-*.jar ]; then<br />
-    echo &#8220;Missing Hive CLI Jar&#8221;<br />
-    exit 3;<br />
-  fi<br />
-<br />
-  if $cygwin; then<br />
-    HIVE_LIB=`cygpath -w &#8220;$HIVE_LIB&#8221;`<br />
-  fi<br />
-<br />
-  version=$($HADOOP version | awk &#8216;{if (NR == 1) {print $2;}}&#8217;);<br />
-<br />
-  # Save the regex to a var to workaround quoting incompatabilities<br />
-  # between Bash 3.1 and 3.2<br />
-  version_re=&#8221;^([[:digit:]]+)\.([[:digit:]]+)(\.([[:digit:]]+))?.*$&#8221;<br />
-<br />
-  if [[ "$version" =~ $version_re ]]; then<br />
-      major_ver=${BASH_REMATCH[1]}<br />
-      minor_ver=${BASH_REMATCH[2]}<br />
-      patch_ver=${BASH_REMATCH[4]}<br />
-  else<br />
-      echo &#8220;Unable to determine Hadoop version information.&#8221;<br />
-      echo &#8220;&#8216;hadoop version&#8217; returned:&#8221;<br />
-      echo `$HADOOP version`<br />
-      exit 6<br />
-  fi<br />
-<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
+  execHiveCmd $CLASS &#8220;$@&#8221;<br />
 }</p>
<p>thus.. it is trying to determine Hadoop version by invoking Hadoop itself&#8230; can you please verify that you have Hadoop environment variable set and available to the script ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jony Blues</title>
		<link>http://www.atiwari.com/articles/2009/08/apache-hive-installation/comment-page-1/#comment-1340</link>
		<dc:creator>Jony Blues</dc:creator>
		<pubDate>Tue, 29 Jun 2010 01:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.atiwari.com/articles/?p=48#comment-1340</guid>
		<description>When running ~/hive/bin/hive, I receive a message of:

&quot;Unable to determine Hadoop version&quot;
Hadoop version:

and then the cursor appears to be the same as root rather than hive&gt;, and it does not execute any hive command at CLI. What did I do wrong in configuration or setting up hive environment. I did however got Hadoop working in all nodes including namenodes, secondary node, jobtracker, datanode and tasktracker.

Please help, I am frustrated.

Thanks,

JB</description>
		<content:encoded><![CDATA[<p>When running ~/hive/bin/hive, I receive a message of:</p>
<p>&#8220;Unable to determine Hadoop version&#8221;<br />
Hadoop version:</p>
<p>and then the cursor appears to be the same as root rather than hive&gt;, and it does not execute any hive command at CLI. What did I do wrong in configuration or setting up hive environment. I did however got Hadoop working in all nodes including namenodes, secondary node, jobtracker, datanode and tasktracker.</p>
<p>Please help, I am frustrated.</p>
<p>Thanks,</p>
<p>JB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.atiwari.com/articles/2009/08/apache-hive-installation/comment-page-1/#comment-1330</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 09 May 2010 18:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.atiwari.com/articles/?p=48#comment-1330</guid>
		<description>hey Daves, sorry I was engaged with other stuffs! I am sure you must have figured your way out by now.. but still answering the question... yes, it means the same (however, I havent tried that..) I prefer keeping the Hadoop path as a variable and using it along (as in the article)..</description>
		<content:encoded><![CDATA[<p>hey Daves, sorry I was engaged with other stuffs! I am sure you must have figured your way out by now.. but still answering the question&#8230; yes, it means the same (however, I havent tried that..) I prefer keeping the Hadoop path as a variable and using it along (as in the article)..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LDaves</title>
		<link>http://www.atiwari.com/articles/2009/08/apache-hive-installation/comment-page-1/#comment-1310</link>
		<dc:creator>LDaves</dc:creator>
		<pubDate>Fri, 09 Apr 2010 18:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.atiwari.com/articles/?p=48#comment-1310</guid>
		<description>&quot;1. you must have hadoop in your path&quot;

the &quot;your path&quot; refer to the environment path
# echo $PATH ?</description>
		<content:encoded><![CDATA[<p>&#8220;1. you must have hadoop in your path&#8221;</p>
<p>the &#8220;your path&#8221; refer to the environment path<br />
# echo $PATH ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

