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 <jagatsi...@gmail.com> 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 <babak...@gmail.com> 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* >> >> Have you any ideee,how can I solve this problem? >> >> On Sat, Jun 2, 2012 at 3:39 PM, Jagat <jagatsi...@gmail.com> wrote: >> >>> 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_HOME/bin >>> >>> >>> I have export for both Hadoop and Hive >>> >>> Then when you do >>> >>> $ hive it will detect hive >>> >>> >>> On Sat, Jun 2, 2012 at 6:59 PM, Babak Bastan <babak...@gmail.com> wrote: >>> >>>> 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 <jagatsi...@gmail.com> wrote: >>>> >>>>> 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 working hive then >>>>> >>>>> To Start HIVE thrift server just type >>>>> >>>>> # hive --service hiveserver >>>>> >>>>> It would show message like >>>>> >>>>> Starting Hive Thrift Server >>>>> >>>>> To check it hive server has been started successfully >>>>> Type >>>>> >>>>> #netstat -nl | grep 10000 >>>>> >>>>> Some service must be running there. >>>>> >>>>> Hope it helps >>>>> >>>>> Regards, >>>>> >>>>> Jagat Singh >>>>> >>>>> >>>>> On Sat, Jun 2, 2012 at 6:49 PM, Babak Bastan <babak...@gmail.com>wrote: >>>>> >>>>>> 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. >>>>>> >>>>>> If I run this command in the root: >>>>>> >>>>>> *echo $PATH* >>>>>> >>>>>> the resual is: >>>>>> >>>>>> */usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/src/hive/build/dist/bin/:/usr/src/hive/build/dist/lib/:/usr/local/hadoop/bin* >>>>>> >>>>>> and then if I wirte this command ,I cant run hiveserver to use hive >>>>>> *hive --service hiveserver* >>>>>> * >>>>>> * >>>>>> what should I do? could you please help me? >>>>>> >>>>> >>>>> >>>> >>> >> >