FileNotFoundException

2012-06-02 Thread Павел Мезенцев
Hello all! I tried to create simple table in hive > create table test (a string); But its failed: FAILED: Error in metadata: MetaException(message:Got exception: java.io.FileNotFoundException File file:/user/hive/warehouse/test does not exist.) FAILED: Execution Error, return code 1 from org.apac

Re: Querying HBase Records with null valued-columns using hive

2012-06-02 Thread Ashutosh Chauhan
Hey Sagar, Seems like you have inserted data in your hbase table directly through hbase client and not through hive client. If so, you need https://issues.apache.org/jira/browse/HIVE-1634 to correctly read pre-existing data in hbase. Hive-1634 is available as a part of 0.9 release. So, upgrade to

Re: HADOOP_HOME

2012-06-02 Thread shashwat shriparv
One more way. add this line to you /etc/environment file export HADOOP_HOME= On Sat, Jun 2, 2012 at 6:38 PM, Siddharth Tiwari wrote: > DO this:- > > nano ~/.bashrc > add following lines:- > export HADOOP_HOME= (path to your hadoop bin directory) > > #done > > > **--

Re[2]: table design and performance questions

2012-06-02 Thread Avdeev V . M .
Thank for the information Ruben. 1. I found the issue https://issues.apache.org/jira/browse/HIVE-1642 does it mean that MAPJOIN hint is obsolete since 2010 and I can avoid this hint absolutely? 2. sorry for stupid questions, but I can't understand bucketing still. partitioning is ok, it is hdfs

Re: Problem while installing Hive on ubuntu

2012-06-02 Thread Jagat
Okay Just export JAVA_HOME also export JAVA_HOME="path to your java folder " On Sat, Jun 2, 2012 at 7:35 PM, Babak Bastan wrote: > I have checked this plas but no *j2sdk1.5-sun *:( > many java file and folders but no *j2sdk1.5-sun* > > > On Sat, Jun 2, 2012 at 4:00 PM, Jagat wrote: > >> Can y

Re: Problem while installing Hive on ubuntu

2012-06-02 Thread Babak Bastan
I have checked this plas but no *j2sdk1.5-sun *:( many java file and folders but no *j2sdk1.5-sun* On Sat, Jun 2, 2012 at 4:00 PM, Jagat wrote: > Can you check if you have *Java* at the place where the path is shown in > error? > > > > > On Sat, Jun 2, 2012 at 7:26 PM, Babak Bastan wrote: > >>

Re: Problem while installing Hive on ubuntu

2012-06-02 Thread Jagat
Can you check if you have *Java* at the place where the path is shown in error? On Sat, Jun 2, 2012 at 7:26 PM, Babak Bastan wrote: > hey Jagat, > Thank you ! something has happened :) > but new error about java like this: > > */usr/lib/j2sdk1.5-sun/bin/java* > *file or folder not found* > >

Re: Problem while installing Hive on ubuntu

2012-06-02 Thread Babak Bastan
hey Jagat, Thank you ! something has happened :) but new error about java like this: */usr/lib/j2sdk1.5-sun/bin/java* *file or folder not found* Have you any ideee,how can I solve this problem? On Sat, Jun 2, 2012 at 3:39 PM, Jagat wrote: > Here are sample enteries i have in my bash file > >

Re: Problem while installing Hive on ubuntu

2012-06-02 Thread Jagat
Here are sample enteries i have in my bash file You can also do the same and enter after changing depending upon your locations. export HADOOP_HOME="/home/hadoop/software/hadoop-0.20.2" export PATH=$PATH:$HADOOP_HOME/bin export HIVE_HOME="/home/hadoop/software/hive-0.9.0" export PATH=$PATH:$HIVE_

Re: Problem while installing Hive on ubuntu

2012-06-02 Thread Babak Bastan
thank you for your answer but if I type i.e: babak@ubuntu:/$ hive -version ubuntu answers me: command hive doesnot found( translate from German) On Sat, Jun 2, 2012 at 3:26 PM, Jagat wrote: > Hi > > When you say > > I suppose you have entered correct path to your hadoop below > > *export HADO

Re: Problem while installing Hive on ubuntu

2012-06-02 Thread Jagat
Hi When you say I suppose you have entered correct path to your hadoop below *export HADOOP_HOME=/path_of_your_hadoop_folder * To check if hive is installed properly just check that you can enter hive mode when you say hive -version it should show hive version. Now lets suppose you have wo

Problem while installing Hive on ubuntu

2012-06-02 Thread Babak Bastan
Hello experts since 2 days ago I tried to install Hive on my ubuntu but no success( I'm new in both hive and ubuntu) I read this Artikel and I do all of the steps without problem,only in step 2 I changed my ".bashrc" file and add *export HADOOP_HOME=/path_of_your_hadoop_folder* to this file. I

RE: HADOOP_HOME

2012-06-02 Thread Siddharth Tiwari
DO this:- nano ~/.bashrc add following lines:- export HADOOP_HOME= (path to your hadoop bin directory) #done ** Cheers !!! Siddharth Tiwari Have a refreshing day !!! "Every duty is holy, and devotion to duty is the highest form of worship of God.” Date: Sat, 2 Jun

Re: HADOOP_HOME

2012-06-02 Thread Mohammad Tariq
Hi Babak, You can use export command from the shell to set HADOOO_HOME, but it will be lost once you close the terminal. To set ir permanently add the following line to the ".bashrc" file present in your /home/your_username/ directory - export HADOOP_HOME=/path_of_your_hadoop_folder You can

Re: HADOOP_HOME

2012-06-02 Thread Nitin Pawar
Use export command On Jun 2, 2012 2:50 PM, "Babak Bastan" wrote: > > Hello experts > > How can I set HADOOP _HOME? in which file I can find this variable? I should set this variable with the path in that I downloaded hadoop? > > thank you so much