You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Viral Parikh <vi...@gmail.com> on 2014/11/11 10:40:23 UTC

Python API to Read Data from Hive / Hadoop

Hi Fellow Hive Users!

Has anyone tried to access Hive (which is on the Linux box) using Ipython /
Python?

I am using windows 7 64 bit machine and I am trying to use some python
packages likes hive_utils and pyhs2 but when I install I am having some
errors. My hadoop platform is supported by Hortonworks.

Is there any way to extract data from hive using ipython / python?

Your help will be appreciated!


Thank you,
Viral

Submit Hive MR jobs to a remote Hadoop 2.4 cluster

Posted by peterm_second <re...@gmail.com>.
Hi guys,
I am struggling a bit to make Hive submit it's MR jobs to a remote
Hadoop cluster. According to the documentation that should be possible
but it seems that's not really the case, at least not when we are
talking about Hadoop 2.
I am trying to connect Hive 0.13 to Hadoop 2.4.0. Please find attached
my hive-site xml.
In short I am telling it, using the mapred.job.tracker property where my
rm manager is. I know that mapred.job.tracker no longer exists in Hadoop
2, but it seems that hive still uses the old property.
<property>
      <name>mapred.job.tracker</name>
      <value>hadoop-rm.mo-data.com:8032</value>
</property>

Can you guys share some tips or info, if any of you have had success
connecting Hive 0.13 to Hadoop 2. Basically any version of hive to
hadoop2. I am using vanila versions of both Hive and Hadoop.

Regards,
Peter





Submit Hive MR jobs to a remote Hadoop 2.4 cluster

Posted by peterm_second <re...@gmail.com>.
Hi guys,
I am struggling a bit to make Hive submit it's MR jobs to a remote
Hadoop cluster. According to the documentation that should be possible
but it seems that's not really the case, at least not when we are
talking about Hadoop 2.
I am trying to connect Hive 0.13 to Hadoop 2.4.0. Please find attached
my hive-site xml.
In short I am telling it, using the mapred.job.tracker property where my
rm manager is. I know that mapred.job.tracker no longer exists in Hadoop
2, but it seems that hive still uses the old property.
<property>
      <name>mapred.job.tracker</name>
      <value>hadoop-rm.mo-data.com:8032</value>
</property>

Can you guys share some tips or info, if any of you have had success
connecting Hive 0.13 to Hadoop 2. Basically any version of hive to
hadoop2. I am using vanila versions of both Hive and Hadoop.

Regards,
Peter





Submit Hive MR jobs to a remote Hadoop 2.4 cluster

Posted by peterm_second <re...@gmail.com>.
Hi guys,
I am struggling a bit to make Hive submit it's MR jobs to a remote
Hadoop cluster. According to the documentation that should be possible
but it seems that's not really the case, at least not when we are
talking about Hadoop 2.
I am trying to connect Hive 0.13 to Hadoop 2.4.0. Please find attached
my hive-site xml.
In short I am telling it, using the mapred.job.tracker property where my
rm manager is. I know that mapred.job.tracker no longer exists in Hadoop
2, but it seems that hive still uses the old property.
<property>
      <name>mapred.job.tracker</name>
      <value>hadoop-rm.mo-data.com:8032</value>
</property>

Can you guys share some tips or info, if any of you have had success
connecting Hive 0.13 to Hadoop 2. Basically any version of hive to
hadoop2. I am using vanila versions of both Hive and Hadoop.

Regards,
Peter





Submit Hive MR jobs to a remote Hadoop 2.4 cluster

Posted by peterm_second <re...@gmail.com>.
Hi guys,
I am struggling a bit to make Hive submit it's MR jobs to a remote
Hadoop cluster. According to the documentation that should be possible
but it seems that's not really the case, at least not when we are
talking about Hadoop 2.
I am trying to connect Hive 0.13 to Hadoop 2.4.0. Please find attached
my hive-site xml.
In short I am telling it, using the mapred.job.tracker property where my
rm manager is. I know that mapred.job.tracker no longer exists in Hadoop
2, but it seems that hive still uses the old property.
<property>
      <name>mapred.job.tracker</name>
      <value>hadoop-rm.mo-data.com:8032</value>
</property>

Can you guys share some tips or info, if any of you have had success
connecting Hive 0.13 to Hadoop 2. Basically any version of hive to
hadoop2. I am using vanila versions of both Hive and Hadoop.

Regards,
Peter





Submit Hive MR jobs to a remote Hadoop cluster

Posted by peterm_second <re...@gmail.com>.
Hi guys,
I am struggling a bit to make Hive submit it's MR jobs to a remote 
Hadoop cluster. According to the documentation that should be possible 
but it seems that's not really the case, at least not when we are 
talking about Hadoop 2.
I am trying to connect Hive 0.13 to Hadoop 2.4.0. Please find attached 
my hive-site xml.
In short I am telling it, using the mapred.job.tracker property where my 
rm manager is. I know that mapred.job.tracker no longer exists in Hadoop 
2, but it seems that hive still uses the old property.
<property>
     <name>mapred.job.tracker</name>
     <value>hadoop-rm.mo-data.com:8032</value>
</property>

Can you guys share some tips or info, if any of you have had success 
connecting Hive 0.13 to Hadoop 2. Basically any version of hive to 
hadoop2. I am using vanila versions of both Hive and Hadoop.

Regards,
Peter