Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
t; >> >> >> directory
>> >> >>>>>> >> >> >> /tmp/hadoop-babak/dfs/name has been successfully
>> >> >>>>>> >> >> >> formatted.
>> >> >>>>>> >> >> >> 12/06/06 20:05:20 INFO namenode.NameNode: SHUTDOWN_MSG:
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> /
>> >> >>>>>> >> >> >> SHUTDOWN_MSG: Shutting down NameNode at
>> >> >>>>>> >> >> >> ubuntu/127.0.1.1
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> /
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> by this command:
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> babak@ubuntu:~/Downloads/hadoop/bin$ start-dfs.sh
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> this is the out put
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> mkdir: kann Verzeichnis
>> >> >>>>>> >> >> >> „/home/babak/Downloads/hadoop/bin/../logs“
>> >> >>>>>> >> >> >> nicht
>> >> >>>>>> >> >> >> anlegen: Keine Berechtigung
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> this out put(it's in german and it means no right to
>> >> >>>>>> >> >> >> make
>> >> >>>>>> >> >> >> this
>> >> >>>>>> >> >> >> folder)
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >>
>> >> >>>>>> >> >> >> On Wed, Jun 6, 2012 at 7:59 PM, Mohammad Tariq
>> >> >>>>>> >> >> >> 
>> >> >>>>>> >> >> >> wrote:
>> >> >>>>>> >> >> >>>
>> >> >>>>>> >> >> >>> once we are done with the configuration, we need to
>> >> >>>>>> >> >> >>> format
>> >> >>>>>> >> >> >>> the file
>> >> >>>>>> >> >> >>> system..use this command to do that-
>> >> >>>>>> >> >> >>> bin/hadoop namenode -format
>> >> >>>>>> >> >> >>>
>> >> >>>>>> >> >> >>> after this, hadoop daemon processes should be started
>> >> >>>>>> >> >> >>> using
>> >> >>>>>> >> >> >>> following
>> >> >>>>>> >> >> >>> commands -
>> >> >>>>>> >> >> >>> bin/start-dfs.sh (it'll start NN & DN)
>> >> >>>>>> >> >> >>> bin/start-mapred.sh (it'll start JT & TT)
>> >> >>>>>> >> >> >>>
>> >> >>>>>> >> >> >>> after this use jps to check if everything is alright
>> >> >>>>>> >> >> >>> or
>> >> >>>>>> >> >> >>> point your
>> >> >>>>>> >> >> >>> browser to localhost:50070..if you further find any
>> >> >>>>>> >> >> >>> problem
>> >> >>>>>> >> >> >>> provide
>> >> >>>>>> >> >> >>> us
>> >> >>>>>> >> >>

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
**
>> >>>>>> >> >> >> SHUTDOWN_MSG: Shutting down NameNode at ubuntu/127.0.1.1
>> >>>>>> >> >> >>
>> >>>>>> >> >> >> /
>> >>>>>> >> >> >>
>> >>>>>> >> >> >> by this command:
>> >>>>>> >> >> >>
>> >>>>>> >> >> >> babak@ubuntu:~/Downloads/hadoop/bin$ start-dfs.sh
>> >>>>>> >> >> >>
>> >>>>>> >> >> >> this is the out put
>> >>>>>> >> >> >>
>> >>>>>> >> >> >> mkdir: kann Verzeichnis
>> >>>>>> >> >> >> „/home/babak/Downloads/hadoop/bin/../logs“
>> >>>>>> >> >> >> nicht
>> >>>>>> >> >> >> anlegen: Keine Berechtigung
>> >>>>>> >> >> >>
>> >>>>>> >> >> >> this out put(it's in german and it means no right to make
>> >>>>>> >> >> >> this
>> >>>>>> >> >> >> folder)
>> >>>>>> >> >> >>
>> >>>>>> >> >> >>
>> >>>>>> >> >> >> On Wed, Jun 6, 2012 at 7:59 PM, Mohammad Tariq
>> >>>>>> >> >> >> 
>> >>>>>> >> >> >> wrote:
>> >>>>>> >> >> >>>
>> >>>>>> >> >> >>> once we are done with the configuration, we need to
>> >>>>>> >> >> >>> format
>> >>>>>> >> >> >>> the file
>> >>>>>> >> >> >>> system..use this command to do that-
>> >>>>>> >> >> >>> bin/hadoop namenode -format
>> >>>>>> >> >> >>>
>> >>>>>> >> >> >>> after this, hadoop daemon processes should be started
>> >>>>>> >> >> >>> using
>> >>>>>> >> >> >>> following
>> >>>>>> >> >> >>> commands -
>> >>>>>> >> >> >>> bin/start-dfs.sh (it'll start NN & DN)
>> >>>>>> >> >> >>> bin/start-mapred.sh (it'll start JT & TT)
>> >>>>>> >> >> >>>
>> >>>>>> >> >> >>> after this use jps to check if everything is alright or
>> >>>>>> >> >> >>> point your
>> >>>>>> >> >> >>> browser to localhost:50070..if you further find any
>> >>>>>> >> >> >>> problem
>> >>>>>> >> >> >>> provide
>> >>>>>> >> >> >>> us
>> >>>>>> >> >> >>> with the error logs..:)
>> >>>>>> >> >> >>>
>> >>>>>> >> >> >>> Regards,
>> >>>>>> >> >> >>>     Mohammad Tariq
>> >>>>>> >> >> >>>
>> >>>>>> >> >> >>>
>> >>>>>> >> >> >>> On Wed, Jun 6, 2012 at 11:22 PM, Babak Bastan
>> >>>>>> >> >> >>> 
>> >>>>>> >> >> >>> wrote:
>> >>>>>> >> >> >>> > were you able to format hdfs properly???
>> >>>>>> >> >> >>> > I did'nt get your question,Do you mean HADOOP_HOME? or
>> >>>>>> >> >> >>> > where did
>> >>>>>> >> >> >>> > I
>> >>>>>> >> >> >>> > install
>> >>>>>> >> >> >>> > Hadoop?
>> >>>>>> >> >> &

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
>> 12/06/06 20:05:20 INFO common.Storage: Image file of size 95
>>>>>> >> >> >> saved
>>>>>> >> >> >> in 0
>>>>>> >> >> >> seconds.
>>>>>> >> >> >> 12/06/06 20:05:20 INFO common.Storage: Storage directory
>>>>>> >> >> >> /tmp/hadoop-babak/dfs/name has been successfully formatted.
>>>>>> >> >> >> 12/06/06 20:05:20 INFO namenode.NameNode: SHUTDOWN_MSG:
>>>>>> >> >> >> /
>>>>>> >> >> >> SHUTDOWN_MSG: Shutting down NameNode at ubuntu/127.0.1.1
>>>>>> >> >> >> /
>>>>>> >> >> >>
>>>>>> >> >> >> by this command:
>>>>>> >> >> >>
>>>>>> >> >> >> babak@ubuntu:~/Downloads/hadoop/bin$ start-dfs.sh
>>>>>> >> >> >>
>>>>>> >> >> >> this is the out put
>>>>>> >> >> >>
>>>>>> >> >> >> mkdir: kann Verzeichnis
>>>>>> >> >> >> „/home/babak/Downloads/hadoop/bin/../logs“
>>>>>> >> >> >> nicht
>>>>>> >> >> >> anlegen: Keine Berechtigung
>>>>>> >> >> >>
>>>>>> >> >> >> this out put(it's in german and it means no right to make
>>>>>> >> >> >> this
>>>>>> >> >> >> folder)
>>>>>> >> >> >>
>>>>>> >> >> >>
>>>>>> >> >> >> On Wed, Jun 6, 2012 at 7:59 PM, Mohammad Tariq
>>>>>> >> >> >> 
>>>>>> >> >> >> wrote:
>>>>>> >> >> >>>
>>>>>> >> >> >>> once we are done with the configuration, we need to format
>>>>>> >> >> >>> the file
>>>>>> >> >> >>> system..use this command to do that-
>>>>>> >> >> >>> bin/hadoop namenode -format
>>>>>> >> >> >>>
>>>>>> >> >> >>> after this, hadoop daemon processes should be started using
>>>>>> >> >> >>> following
>>>>>> >> >> >>> commands -
>>>>>> >> >> >>> bin/start-dfs.sh (it'll start NN & DN)
>>>>>> >> >> >>> bin/start-mapred.sh (it'll start JT & TT)
>>>>>> >> >> >>>
>>>>>> >> >> >>> after this use jps to check if everything is alright or
>>>>>> >> >> >>> point your
>>>>>> >> >> >>> browser to localhost:50070..if you further find any problem
>>>>>> >> >> >>> provide
>>>>>> >> >> >>> us
>>>>>> >> >> >>> with the error logs..:)
>>>>>> >> >> >>>
>>>>>> >> >> >>> Regards,
>>>>>> >> >> >>>     Mohammad Tariq
>>>>>> >> >> >>>
>>>>>> >> >> >>>
>>>>>> >> >> >>> On Wed, Jun 6, 2012 at 11:22 PM, Babak Bastan
>>>>>> >> >> >>> 
>>>>>> >> >> >>> wrote:
>>>>>> >> >> >>> > were you able to format hdfs properly???
>>>>>> >> >> >>> > I did'nt get your question,Do you mean HADOOP_HOME? or
>>>>>> >> >> >>> > where did
>>>>>> >> >> >>> > I
>>>>>> >> >> >>> > install
>>>>>> >> >> >>> > Hadoop?
>>>>>> >> >> >>> >
>>>>>> >> >> >>> > On Wed, Jun 6, 2012 at 7:49 PM, Mohammad Tariq
>>>>>

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
> >> babak@ubuntu:~/Downloads/hadoop/bin$ start-dfs.sh
>>>>> >> >> >>
>>>>> >> >> >> this is the out put
>>>>> >> >> >>
>>>>> >> >> >> mkdir: kann Verzeichnis
>>>>> >> >> >> „/home/babak/Downloads/hadoop/bin/../logs“
>>>>> >> >> >> nicht
>>>>> >> >> >> anlegen: Keine Berechtigung
>>>>> >> >> >>
>>>>> >> >> >> this out put(it's in german and it means no right to make this
>>>>> >> >> >> folder)
>>>>> >> >> >>
>>>>> >> >> >>
>>>>> >> >> >> On Wed, Jun 6, 2012 at 7:59 PM, Mohammad Tariq
>>>>> >> >> >> 
>>>>> >> >> >> wrote:
>>>>> >> >> >>>
>>>>> >> >> >>> once we are done with the configuration, we need to format
>>>>> >> >> >>> the file
>>>>> >> >> >>> system..use this command to do that-
>>>>> >> >> >>> bin/hadoop namenode -format
>>>>> >> >> >>>
>>>>> >> >> >>> after this, hadoop daemon processes should be started using
>>>>> >> >> >>> following
>>>>> >> >> >>> commands -
>>>>> >> >> >>> bin/start-dfs.sh (it'll start NN & DN)
>>>>> >> >> >>> bin/start-mapred.sh (it'll start JT & TT)
>>>>> >> >> >>>
>>>>> >> >> >>> after this use jps to check if everything is alright or point
>>>>> >> >> >>> your
>>>>> >> >> >>> browser to localhost:50070..if you further find any problem
>>>>> >> >> >>> provide
>>>>> >> >> >>> us
>>>>> >> >> >>> with the error logs..:)
>>>>> >> >> >>>
>>>>> >> >> >>> Regards,
>>>>> >> >> >>>     Mohammad Tariq
>>>>> >> >> >>>
>>>>> >> >> >>>
>>>>> >> >> >>> On Wed, Jun 6, 2012 at 11:22 PM, Babak Bastan
>>>>> >> >> >>> 
>>>>> >> >> >>> wrote:
>>>>> >> >> >>> > were you able to format hdfs properly???
>>>>> >> >> >>> > I did'nt get your question,Do you mean HADOOP_HOME? or
>>>>> >> >> >>> > where did
>>>>> >> >> >>> > I
>>>>> >> >> >>> > install
>>>>> >> >> >>> > Hadoop?
>>>>> >> >> >>> >
>>>>> >> >> >>> > On Wed, Jun 6, 2012 at 7:49 PM, Mohammad Tariq
>>>>> >> >> >>> > 
>>>>> >> >> >>> > wrote:
>>>>> >> >> >>> >>
>>>>> >> >> >>> >> if you are getting only this, it means your hadoop is not
>>>>> >> >> >>> >> running..were you able to format hdfs properly???
>>>>> >> >> >>> >>
>>>>> >> >> >>> >> Regards,
>>>>> >> >> >>> >>     Mohammad Tariq
>>>>> >> >> >>> >>
>>>>> >> >> >>> >>
>>>>> >> >> >>> >> On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan
>>>>> >> >> >>> >> 
>>>>> >> >> >>> >> wrote:
>>>>> >> >> >>> >> > Hi MohammadmI irun jps in my shel I can see this result:
>>>>> >> >> >>> >> > 2213 Jps
>>>>> >> >> >>> >> >
>>>>> >> >> >>> >> >
>>>>> >> >> >>> >> > On Wed, Jun 6, 201

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
> >> >>> after this use jps to check if everything is alright or point
>> >> >> >>> your
>> >> >> >>> browser to localhost:50070..if you further find any problem
>> >> >> >>> provide
>> >> >> >>> us
>> >> >> >>> with the error logs..:)
>> >> >> >>>
>> >> >> >>> Regards,
>> >> >> >>>     Mohammad Tariq
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> On Wed, Jun 6, 2012 at 11:22 PM, Babak Bastan
>> >> >> >>> 
>> >> >> >>> wrote:
>> >> >> >>> > were you able to format hdfs properly???
>> >> >> >>> > I did'nt get your question,Do you mean HADOOP_HOME? or where
>> >> >> >>> > did
>> >> >> >>> > I
>> >> >> >>> > install
>> >> >> >>> > Hadoop?
>> >> >> >>> >
>> >> >> >>> > On Wed, Jun 6, 2012 at 7:49 PM, Mohammad Tariq
>> >> >> >>> > 
>> >> >> >>> > wrote:
>> >> >> >>> >>
>> >> >> >>> >> if you are getting only this, it means your hadoop is not
>> >> >> >>> >> running..were you able to format hdfs properly???
>> >> >> >>> >>
>> >> >> >>> >> Regards,
>> >> >> >>> >>     Mohammad Tariq
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >> On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan
>> >> >> >>> >> 
>> >> >> >>> >> wrote:
>> >> >> >>> >> > Hi MohammadmI irun jps in my shel I can see this result:
>> >> >> >>> >> > 2213 Jps
>> >> >> >>> >> >
>> >> >> >>> >> >
>> >> >> >>> >> > On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq
>> >> >> >>> >> > 
>> >> >> >>> >> > wrote:
>> >> >> >>> >> >>
>> >> >> >>> >> >> you can also use "jps" command at your shell to see
>> >> >> >>> >> >> whether
>> >> >> >>> >> >> Hadoop
>> >> >> >>> >> >> processes are running or not.
>> >> >> >>> >> >>
>> >> >> >>> >> >> Regards,
>> >> >> >>> >> >>     Mohammad Tariq
>> >> >> >>> >> >>
>> >> >> >>> >> >>
>> >> >> >>> >> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq
>> >> >> >>> >> >> 
>> >> >> >>> >> >> wrote:
>> >> >> >>> >> >> > Hi Babak,
>> >> >> >>> >> >> >
>> >> >> >>> >> >> >  You have to type it in you web browser..Hadoop provides
>> >> >> >>> >> >> > us
>> >> >> >>> >> >> > a
>> >> >> >>> >> >> > web
>> >> >> >>> >> >> > GUI
>> >> >> >>> >> >> > that not only allows us to browse through the file
>> >> >> >>> >> >> > system,
>> >> >> >>> >> >> > but
>> >> >> >>> >> >> > to
>> >> >> >>> >> >> > download the files as well..Apart from that it also
>> >> >> >>> >> >> > provides a
>> >> >> >>> >> >> > web
>> >> >> >>> >> >> > GUI
>> >> >> >>> >> >> > that can be used to see the status of Jobtracker and
>> >> >> >>> >> >> > Tasktracker..When
>> >> >> >&g

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
mand at your shell to see whether
>> >> >>> >> >> Hadoop
>> >> >>> >> >> processes are running or not.
>> >> >>> >> >>
>> >> >>> >> >> Regards,
>> >> >>> >> >>     Mohammad Tariq
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq
>> >> >>> >> >> 
>> >> >>> >> >> wrote:
>> >> >>> >> >> > Hi Babak,
>> >> >>> >> >> >
>> >> >>> >> >> >  You have to type it in you web browser..Hadoop provides us
>> >> >>> >> >> > a
>> >> >>> >> >> > web
>> >> >>> >> >> > GUI
>> >> >>> >> >> > that not only allows us to browse through the file system,
>> >> >>> >> >> > but
>> >> >>> >> >> > to
>> >> >>> >> >> > download the files as well..Apart from that it also
>> >> >>> >> >> > provides a
>> >> >>> >> >> > web
>> >> >>> >> >> > GUI
>> >> >>> >> >> > that can be used to see the status of Jobtracker and
>> >> >>> >> >> > Tasktracker..When
>> >> >>> >> >> > you run a Hive or Pig job or a Mapreduce job, you can point
>> >> >>> >> >> > your
>> >> >>> >> >> > browser to http://localhost:50030 to see the status and
>> >> >>> >> >> > logs
>> >> >>> >> >> > of
>> >> >>> >> >> > your
>> >> >>> >> >> > job.
>> >> >>> >> >> >
>> >> >>> >> >> > Regards,
>> >> >>> >> >> >     Mohammad Tariq
>> >> >>> >> >> >
>> >> >>> >> >> >
>> >> >>> >> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan
>> >> >>> >> >> > 
>> >> >>> >> >> > wrote:
>> >> >>> >> >> >> Thank you shashwat for the answer,
>> >> >>> >> >> >> where should I type http://localhost:50070?
>> >> >>> >> >> >> I typed here: hive>http://localhost:50070 but nothing as
>> >> >>> >> >> >> result
>> >> >>> >> >> >>
>> >> >>> >> >> >>
>> >> >>> >> >> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
>> >> >>> >> >> >>  wrote:
>> >> >>> >> >> >>>
>> >> >>> >> >> >>> first type http://localhost:50070 whether this is opening
>> >> >>> >> >> >>> or
>> >> >>> >> >> >>> not
>> >> >>> >> >> >>> and
>> >> >>> >> >> >>> check
>> >> >>> >> >> >>> how many nodes are available, check some of the hadoop
>> >> >>> >> >> >>> shell
>> >> >>> >> >> >>> commands
>> >> >>> >> >> >>>
>> >> >>> >> >> >>>
>> >> >>> >> >> >>>
>> >> >>> >> >> >>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
>> >> >>> >> >> >>> run
>> >> >>> >> >> >>> example mapreduce task on hadoop take example from here
>> >> >>> >> >> >>>
>> >> >>> >> >> >>>
>> >> >>> >> >> >>>
>> >> >>> >> >> >>>
>> >> >>> >> >> >>>
>> >&

Re: Error while Creating Table in Hive

2012-06-06 Thread Babak Bastan
gt; >> > download the files as well..Apart from that it also
> provides a
> >> >>> >> >> > web
> >> >>> >> >> > GUI
> >> >>> >> >> > that can be used to see the status of Jobtracker and
> >> >>> >> >> > Tasktracker..When
> >> >>> >> >> > you run a Hive or Pig job or a Mapreduce job, you can point
> >> >>> >> >> > your
> >> >>> >> >> > browser to http://localhost:50030 to see the status and
> logs
> >> >>> >> >> > of
> >> >>> >> >> > your
> >> >>> >> >> > job.
> >> >>> >> >> >
> >> >>> >> >> > Regards,
> >> >>> >> >> > Mohammad Tariq
> >> >>> >> >> >
> >> >>> >> >> >
> >> >>> >> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan
> >> >>> >> >> > 
> >> >>> >> >> > wrote:
> >> >>> >> >> >> Thank you shashwat for the answer,
> >> >>> >> >> >> where should I type http://localhost:50070?
> >> >>> >> >> >> I typed here: hive>http://localhost:50070 but nothing as
> >> >>> >> >> >> result
> >> >>> >> >> >>
> >> >>> >> >> >>
> >> >>> >> >> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
> >> >>> >> >> >>  wrote:
> >> >>> >> >> >>>
> >> >>> >> >> >>> first type http://localhost:50070 whether this is
> opening or
> >> >>> >> >> >>> not
> >> >>> >> >> >>> and
> >> >>> >> >> >>> check
> >> >>> >> >> >>> how many nodes are available, check some of the hadoop
> shell
> >> >>> >> >> >>> commands
> >> >>> >> >> >>>
> >> >>> >> >> >>>
> >> >>> >> >> >>> from
> http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
> >> >>> >> >> >>> run
> >> >>> >> >> >>> example mapreduce task on hadoop take example from here
> >> >>> >> >> >>>
> >> >>> >> >> >>>
> >> >>> >> >> >>>
> >> >>> >> >> >>>
> >> >>> >> >> >>> :
> http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
> >> >>> >> >> >>>
> >> >>> >> >> >>> if all the above you can do sucessfully means hadoop is
> >> >>> >> >> >>> configured
> >> >>> >> >> >>> correctly
> >> >>> >> >> >>>
> >> >>> >> >> >>> Regards
> >> >>> >> >> >>> Shashwat
> >> >>> >> >> >>>
> >> >>> >> >> >>>
> >> >>> >> >> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan
> >> >>> >> >> >>> 
> >> >>> >> >> >>> wrote:
> >> >>> >> >> >>>>
> >> >>> >> >> >>>> no I'm not working on CDH.Is there a way to test if my
> >> >>> >> >> >>>> Hadoop
> >> >>> >> >> >>>> works
> >> >>> >> >> >>>> fine
> >> >>> >> >> >>>> or not?
> >> >>> >> >> >>>>
> >> >>> >> >> >>>>
> >> >>> >> >> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS
> >> >>> >> >> >>>> 
> >> >>> >> >> >>>> wrote:
> >> >>> >> >>

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
chnis „/home/babak/Downloads/hadoop/bin/../logs“
>> >> nicht
>> >> anlegen: Keine Berechtigung
>> >>
>> >> this out put(it's in german and it means no right to make this folder)
>> >>
>> >>
>> >> On Wed, Jun 6, 2012 at 7:59 PM, Mohammad Tariq 
>> >> wrote:
>> >>>
>> >>> once we are done with the configuration, we need to format the file
>> >>> system..use this command to do that-
>> >>> bin/hadoop namenode -format
>> >>>
>> >>> after this, hadoop daemon processes should be started using following
>> >>> commands -
>> >>> bin/start-dfs.sh (it'll start NN & DN)
>> >>> bin/start-mapred.sh (it'll start JT & TT)
>> >>>
>> >>> after this use jps to check if everything is alright or point your
>> >>> browser to localhost:50070..if you further find any problem provide us
>> >>> with the error logs..:)
>> >>>
>> >>> Regards,
>> >>>     Mohammad Tariq
>> >>>
>> >>>
>> >>> On Wed, Jun 6, 2012 at 11:22 PM, Babak Bastan 
>> >>> wrote:
>> >>> > were you able to format hdfs properly???
>> >>> > I did'nt get your question,Do you mean HADOOP_HOME? or where did I
>> >>> > install
>> >>> > Hadoop?
>> >>> >
>> >>> > On Wed, Jun 6, 2012 at 7:49 PM, Mohammad Tariq 
>> >>> > wrote:
>> >>> >>
>> >>> >> if you are getting only this, it means your hadoop is not
>> >>> >> running..were you able to format hdfs properly???
>> >>> >>
>> >>> >> Regards,
>> >>> >>     Mohammad Tariq
>> >>> >>
>> >>> >>
>> >>> >> On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan 
>> >>> >> wrote:
>> >>> >> > Hi MohammadmI irun jps in my shel I can see this result:
>> >>> >> > 2213 Jps
>> >>> >> >
>> >>> >> >
>> >>> >> > On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq
>> >>> >> > 
>> >>> >> > wrote:
>> >>> >> >>
>> >>> >> >> you can also use "jps" command at your shell to see whether
>> >>> >> >> Hadoop
>> >>> >> >> processes are running or not.
>> >>> >> >>
>> >>> >> >> Regards,
>> >>> >> >>     Mohammad Tariq
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq
>> >>> >> >> 
>> >>> >> >> wrote:
>> >>> >> >> > Hi Babak,
>> >>> >> >> >
>> >>> >> >> >  You have to type it in you web browser..Hadoop provides us a
>> >>> >> >> > web
>> >>> >> >> > GUI
>> >>> >> >> > that not only allows us to browse through the file system, but
>> >>> >> >> > to
>> >>> >> >> > download the files as well..Apart from that it also provides a
>> >>> >> >> > web
>> >>> >> >> > GUI
>> >>> >> >> > that can be used to see the status of Jobtracker and
>> >>> >> >> > Tasktracker..When
>> >>> >> >> > you run a Hive or Pig job or a Mapreduce job, you can point
>> >>> >> >> > your
>> >>> >> >> > browser to http://localhost:50030 to see the status and logs
>> >>> >> >> > of
>> >>> >> >> > your
>> >>> >> >> > job.
>> >>> >> >> >
>> >>> >> >> > Regards,
>> >>> >> >> >     Mohammad Tariq
>> >>> >> >> >
>> >>> >> >> >
>> >>> >> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan
>> >>> >> >> > 
>> >>> >> >> > wrote:
>> >>> >> >> >> Tha

Re: Error while Creating Table in Hive

2012-06-06 Thread Babak Bastan
.sh (it'll start NN & DN)
> >>> bin/start-mapred.sh (it'll start JT & TT)
> >>>
> >>> after this use jps to check if everything is alright or point your
> >>> browser to localhost:50070..if you further find any problem provide us
> >>> with the error logs..:)
> >>>
> >>> Regards,
> >>> Mohammad Tariq
> >>>
> >>>
> >>> On Wed, Jun 6, 2012 at 11:22 PM, Babak Bastan 
> wrote:
> >>> > were you able to format hdfs properly???
> >>> > I did'nt get your question,Do you mean HADOOP_HOME? or where did I
> >>> > install
> >>> > Hadoop?
> >>> >
> >>> > On Wed, Jun 6, 2012 at 7:49 PM, Mohammad Tariq 
> >>> > wrote:
> >>> >>
> >>> >> if you are getting only this, it means your hadoop is not
> >>> >> running..were you able to format hdfs properly???
> >>> >>
> >>> >> Regards,
> >>> >> Mohammad Tariq
> >>> >>
> >>> >>
> >>> >> On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan 
> >>> >> wrote:
> >>> >> > Hi MohammadmI irun jps in my shel I can see this result:
> >>> >> > 2213 Jps
> >>> >> >
> >>> >> >
> >>> >> > On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq <
> donta...@gmail.com>
> >>> >> > wrote:
> >>> >> >>
> >>> >> >> you can also use "jps" command at your shell to see whether
> Hadoop
> >>> >> >> processes are running or not.
> >>> >> >>
> >>> >> >> Regards,
> >>> >> >> Mohammad Tariq
> >>> >> >>
> >>> >> >>
> >>> >> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq <
> donta...@gmail.com>
> >>> >> >> wrote:
> >>> >> >> > Hi Babak,
> >>> >> >> >
> >>> >> >> >  You have to type it in you web browser..Hadoop provides us a
> web
> >>> >> >> > GUI
> >>> >> >> > that not only allows us to browse through the file system, but
> to
> >>> >> >> > download the files as well..Apart from that it also provides a
> web
> >>> >> >> > GUI
> >>> >> >> > that can be used to see the status of Jobtracker and
> >>> >> >> > Tasktracker..When
> >>> >> >> > you run a Hive or Pig job or a Mapreduce job, you can point
> your
> >>> >> >> > browser to http://localhost:50030 to see the status and logs
> of
> >>> >> >> > your
> >>> >> >> > job.
> >>> >> >> >
> >>> >> >> > Regards,
> >>> >> >> > Mohammad Tariq
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan <
> babak...@gmail.com>
> >>> >> >> > wrote:
> >>> >> >> >> Thank you shashwat for the answer,
> >>> >> >> >> where should I type http://localhost:50070?
> >>> >> >> >> I typed here: hive>http://localhost:50070 but nothing as
> result
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
> >>> >> >> >>  wrote:
> >>> >> >> >>>
> >>> >> >> >>> first type http://localhost:50070 whether this is opening
> or not
> >>> >> >> >>> and
> >>> >> >> >>> check
> >>> >> >> >>> how many nodes are available, check some of the hadoop shell
> >>> >> >> >>> commands
> >>> >> >> >>>
> >>> >> >> >>> from
> http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
> >>> >> >> >>> run
> >>> >> >> >>> example mapreduce task on hadoop take example from here
> >>> >> >> >>>
&

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
gt;>> >>
>>> >>
>>> >> On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan 
>>> >> wrote:
>>> >> > Hi MohammadmI irun jps in my shel I can see this result:
>>> >> > 2213 Jps
>>> >> >
>>> >> >
>>> >> > On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq 
>>> >> > wrote:
>>> >> >>
>>> >> >> you can also use "jps" command at your shell to see whether Hadoop
>>> >> >> processes are running or not.
>>> >> >>
>>> >> >> Regards,
>>> >> >>     Mohammad Tariq
>>> >> >>
>>> >> >>
>>> >> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq 
>>> >> >> wrote:
>>> >> >> > Hi Babak,
>>> >> >> >
>>> >> >> >  You have to type it in you web browser..Hadoop provides us a web
>>> >> >> > GUI
>>> >> >> > that not only allows us to browse through the file system, but to
>>> >> >> > download the files as well..Apart from that it also provides a web
>>> >> >> > GUI
>>> >> >> > that can be used to see the status of Jobtracker and
>>> >> >> > Tasktracker..When
>>> >> >> > you run a Hive or Pig job or a Mapreduce job, you can point your
>>> >> >> > browser to http://localhost:50030 to see the status and logs of
>>> >> >> > your
>>> >> >> > job.
>>> >> >> >
>>> >> >> > Regards,
>>> >> >> >     Mohammad Tariq
>>> >> >> >
>>> >> >> >
>>> >> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan 
>>> >> >> > wrote:
>>> >> >> >> Thank you shashwat for the answer,
>>> >> >> >> where should I type http://localhost:50070?
>>> >> >> >> I typed here: hive>http://localhost:50070 but nothing as result
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
>>> >> >> >>  wrote:
>>> >> >> >>>
>>> >> >> >>> first type http://localhost:50070 whether this is opening or not
>>> >> >> >>> and
>>> >> >> >>> check
>>> >> >> >>> how many nodes are available, check some of the hadoop shell
>>> >> >> >>> commands
>>> >> >> >>>
>>> >> >> >>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
>>> >> >> >>> run
>>> >> >> >>> example mapreduce task on hadoop take example from here
>>> >> >> >>>
>>> >> >> >>>
>>> >> >> >>>
>>> >> >> >>> : http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
>>> >> >> >>>
>>> >> >> >>> if all the above you can do sucessfully means hadoop is
>>> >> >> >>> configured
>>> >> >> >>> correctly
>>> >> >> >>>
>>> >> >> >>> Regards
>>> >> >> >>> Shashwat
>>> >> >> >>>
>>> >> >> >>>
>>> >> >> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan
>>> >> >> >>> 
>>> >> >> >>> wrote:
>>> >> >> >>>>
>>> >> >> >>>> no I'm not working on CDH.Is there a way to test if my Hadoop
>>> >> >> >>>> works
>>> >> >> >>>> fine
>>> >> >> >>>> or not?
>>> >> >> >>>>
>>> >> >> >>>>
>>> >> >> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS 
>>> >> >> >>>> wrote:
>>> >> >> >>>>>
>>> &

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
; >>     Mohammad Tariq
>> >> >>
>> >> >>
>> >> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq 
>> >> >> wrote:
>> >> >> > Hi Babak,
>> >> >> >
>> >> >> >  You have to type it in you web browser..Hadoop provides us a web
>> >> >> > GUI
>> >> >> > that not only allows us to browse through the file system, but to
>> >> >> > download the files as well..Apart from that it also provides a web
>> >> >> > GUI
>> >> >> > that can be used to see the status of Jobtracker and
>> >> >> > Tasktracker..When
>> >> >> > you run a Hive or Pig job or a Mapreduce job, you can point your
>> >> >> > browser to http://localhost:50030 to see the status and logs of
>> >> >> > your
>> >> >> > job.
>> >> >> >
>> >> >> > Regards,
>> >> >> >     Mohammad Tariq
>> >> >> >
>> >> >> >
>> >> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan 
>> >> >> > wrote:
>> >> >> >> Thank you shashwat for the answer,
>> >> >> >> where should I type http://localhost:50070?
>> >> >> >> I typed here: hive>http://localhost:50070 but nothing as result
>> >> >> >>
>> >> >> >>
>> >> >> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
>> >> >> >>  wrote:
>> >> >> >>>
>> >> >> >>> first type http://localhost:50070 whether this is opening or not
>> >> >> >>> and
>> >> >> >>> check
>> >> >> >>> how many nodes are available, check some of the hadoop shell
>> >> >> >>> commands
>> >> >> >>>
>> >> >> >>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
>> >> >> >>> run
>> >> >> >>> example mapreduce task on hadoop take example from here
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> : http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
>> >> >> >>>
>> >> >> >>> if all the above you can do sucessfully means hadoop is
>> >> >> >>> configured
>> >> >> >>> correctly
>> >> >> >>>
>> >> >> >>> Regards
>> >> >> >>> Shashwat
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan
>> >> >> >>> 
>> >> >> >>> wrote:
>> >> >> >>>>
>> >> >> >>>> no I'm not working on CDH.Is there a way to test if my Hadoop
>> >> >> >>>> works
>> >> >> >>>> fine
>> >> >> >>>> or not?
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS 
>> >> >> >>>> wrote:
>> >> >> >>>>>
>> >> >> >>>>> Hi Babak
>> >> >> >>>>>
>> >> >> >>>>> You gotta follow those instructions in the apace site to set
>> >> >> >>>>> up
>> >> >> >>>>> hadoop
>> >> >> >>>>> from scratch and ensure that hdfs is working first. You should
>> >> >> >>>>> be
>> >> >> >>>>> able to
>> >> >> >>>>> read and write files to hdfs before you do your next steps.
>> >> >> >>>>>
>> >> >> >>>>> Are you on CDH or apache distribution of hadoop? If it is CDH
>> >> >> >>>>> there
>> >> >> >>>>> are
>> >> >> >>>>> detailed instructions on Cloudera web site.
>> >> >> >>&

Re: Error while Creating Table in Hive

2012-06-06 Thread Babak Bastan
gt;> >> >>> first type http://localhost:50070 whether this is opening or not
> >> >> >>> and
> >> >> >>> check
> >> >> >>> how many nodes are available, check some of the hadoop shell
> >> >> >>> commands
> >> >> >>> from
> http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
> >> >> >>> run
> >> >> >>> example mapreduce task on hadoop take example from here
> >> >> >>>
> >> >> >>>
> >> >> >>> :
> http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
> >> >> >>>
> >> >> >>> if all the above you can do sucessfully means hadoop is
> configured
> >> >> >>> correctly
> >> >> >>>
> >> >> >>> Regards
> >> >> >>> Shashwat
> >> >> >>>
> >> >> >>>
> >> >> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan  >
> >> >> >>> wrote:
> >> >> >>>>
> >> >> >>>> no I'm not working on CDH.Is there a way to test if my Hadoop
> >> >> >>>> works
> >> >> >>>> fine
> >> >> >>>> or not?
> >> >> >>>>
> >> >> >>>>
> >> >> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS 
> >> >> >>>> wrote:
> >> >> >>>>>
> >> >> >>>>> Hi Babak
> >> >> >>>>>
> >> >> >>>>> You gotta follow those instructions in the apace site to set up
> >> >> >>>>> hadoop
> >> >> >>>>> from scratch and ensure that hdfs is working first. You should
> be
> >> >> >>>>> able to
> >> >> >>>>> read and write files to hdfs before you do your next steps.
> >> >> >>>>>
> >> >> >>>>> Are you on CDH or apache distribution of hadoop? If it is CDH
> >> >> >>>>> there
> >> >> >>>>> are
> >> >> >>>>> detailed instructions on Cloudera web site.
> >> >> >>>>>
> >> >> >>>>> Regards
> >> >> >>>>> Bejoy KS
> >> >> >>>>>
> >> >> >>>>> Sent from handheld, please excuse typos.
> >> >> >>>>> 
> >> >> >>>>> From: Babak Bastan 
> >> >> >>>>> Date: Tue, 5 Jun 2012 21:30:22 +0200
> >> >> >>>>> To: 
> >> >> >>>>> ReplyTo: user@hive.apache.org
> >> >> >>>>> Subject: Re: Error while Creating Table in Hive
> >> >> >>>>>
> >> >> >>>>> @Bejoy: I set the fs.default.name in the core-site.xml and I
> did
> >> >> >>>>> all
> >> >> >>>>> of
> >> >> >>>>> thing that was mentioned in the reference but no effect
> >> >> >>>>>
> >> >> >>>>> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan <
> babak...@gmail.com>
> >> >> >>>>> wrote:
> >> >> >>>>>>
> >> >> >>>>>> Ok sorry but that was my Mistake .I thought it works but no.
> >> >> >>>>>> I wrote the command without ; and then I think It works but
> with
> >> >> >>>>>> ;
> >> >> >>>>>> at
> >> >> >>>>>> the end of command
> >> >> >>>>>>
> >> >> >>>>>> CREATE TABLE pokes (foo INT, bar STRING);
> >> >> >>>>>>
> >> >> >>>>>> does'nt work
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>> On Tue, Jun 5, 2012 at 8:34 PM, shashwa

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
once we are done with the configuration, we need to format the file
system..use this command to do that-
bin/hadoop namenode -format

after this, hadoop daemon processes should be started using following commands -
bin/start-dfs.sh (it'll start NN & DN)
bin/start-mapred.sh (it'll start JT & TT)

after this use jps to check if everything is alright or point your
browser to localhost:50070..if you further find any problem provide us
with the error logs..:)

Regards,
    Mohammad Tariq


On Wed, Jun 6, 2012 at 11:22 PM, Babak Bastan  wrote:
> were you able to format hdfs properly???
> I did'nt get your question,Do you mean HADOOP_HOME? or where did I install
> Hadoop?
>
> On Wed, Jun 6, 2012 at 7:49 PM, Mohammad Tariq  wrote:
>>
>> if you are getting only this, it means your hadoop is not
>> running..were you able to format hdfs properly???
>>
>> Regards,
>>     Mohammad Tariq
>>
>>
>> On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan  wrote:
>> > Hi MohammadmI irun jps in my shel I can see this result:
>> > 2213 Jps
>> >
>> >
>> > On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq 
>> > wrote:
>> >>
>> >> you can also use "jps" command at your shell to see whether Hadoop
>> >> processes are running or not.
>> >>
>> >> Regards,
>> >>     Mohammad Tariq
>> >>
>> >>
>> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq 
>> >> wrote:
>> >> > Hi Babak,
>> >> >
>> >> >  You have to type it in you web browser..Hadoop provides us a web GUI
>> >> > that not only allows us to browse through the file system, but to
>> >> > download the files as well..Apart from that it also provides a web
>> >> > GUI
>> >> > that can be used to see the status of Jobtracker and
>> >> > Tasktracker..When
>> >> > you run a Hive or Pig job or a Mapreduce job, you can point your
>> >> > browser to http://localhost:50030 to see the status and logs of your
>> >> > job.
>> >> >
>> >> > Regards,
>> >> >     Mohammad Tariq
>> >> >
>> >> >
>> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan 
>> >> > wrote:
>> >> >> Thank you shashwat for the answer,
>> >> >> where should I type http://localhost:50070?
>> >> >> I typed here: hive>http://localhost:50070 but nothing as result
>> >> >>
>> >> >>
>> >> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
>> >> >>  wrote:
>> >> >>>
>> >> >>> first type http://localhost:50070 whether this is opening or not
>> >> >>> and
>> >> >>> check
>> >> >>> how many nodes are available, check some of the hadoop shell
>> >> >>> commands
>> >> >>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
>> >> >>> run
>> >> >>> example mapreduce task on hadoop take example from here
>> >> >>>
>> >> >>>
>> >> >>> : http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
>> >> >>>
>> >> >>> if all the above you can do sucessfully means hadoop is configured
>> >> >>> correctly
>> >> >>>
>> >> >>> Regards
>> >> >>> Shashwat
>> >> >>>
>> >> >>>
>> >> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan 
>> >> >>> wrote:
>> >> >>>>
>> >> >>>> no I'm not working on CDH.Is there a way to test if my Hadoop
>> >> >>>> works
>> >> >>>> fine
>> >> >>>> or not?
>> >> >>>>
>> >> >>>>
>> >> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS 
>> >> >>>> wrote:
>> >> >>>>>
>> >> >>>>> Hi Babak
>> >> >>>>>
>> >> >>>>> You gotta follow those instructions in the apace site to set up
>> >> >>>>> hadoop
>> >> >>>>> from scratch and ensure that 

Re: Error while Creating Table in Hive

2012-06-06 Thread Babak Bastan
*were you able to format hdfs properly???*
I did'nt get your question,Do you mean HADOOP_HOME? or where did I install
Hadoop?

On Wed, Jun 6, 2012 at 7:49 PM, Mohammad Tariq  wrote:

> if you are getting only this, it means your hadoop is not
> running..were you able to format hdfs properly???
>
> Regards,
> Mohammad Tariq
>
>
> On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan  wrote:
> > Hi MohammadmI irun jps in my shel I can see this result:
> > 2213 Jps
> >
> >
> > On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq 
> wrote:
> >>
> >> you can also use "jps" command at your shell to see whether Hadoop
> >> processes are running or not.
> >>
> >> Regards,
> >> Mohammad Tariq
> >>
> >>
> >> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq 
> >> wrote:
> >> > Hi Babak,
> >> >
> >> >  You have to type it in you web browser..Hadoop provides us a web GUI
> >> > that not only allows us to browse through the file system, but to
> >> > download the files as well..Apart from that it also provides a web GUI
> >> > that can be used to see the status of Jobtracker and Tasktracker..When
> >> > you run a Hive or Pig job or a Mapreduce job, you can point your
> >> > browser to http://localhost:50030 to see the status and logs of your
> >> > job.
> >> >
> >> > Regards,
> >> > Mohammad Tariq
> >> >
> >> >
> >> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan 
> wrote:
> >> >> Thank you shashwat for the answer,
> >> >> where should I type http://localhost:50070?
> >> >> I typed here: hive>http://localhost:50070 but nothing as result
> >> >>
> >> >>
> >> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
> >> >>  wrote:
> >> >>>
> >> >>> first type http://localhost:50070 whether this is opening or not
> and
> >> >>> check
> >> >>> how many nodes are available, check some of the hadoop shell
> commands
> >> >>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html
> run
> >> >>> example mapreduce task on hadoop take example from here
> >> >>>
> >> >>> :
> http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
> >> >>>
> >> >>> if all the above you can do sucessfully means hadoop is configured
> >> >>> correctly
> >> >>>
> >> >>> Regards
> >> >>> Shashwat
> >> >>>
> >> >>>
> >> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan 
> >> >>> wrote:
> >> >>>>
> >> >>>> no I'm not working on CDH.Is there a way to test if my Hadoop works
> >> >>>> fine
> >> >>>> or not?
> >> >>>>
> >> >>>>
> >> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS 
> wrote:
> >> >>>>>
> >> >>>>> Hi Babak
> >> >>>>>
> >> >>>>> You gotta follow those instructions in the apace site to set up
> >> >>>>> hadoop
> >> >>>>> from scratch and ensure that hdfs is working first. You should be
> >> >>>>> able to
> >> >>>>> read and write files to hdfs before you do your next steps.
> >> >>>>>
> >> >>>>> Are you on CDH or apache distribution of hadoop? If it is CDH
> there
> >> >>>>> are
> >> >>>>> detailed instructions on Cloudera web site.
> >> >>>>>
> >> >>>>> Regards
> >> >>>>> Bejoy KS
> >> >>>>>
> >> >>>>> Sent from handheld, please excuse typos.
> >> >>>>> 
> >> >>>>> From: Babak Bastan 
> >> >>>>> Date: Tue, 5 Jun 2012 21:30:22 +0200
> >> >>>>> To: 
> >> >>>>> ReplyTo: user@hive.apache.org
> >> >>>>> Subject: Re: Error while Creating Table in Hive
> >> >>>>>
> >> >>>>> @Bejoy: I set the fs.default.nam

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
if you are getting only this, it means your hadoop is not
running..were you able to format hdfs properly???

Regards,
    Mohammad Tariq


On Wed, Jun 6, 2012 at 11:17 PM, Babak Bastan  wrote:
> Hi MohammadmI irun jps in my shel I can see this result:
> 2213 Jps
>
>
> On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq  wrote:
>>
>> you can also use "jps" command at your shell to see whether Hadoop
>> processes are running or not.
>>
>> Regards,
>>     Mohammad Tariq
>>
>>
>> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq 
>> wrote:
>> > Hi Babak,
>> >
>> >  You have to type it in you web browser..Hadoop provides us a web GUI
>> > that not only allows us to browse through the file system, but to
>> > download the files as well..Apart from that it also provides a web GUI
>> > that can be used to see the status of Jobtracker and Tasktracker..When
>> > you run a Hive or Pig job or a Mapreduce job, you can point your
>> > browser to http://localhost:50030 to see the status and logs of your
>> > job.
>> >
>> > Regards,
>> >     Mohammad Tariq
>> >
>> >
>> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan  wrote:
>> >> Thank you shashwat for the answer,
>> >> where should I type http://localhost:50070?
>> >> I typed here: hive>http://localhost:50070 but nothing as result
>> >>
>> >>
>> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
>> >>  wrote:
>> >>>
>> >>> first type http://localhost:50070 whether this is opening or not and
>> >>> check
>> >>> how many nodes are available, check some of the hadoop shell commands
>> >>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html  run
>> >>> example mapreduce task on hadoop take example from here
>> >>>
>> >>> : http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
>> >>>
>> >>> if all the above you can do sucessfully means hadoop is configured
>> >>> correctly
>> >>>
>> >>> Regards
>> >>> Shashwat
>> >>>
>> >>>
>> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan 
>> >>> wrote:
>> >>>>
>> >>>> no I'm not working on CDH.Is there a way to test if my Hadoop works
>> >>>> fine
>> >>>> or not?
>> >>>>
>> >>>>
>> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS  wrote:
>> >>>>>
>> >>>>> Hi Babak
>> >>>>>
>> >>>>> You gotta follow those instructions in the apace site to set up
>> >>>>> hadoop
>> >>>>> from scratch and ensure that hdfs is working first. You should be
>> >>>>> able to
>> >>>>> read and write files to hdfs before you do your next steps.
>> >>>>>
>> >>>>> Are you on CDH or apache distribution of hadoop? If it is CDH there
>> >>>>> are
>> >>>>> detailed instructions on Cloudera web site.
>> >>>>>
>> >>>>> Regards
>> >>>>> Bejoy KS
>> >>>>>
>> >>>>> Sent from handheld, please excuse typos.
>> >>>>> 
>> >>>>> From: Babak Bastan 
>> >>>>> Date: Tue, 5 Jun 2012 21:30:22 +0200
>> >>>>> To: 
>> >>>>> ReplyTo: user@hive.apache.org
>> >>>>> Subject: Re: Error while Creating Table in Hive
>> >>>>>
>> >>>>> @Bejoy: I set the fs.default.name in the core-site.xml and I did all
>> >>>>> of
>> >>>>> thing that was mentioned in the reference but no effect
>> >>>>>
>> >>>>> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan 
>> >>>>> wrote:
>> >>>>>>
>> >>>>>> Ok sorry but that was my Mistake .I thought it works but no.
>> >>>>>> I wrote the command without ; and then I think It works but with ;
>> >>>>>> at
>> >>>>>> the end of command
>> >>>>>>
>> >>>>>> CREATE TABLE pokes (foo

Re: Error while Creating Table in Hive

2012-06-06 Thread Babak Bastan
Hi MohammadmI irun jps in my shel I can see this result:
2213 Jps


On Wed, Jun 6, 2012 at 7:44 PM, Mohammad Tariq  wrote:

> you can also use "jps" command at your shell to see whether Hadoop
> processes are running or not.
>
> Regards,
> Mohammad Tariq
>
>
> On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq 
> wrote:
> > Hi Babak,
> >
> >  You have to type it in you web browser..Hadoop provides us a web GUI
> > that not only allows us to browse through the file system, but to
> > download the files as well..Apart from that it also provides a web GUI
> > that can be used to see the status of Jobtracker and Tasktracker..When
> > you run a Hive or Pig job or a Mapreduce job, you can point your
> > browser to http://localhost:50030 to see the status and logs of your
> > job.
> >
> > Regards,
> > Mohammad Tariq
> >
> >
> > On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan  wrote:
> >> Thank you shashwat for the answer,
> >> where should I type http://localhost:50070?
> >> I typed here: hive>http://localhost:50070 but nothing as result
> >>
> >>
> >> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
> >>  wrote:
> >>>
> >>> first type http://localhost:50070 whether this is opening or not and
> check
> >>> how many nodes are available, check some of the hadoop shell commands
> >>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html  run
> >>> example mapreduce task on hadoop take example from here
> >>> :
> http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
> >>>
> >>> if all the above you can do sucessfully means hadoop is configured
> >>> correctly
> >>>
> >>> Regards
> >>> Shashwat
> >>>
> >>>
> >>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan 
> wrote:
> >>>>
> >>>> no I'm not working on CDH.Is there a way to test if my Hadoop works
> fine
> >>>> or not?
> >>>>
> >>>>
> >>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS  wrote:
> >>>>>
> >>>>> Hi Babak
> >>>>>
> >>>>> You gotta follow those instructions in the apace site to set up
> hadoop
> >>>>> from scratch and ensure that hdfs is working first. You should be
> able to
> >>>>> read and write files to hdfs before you do your next steps.
> >>>>>
> >>>>> Are you on CDH or apache distribution of hadoop? If it is CDH there
> are
> >>>>> detailed instructions on Cloudera web site.
> >>>>>
> >>>>> Regards
> >>>>> Bejoy KS
> >>>>>
> >>>>> Sent from handheld, please excuse typos.
> >>>>> 
> >>>>> From: Babak Bastan 
> >>>>> Date: Tue, 5 Jun 2012 21:30:22 +0200
> >>>>> To: 
> >>>>> ReplyTo: user@hive.apache.org
> >>>>> Subject: Re: Error while Creating Table in Hive
> >>>>>
> >>>>> @Bejoy: I set the fs.default.name in the core-site.xml and I did
> all of
> >>>>> thing that was mentioned in the reference but no effect
> >>>>>
> >>>>> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan 
> wrote:
> >>>>>>
> >>>>>> Ok sorry but that was my Mistake .I thought it works but no.
> >>>>>> I wrote the command without ; and then I think It works but with ;
> at
> >>>>>> the end of command
> >>>>>>
> >>>>>> CREATE TABLE pokes (foo INT, bar STRING);
> >>>>>>
> >>>>>> does'nt work
> >>>>>>
> >>>>>>
> >>>>>> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv
> >>>>>>  wrote:
> >>>>>>>
> >>>>>>> inside configuration. all properties will be inside the
> configuration
> >>>>>>> tags
> >>>>>>>
> >>>>>>>
> >>>>>>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan 
> >>>>>>> wrote:
> >>>>>>>>
> >>>>>>>> Thank you so much my friend your idee works fine(no

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
you can also use "jps" command at your shell to see whether Hadoop
processes are running or not.

Regards,
    Mohammad Tariq


On Wed, Jun 6, 2012 at 11:12 PM, Mohammad Tariq  wrote:
> Hi Babak,
>
>  You have to type it in you web browser..Hadoop provides us a web GUI
> that not only allows us to browse through the file system, but to
> download the files as well..Apart from that it also provides a web GUI
> that can be used to see the status of Jobtracker and Tasktracker..When
> you run a Hive or Pig job or a Mapreduce job, you can point your
> browser to http://localhost:50030 to see the status and logs of your
> job.
>
> Regards,
>     Mohammad Tariq
>
>
> On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan  wrote:
>> Thank you shashwat for the answer,
>> where should I type http://localhost:50070?
>> I typed here: hive>http://localhost:50070 but nothing as result
>>
>>
>> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
>>  wrote:
>>>
>>> first type http://localhost:50070 whether this is opening or not and check
>>> how many nodes are available, check some of the hadoop shell commands
>>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html  run
>>> example mapreduce task on hadoop take example from here
>>> : http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
>>>
>>> if all the above you can do sucessfully means hadoop is configured
>>> correctly
>>>
>>> Regards
>>> Shashwat
>>>
>>>
>>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan  wrote:
>>>>
>>>> no I'm not working on CDH.Is there a way to test if my Hadoop works fine
>>>> or not?
>>>>
>>>>
>>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS  wrote:
>>>>>
>>>>> Hi Babak
>>>>>
>>>>> You gotta follow those instructions in the apace site to set up hadoop
>>>>> from scratch and ensure that hdfs is working first. You should be able to
>>>>> read and write files to hdfs before you do your next steps.
>>>>>
>>>>> Are you on CDH or apache distribution of hadoop? If it is CDH there are
>>>>> detailed instructions on Cloudera web site.
>>>>>
>>>>> Regards
>>>>> Bejoy KS
>>>>>
>>>>> Sent from handheld, please excuse typos.
>>>>> 
>>>>> From: Babak Bastan 
>>>>> Date: Tue, 5 Jun 2012 21:30:22 +0200
>>>>> To: 
>>>>> ReplyTo: user@hive.apache.org
>>>>> Subject: Re: Error while Creating Table in Hive
>>>>>
>>>>> @Bejoy: I set the fs.default.name in the core-site.xml and I did all of
>>>>> thing that was mentioned in the reference but no effect
>>>>>
>>>>> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan  wrote:
>>>>>>
>>>>>> Ok sorry but that was my Mistake .I thought it works but no.
>>>>>> I wrote the command without ; and then I think It works but with ; at
>>>>>> the end of command
>>>>>>
>>>>>> CREATE TABLE pokes (foo INT, bar STRING);
>>>>>>
>>>>>> does'nt work
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv
>>>>>>  wrote:
>>>>>>>
>>>>>>> inside configuration. all properties will be inside the configuration
>>>>>>> tags
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Thank you so much my friend your idee works fine(no error) you are
>>>>>>>> the best :)
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan 
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> It must be inside the  or outside
>>>>>>>>> this?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv
>>>>>>>>>  wrote:
>>>>>>>>>>
>>>>>>>>>

Re: Error while Creating Table in Hive

2012-06-06 Thread Mohammad Tariq
Hi Babak,

  You have to type it in you web browser..Hadoop provides us a web GUI
that not only allows us to browse through the file system, but to
download the files as well..Apart from that it also provides a web GUI
that can be used to see the status of Jobtracker and Tasktracker..When
you run a Hive or Pig job or a Mapreduce job, you can point your
browser to http://localhost:50030 to see the status and logs of your
job.

Regards,
    Mohammad Tariq


On Wed, Jun 6, 2012 at 8:28 PM, Babak Bastan  wrote:
> Thank you shashwat for the answer,
> where should I type http://localhost:50070?
> I typed here: hive>http://localhost:50070 but nothing as result
>
>
> On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv
>  wrote:
>>
>> first type http://localhost:50070 whether this is opening or not and check
>> how many nodes are available, check some of the hadoop shell commands
>> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html  run
>> example mapreduce task on hadoop take example from here
>> : http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
>>
>> if all the above you can do sucessfully means hadoop is configured
>> correctly
>>
>> Regards
>> Shashwat
>>
>>
>> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan  wrote:
>>>
>>> no I'm not working on CDH.Is there a way to test if my Hadoop works fine
>>> or not?
>>>
>>>
>>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS  wrote:
>>>>
>>>> Hi Babak
>>>>
>>>> You gotta follow those instructions in the apace site to set up hadoop
>>>> from scratch and ensure that hdfs is working first. You should be able to
>>>> read and write files to hdfs before you do your next steps.
>>>>
>>>> Are you on CDH or apache distribution of hadoop? If it is CDH there are
>>>> detailed instructions on Cloudera web site.
>>>>
>>>> Regards
>>>> Bejoy KS
>>>>
>>>> Sent from handheld, please excuse typos.
>>>> 
>>>> From: Babak Bastan 
>>>> Date: Tue, 5 Jun 2012 21:30:22 +0200
>>>> To: 
>>>> ReplyTo: user@hive.apache.org
>>>> Subject: Re: Error while Creating Table in Hive
>>>>
>>>> @Bejoy: I set the fs.default.name in the core-site.xml and I did all of
>>>> thing that was mentioned in the reference but no effect
>>>>
>>>> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan  wrote:
>>>>>
>>>>> Ok sorry but that was my Mistake .I thought it works but no.
>>>>> I wrote the command without ; and then I think It works but with ; at
>>>>> the end of command
>>>>>
>>>>> CREATE TABLE pokes (foo INT, bar STRING);
>>>>>
>>>>> does'nt work
>>>>>
>>>>>
>>>>> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv
>>>>>  wrote:
>>>>>>
>>>>>> inside configuration. all properties will be inside the configuration
>>>>>> tags
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan 
>>>>>> wrote:
>>>>>>>
>>>>>>> Thank you so much my friend your idee works fine(no error) you are
>>>>>>> the best :)
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> It must be inside the  or outside
>>>>>>>> this?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv
>>>>>>>>  wrote:
>>>>>>>>>
>>>>>>>>> It will be inside hive/conf
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Thanks sShashwat, and where is this hive-site.xml
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv
>>>>>>>>>>  wrote:
>>>>>>>>>>>
>&g

Re: Error while Creating Table in Hive

2012-06-06 Thread Babak Bastan
Thank you shashwat for the answer,
where should I type http://localhost:50070?
I typed here: hive>http://localhost:50070 but nothing as result

On Wed, Jun 6, 2012 at 3:32 PM, shashwat shriparv  wrote:

> first type http://localhost:50070 whether this is opening or not and
> check how many nodes are available, check some of the hadoop shell commands
> from http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html  run
> example mapreduce task on hadoop take example from here :
> http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/
>
> if all the above you can do sucessfully means hadoop is configured
> correctly
>
> Regards
> Shashwat
>
>
> On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan  wrote:
>
>> no I'm not working on CDH.Is there a way to test if my Hadoop works fine
>> or not?
>>
>>
>> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS  wrote:
>>
>>> **
>>> Hi Babak
>>>
>>> You gotta follow those instructions in the apace site to set up hadoop
>>> from scratch and ensure that hdfs is working first. You should be able to
>>> read and write files to hdfs before you do your next steps.
>>>
>>> Are you on CDH or apache distribution of hadoop? If it is CDH there are
>>> detailed instructions on Cloudera web site.
>>>
>>> Regards
>>> Bejoy KS
>>>
>>> Sent from handheld, please excuse typos.
>>> --
>>> *From: * Babak Bastan 
>>> *Date: *Tue, 5 Jun 2012 21:30:22 +0200
>>> *To: *
>>> *ReplyTo: * user@hive.apache.org
>>> *Subject: *Re: Error while Creating Table in Hive
>>>
>>> @Bejoy: I set the fs.default.name in the core-site.xml and I did all of
>>> thing that was mentioned in the reference but no effect
>>>
>>> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan  wrote:
>>>
>>>> Ok sorry but that was my Mistake .I thought it works but no.
>>>> I wrote the command without ; and then I think It works but with ; at
>>>> the end of command
>>>>
>>>> CREATE TABLE pokes (foo INT, bar STRING);
>>>>
>>>> does'nt work
>>>>
>>>>
>>>> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv <
>>>> dwivedishash...@gmail.com> wrote:
>>>>
>>>>> inside configuration. all properties will be inside the configuration
>>>>> tags
>>>>>
>>>>>
>>>>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan wrote:
>>>>>
>>>>>> Thank you so much my friend your idee works fine(no error) you are
>>>>>> the best :)
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan wrote:
>>>>>>
>>>>>>> It must be inside the  or outside
>>>>>>> this?
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
>>>>>>> dwivedishash...@gmail.com> wrote:
>>>>>>>
>>>>>>>> It will be inside hive/conf
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thanks sShashwat, and where is this hive-site.xml
>>>>>>>>>
>>>>>>>>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>>>>>>>>> dwivedishash...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> set
>>>>>>>>>>
>>>>>>>>>> hive.metastore.warehouse.dir in hive-site.xml
>>>>>>>>>>
>>>>>>>>>> 
>>>>>>>>>>   hive.metastore.local
>>>>>>>>>>   true
>>>>>>>>>> 
>>>>>>>>>>
>>>>>>>>>> hive.metastore.warehouse.dir
>>>>>>>>>>/home//hivefolder
>>>>>>>>>>location of default database for the
>>>>>>>>>> warehouse
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan >>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello Experts ,
>>>>>>>>>>>
>>>>>>>>>>> I'm new in Hive .When try to create a test Table in Hive I get
>>>>>>>>>>> an error.I want to run this command:
>>>>>>>>>>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>>>>>>>>>>> but this error occured:
>>>>>>>>>>> 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.apache.hadoop.hive.ql.exec.DDLTask
>>>>>>>>>>> How can I solve this Problem?
>>>>>>>>>>> Thank you so much
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ∞
>>>>>>>>>> Shashwat Shriparv
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>> ∞
>>>>>>>> Shashwat Shriparv
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>> ∞
>>>>> Shashwat Shriparv
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
>
> --
>
>
> ∞
> Shashwat Shriparv
>
>
>


Re: Error while Creating Table in Hive

2012-06-06 Thread shashwat shriparv
first type http://localhost:50070 whether this is opening or not and check
how many nodes are available, check some of the hadoop shell commands from
http://hadoop.apache.org/common/docs/r0.18.3/hdfs_shell.html  run example
mapreduce task on hadoop take example from here :
http://www.michael-noll.com/blog/2011/04/09/benchmarking-and-stress-testing-an-hadoop-cluster-with-terasort-testdfsio-nnbench-mrbench/

if all the above you can do sucessfully means hadoop is configured correctly

Regards
Shashwat

On Wed, Jun 6, 2012 at 1:30 AM, Babak Bastan  wrote:

> no I'm not working on CDH.Is there a way to test if my Hadoop works fine
> or not?
>
>
> On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS  wrote:
>
>> **
>> Hi Babak
>>
>> You gotta follow those instructions in the apace site to set up hadoop
>> from scratch and ensure that hdfs is working first. You should be able to
>> read and write files to hdfs before you do your next steps.
>>
>> Are you on CDH or apache distribution of hadoop? If it is CDH there are
>> detailed instructions on Cloudera web site.
>>
>> Regards
>> Bejoy KS
>>
>> Sent from handheld, please excuse typos.
>> --
>> *From: * Babak Bastan 
>> *Date: *Tue, 5 Jun 2012 21:30:22 +0200
>> *To: *
>> *ReplyTo: * user@hive.apache.org
>> *Subject: *Re: Error while Creating Table in Hive
>>
>> @Bejoy: I set the fs.default.name in the core-site.xml and I did all of
>> thing that was mentioned in the reference but no effect
>>
>> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan  wrote:
>>
>>> Ok sorry but that was my Mistake .I thought it works but no.
>>> I wrote the command without ; and then I think It works but with ; at
>>> the end of command
>>>
>>> CREATE TABLE pokes (foo INT, bar STRING);
>>>
>>> does'nt work
>>>
>>>
>>> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv <
>>> dwivedishash...@gmail.com> wrote:
>>>
>>>> inside configuration. all properties will be inside the configuration
>>>> tags
>>>>
>>>>
>>>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan wrote:
>>>>
>>>>> Thank you so much my friend your idee works fine(no error) you are the
>>>>> best :)
>>>>>
>>>>>
>>>>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan wrote:
>>>>>
>>>>>> It must be inside the  or outside this?
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
>>>>>> dwivedishash...@gmail.com> wrote:
>>>>>>
>>>>>>> It will be inside hive/conf
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan wrote:
>>>>>>>
>>>>>>>> Thanks sShashwat, and where is this hive-site.xml
>>>>>>>>
>>>>>>>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>>>>>>>> dwivedishash...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> set
>>>>>>>>>
>>>>>>>>> hive.metastore.warehouse.dir in hive-site.xml
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>>   hive.metastore.local
>>>>>>>>>   true
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>> hive.metastore.warehouse.dir
>>>>>>>>>/home//hivefolder
>>>>>>>>>location of default database for the
>>>>>>>>> warehouse
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hello Experts ,
>>>>>>>>>>
>>>>>>>>>> I'm new in Hive .When try to create a test Table in Hive I get an
>>>>>>>>>> error.I want to run this command:
>>>>>>>>>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>>>>>>>>>> but this error occured:
>>>>>>>>>> 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.apache.hadoop.hive.ql.exec.DDLTask
>>>>>>>>>> How can I solve this Problem?
>>>>>>>>>> Thank you so much
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ∞
>>>>>>>>> Shashwat Shriparv
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> ∞
>>>>>>> Shashwat Shriparv
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> ∞
>>>> Shashwat Shriparv
>>>>
>>>>
>>>>
>>>
>>
>


-- 


∞
Shashwat Shriparv


Re: Error while Creating Table in Hive

2012-06-05 Thread Babak Bastan
no I'm not working on CDH.Is there a way to test if my Hadoop works fine or
not?

On Tue, Jun 5, 2012 at 9:55 PM, Bejoy KS  wrote:

> **
> Hi Babak
>
> You gotta follow those instructions in the apace site to set up hadoop
> from scratch and ensure that hdfs is working first. You should be able to
> read and write files to hdfs before you do your next steps.
>
> Are you on CDH or apache distribution of hadoop? If it is CDH there are
> detailed instructions on Cloudera web site.
>
> Regards
> Bejoy KS
>
> Sent from handheld, please excuse typos.
> --
> *From: * Babak Bastan 
> *Date: *Tue, 5 Jun 2012 21:30:22 +0200
> *To: *
> *ReplyTo: * user@hive.apache.org
> *Subject: *Re: Error while Creating Table in Hive
>
> @Bejoy: I set the fs.default.name in the core-site.xml and I did all of
> thing that was mentioned in the reference but no effect
>
> On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan  wrote:
>
>> Ok sorry but that was my Mistake .I thought it works but no.
>> I wrote the command without ; and then I think It works but with ; at the
>> end of command
>>
>> CREATE TABLE pokes (foo INT, bar STRING);
>>
>> does'nt work
>>
>>
>> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv <
>> dwivedishash...@gmail.com> wrote:
>>
>>> inside configuration. all properties will be inside the configuration
>>> tags
>>>
>>>
>>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan wrote:
>>>
>>>> Thank you so much my friend your idee works fine(no error) you are the
>>>> best :)
>>>>
>>>>
>>>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan wrote:
>>>>
>>>>> It must be inside the  or outside this?
>>>>>
>>>>>
>>>>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
>>>>> dwivedishash...@gmail.com> wrote:
>>>>>
>>>>>> It will be inside hive/conf
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan wrote:
>>>>>>
>>>>>>> Thanks sShashwat, and where is this hive-site.xml
>>>>>>>
>>>>>>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>>>>>>> dwivedishash...@gmail.com> wrote:
>>>>>>>
>>>>>>>> set
>>>>>>>>
>>>>>>>> hive.metastore.warehouse.dir in hive-site.xml
>>>>>>>>
>>>>>>>> 
>>>>>>>>   hive.metastore.local
>>>>>>>>   true
>>>>>>>> 
>>>>>>>>
>>>>>>>> hive.metastore.warehouse.dir
>>>>>>>>/home//hivefolder
>>>>>>>>location of default database for the
>>>>>>>> warehouse
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hello Experts ,
>>>>>>>>>
>>>>>>>>> I'm new in Hive .When try to create a test Table in Hive I get an
>>>>>>>>> error.I want to run this command:
>>>>>>>>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>>>>>>>>> but this error occured:
>>>>>>>>> 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.apache.hadoop.hive.ql.exec.DDLTask
>>>>>>>>> How can I solve this Problem?
>>>>>>>>> Thank you so much
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>> ∞
>>>>>>>> Shashwat Shriparv
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> ∞
>>>>>> Shashwat Shriparv
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>> ∞
>>> Shashwat Shriparv
>>>
>>>
>>>
>>
>


Re: Error while Creating Table in Hive

2012-06-05 Thread Bejoy KS
Hi Babak

You gotta follow those instructions in the apace site to set up hadoop from 
scratch and ensure that hdfs is working first. You should be able to read and 
write files to hdfs before you do your next steps.

Are you on CDH or apache distribution of hadoop? If it is CDH there are 
detailed instructions on Cloudera web site.


Regards
Bejoy KS

Sent from handheld, please excuse typos.

-Original Message-
From: Babak Bastan 
Date: Tue, 5 Jun 2012 21:30:22 
To: 
Reply-To: user@hive.apache.org
Subject: Re: Error while Creating Table in Hive

@Bejoy: I set the fs.default.name in the core-site.xml and I did all of
thing that was mentioned in the reference but no effect

On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan  wrote:

> Ok sorry but that was my Mistake .I thought it works but no.
> I wrote the command without ; and then I think It works but with ; at the
> end of command
>
> CREATE TABLE pokes (foo INT, bar STRING);
>
> does'nt work
>
>
> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv <
> dwivedishash...@gmail.com> wrote:
>
>> inside configuration. all properties will be inside the configuration tags
>>
>>
>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan  wrote:
>>
>>> Thank you so much my friend your idee works fine(no error) you are the
>>> best :)
>>>
>>>
>>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan  wrote:
>>>
>>>> It must be inside the  or outside this?
>>>>
>>>>
>>>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
>>>> dwivedishash...@gmail.com> wrote:
>>>>
>>>>> It will be inside hive/conf
>>>>>
>>>>>
>>>>> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan wrote:
>>>>>
>>>>>> Thanks sShashwat, and where is this hive-site.xml
>>>>>>
>>>>>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>>>>>> dwivedishash...@gmail.com> wrote:
>>>>>>
>>>>>>> set
>>>>>>>
>>>>>>> hive.metastore.warehouse.dir in hive-site.xml
>>>>>>>
>>>>>>> 
>>>>>>>   hive.metastore.local
>>>>>>>   true
>>>>>>> 
>>>>>>>
>>>>>>> hive.metastore.warehouse.dir
>>>>>>>/home//hivefolder
>>>>>>>location of default database for the
>>>>>>> warehouse
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan wrote:
>>>>>>>
>>>>>>>> Hello Experts ,
>>>>>>>>
>>>>>>>> I'm new in Hive .When try to create a test Table in Hive I get an
>>>>>>>> error.I want to run this command:
>>>>>>>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>>>>>>>> but this error occured:
>>>>>>>> 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.apache.hadoop.hive.ql.exec.DDLTask
>>>>>>>> How can I solve this Problem?
>>>>>>>> Thank you so much
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> ∞
>>>>>>> Shashwat Shriparv
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>> ∞
>>>>> Shashwat Shriparv
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>
>>
>> ∞
>> Shashwat Shriparv
>>
>>
>>
>



Re: Error while Creating Table in Hive

2012-06-05 Thread Babak Bastan
@Bejoy: I set the fs.default.name in the core-site.xml and I did all of
thing that was mentioned in the reference but no effect

On Tue, Jun 5, 2012 at 8:43 PM, Babak Bastan  wrote:

> Ok sorry but that was my Mistake .I thought it works but no.
> I wrote the command without ; and then I think It works but with ; at the
> end of command
>
> CREATE TABLE pokes (foo INT, bar STRING);
>
> does'nt work
>
>
> On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv <
> dwivedishash...@gmail.com> wrote:
>
>> inside configuration. all properties will be inside the configuration tags
>>
>>
>> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan  wrote:
>>
>>> Thank you so much my friend your idee works fine(no error) you are the
>>> best :)
>>>
>>>
>>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan  wrote:
>>>
 It must be inside the  or outside this?


 On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
 dwivedishash...@gmail.com> wrote:

> It will be inside hive/conf
>
>
> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan wrote:
>
>> Thanks sShashwat, and where is this hive-site.xml
>>
>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>> dwivedishash...@gmail.com> wrote:
>>
>>> set
>>>
>>> hive.metastore.warehouse.dir in hive-site.xml
>>>
>>> 
>>>   hive.metastore.local
>>>   true
>>> 
>>>
>>> hive.metastore.warehouse.dir
>>>/home//hivefolder
>>>location of default database for the
>>> warehouse
>>>
>>>
>>>
>>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan wrote:
>>>
 Hello Experts ,

 I'm new in Hive .When try to create a test Table in Hive I get an
 error.I want to run this command:
 *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
 but this error occured:
 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.apache.hadoop.hive.ql.exec.DDLTask
 How can I solve this Problem?
 Thank you so much

>>>
>>>
>>>
>>> --
>>>
>>>
>>> ∞
>>> Shashwat Shriparv
>>>
>>>
>>>
>>
>
>
> --
>
>
> ∞
> Shashwat Shriparv
>
>
>

>>>
>>
>>
>> --
>>
>>
>> ∞
>> Shashwat Shriparv
>>
>>
>>
>


Re: Error while Creating Table in Hive

2012-06-05 Thread Babak Bastan
Ok sorry but that was my Mistake .I thought it works but no.
I wrote the command without ; and then I think It works but with ; at the
end of command

CREATE TABLE pokes (foo INT, bar STRING);

does'nt work


On Tue, Jun 5, 2012 at 8:34 PM, shashwat shriparv  wrote:

> inside configuration. all properties will be inside the configuration tags
>
>
> On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan  wrote:
>
>> Thank you so much my friend your idee works fine(no error) you are the
>> best :)
>>
>>
>> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan  wrote:
>>
>>> It must be inside the  or outside this?
>>>
>>>
>>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
>>> dwivedishash...@gmail.com> wrote:
>>>
 It will be inside hive/conf


 On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan wrote:

> Thanks sShashwat, and where is this hive-site.xml
>
> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
> dwivedishash...@gmail.com> wrote:
>
>> set
>>
>> hive.metastore.warehouse.dir in hive-site.xml
>>
>> 
>>   hive.metastore.local
>>   true
>> 
>>
>> hive.metastore.warehouse.dir
>>/home//hivefolder
>>location of default database for the
>> warehouse
>>
>>
>>
>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan wrote:
>>
>>> Hello Experts ,
>>>
>>> I'm new in Hive .When try to create a test Table in Hive I get an
>>> error.I want to run this command:
>>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>>> but this error occured:
>>> 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.apache.hadoop.hive.ql.exec.DDLTask
>>> How can I solve this Problem?
>>> Thank you so much
>>>
>>
>>
>>
>> --
>>
>>
>> ∞
>> Shashwat Shriparv
>>
>>
>>
>


 --


 ∞
 Shashwat Shriparv



>>>
>>
>
>
> --
>
>
> ∞
> Shashwat Shriparv
>
>
>


Re: Error while Creating Table in Hive

2012-06-05 Thread shashwat shriparv
inside configuration. all properties will be inside the configuration tags

On Tue, Jun 5, 2012 at 11:53 PM, Babak Bastan  wrote:

> Thank you so much my friend your idee works fine(no error) you are the
> best :)
>
>
> On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan  wrote:
>
>> It must be inside the  or outside this?
>>
>>
>> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
>> dwivedishash...@gmail.com> wrote:
>>
>>> It will be inside hive/conf
>>>
>>>
>>> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan wrote:
>>>
 Thanks sShashwat, and where is this hive-site.xml

 On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
 dwivedishash...@gmail.com> wrote:

> set
>
> hive.metastore.warehouse.dir in hive-site.xml
>
> 
>   hive.metastore.local
>   true
> 
>
> hive.metastore.warehouse.dir
>/home//hivefolder
>location of default database for the
> warehouse
>
>
>
> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan wrote:
>
>> Hello Experts ,
>>
>> I'm new in Hive .When try to create a test Table in Hive I get an
>> error.I want to run this command:
>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>> but this error occured:
>> 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.apache.hadoop.hive.ql.exec.DDLTask
>> How can I solve this Problem?
>> Thank you so much
>>
>
>
>
> --
>
>
> ∞
> Shashwat Shriparv
>
>
>

>>>
>>>
>>> --
>>>
>>>
>>> ∞
>>> Shashwat Shriparv
>>>
>>>
>>>
>>
>


-- 


∞
Shashwat Shriparv


Re: Error while Creating Table in Hive

2012-06-05 Thread Babak Bastan
Thank you so much my friend your idee works fine(no error) you are the best
:)

On Tue, Jun 5, 2012 at 8:20 PM, Babak Bastan  wrote:

> It must be inside the  or outside this?
>
>
> On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv <
> dwivedishash...@gmail.com> wrote:
>
>> It will be inside hive/conf
>>
>>
>> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan  wrote:
>>
>>> Thanks sShashwat, and where is this hive-site.xml
>>>
>>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>>> dwivedishash...@gmail.com> wrote:
>>>
 set

 hive.metastore.warehouse.dir in hive-site.xml

 
   hive.metastore.local
   true
 

 hive.metastore.warehouse.dir
/home//hivefolder
location of default database for the
 warehouse



 On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan wrote:

> Hello Experts ,
>
> I'm new in Hive .When try to create a test Table in Hive I get an
> error.I want to run this command:
> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
> but this error occured:
> 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.apache.hadoop.hive.ql.exec.DDLTask
> How can I solve this Problem?
> Thank you so much
>



 --


 ∞
 Shashwat Shriparv



>>>
>>
>>
>> --
>>
>>
>> ∞
>> Shashwat Shriparv
>>
>>
>>
>


Re: Error while Creating Table in Hive

2012-06-05 Thread Babak Bastan
It must be inside the  or outside this?

On Tue, Jun 5, 2012 at 8:15 PM, shashwat shriparv  wrote:

> It will be inside hive/conf
>
>
> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan  wrote:
>
>> Thanks sShashwat, and where is this hive-site.xml
>>
>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>> dwivedishash...@gmail.com> wrote:
>>
>>> set
>>>
>>> hive.metastore.warehouse.dir in hive-site.xml
>>>
>>> 
>>>   hive.metastore.local
>>>   true
>>> 
>>>
>>> hive.metastore.warehouse.dir
>>>/home//hivefolder
>>>location of default database for the
>>> warehouse
>>>
>>>
>>>
>>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan wrote:
>>>
 Hello Experts ,

 I'm new in Hive .When try to create a test Table in Hive I get an
 error.I want to run this command:
 *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
 but this error occured:
 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.apache.hadoop.hive.ql.exec.DDLTask
 How can I solve this Problem?
 Thank you so much

>>>
>>>
>>>
>>> --
>>>
>>>
>>> ∞
>>> Shashwat Shriparv
>>>
>>>
>>>
>>
>
>
> --
>
>
> ∞
> Shashwat Shriparv
>
>
>


Re: Error while Creating Table in Hive

2012-06-05 Thread shashwat shriparv
/etc/hive/conf/hive-site.xml

check out at above folder there you make changes

for help i am sending you link

https://ccp.cloudera.com/display/CDHDOC/Hive+Installation

On Tue, Jun 5, 2012 at 11:45 PM, shashwat shriparv <
dwivedishash...@gmail.com> wrote:

> It will be inside hive/conf
>
>
> On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan  wrote:
>
>> Thanks sShashwat, and where is this hive-site.xml
>>
>> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
>> dwivedishash...@gmail.com> wrote:
>>
>>> set
>>>
>>> hive.metastore.warehouse.dir in hive-site.xml
>>>
>>> 
>>>   hive.metastore.local
>>>   true
>>> 
>>>
>>> hive.metastore.warehouse.dir
>>>/home//hivefolder
>>>location of default database for the
>>> warehouse
>>>
>>>
>>>
>>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan wrote:
>>>
 Hello Experts ,

 I'm new in Hive .When try to create a test Table in Hive I get an
 error.I want to run this command:
 *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
 but this error occured:
 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.apache.hadoop.hive.ql.exec.DDLTask
 How can I solve this Problem?
 Thank you so much

>>>
>>>
>>>
>>> --
>>>
>>>
>>> ∞
>>> Shashwat Shriparv
>>>
>>>
>>>
>>
>
>
> --
>
>
> ∞
> Shashwat Shriparv
>
>
>


-- 


∞
Shashwat Shriparv


Re: Error while Creating Table in Hive

2012-06-05 Thread shashwat shriparv
It will be inside hive/conf

On Tue, Jun 5, 2012 at 11:43 PM, Babak Bastan  wrote:

> Thanks sShashwat, and where is this hive-site.xml
>
> On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv <
> dwivedishash...@gmail.com> wrote:
>
>> set
>>
>> hive.metastore.warehouse.dir in hive-site.xml
>>
>> 
>>   hive.metastore.local
>>   true
>> 
>>
>> hive.metastore.warehouse.dir
>>/home//hivefolder
>>location of default database for the
>> warehouse
>>
>>
>>
>> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan  wrote:
>>
>>> Hello Experts ,
>>>
>>> I'm new in Hive .When try to create a test Table in Hive I get an
>>> error.I want to run this command:
>>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>>> but this error occured:
>>> 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.apache.hadoop.hive.ql.exec.DDLTask
>>> How can I solve this Problem?
>>> Thank you so much
>>>
>>
>>
>>
>> --
>>
>>
>> ∞
>> Shashwat Shriparv
>>
>>
>>
>


-- 


∞
Shashwat Shriparv


Re: Error while Creating Table in Hive

2012-06-05 Thread Babak Bastan
Thanks sShashwat, and where is this hive-site.xml

On Tue, Jun 5, 2012 at 8:02 PM, shashwat shriparv  wrote:

> set
>
> hive.metastore.warehouse.dir in hive-site.xml
>
> 
>   hive.metastore.local
>   true
> 
>
> hive.metastore.warehouse.dir
>/home//hivefolder
>location of default database for the
> warehouse
>
>
>
> On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan  wrote:
>
>> Hello Experts ,
>>
>> I'm new in Hive .When try to create a test Table in Hive I get an error.I
>> want to run this command:
>> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
>> but this error occured:
>> 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.apache.hadoop.hive.ql.exec.DDLTask
>> How can I solve this Problem?
>> Thank you so much
>>
>
>
>
> --
>
>
> ∞
> Shashwat Shriparv
>
>
>


Re: Error while Creating Table in Hive

2012-06-05 Thread shashwat shriparv
set

hive.metastore.warehouse.dir in hive-site.xml


  hive.metastore.local
  true


hive.metastore.warehouse.dir
   /home//hivefolder
   location of default database for the
warehouse
   


On Tue, Jun 5, 2012 at 10:43 PM, Babak Bastan  wrote:

> Hello Experts ,
>
> I'm new in Hive .When try to create a test Table in Hive I get an error.I
> want to run this command:
> *CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
> but this error occured:
> 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.apache.hadoop.hive.ql.exec.DDLTask
> How can I solve this Problem?
> Thank you so much
>



-- 


∞
Shashwat Shriparv


Re: Error while Creating Table in Hive

2012-06-05 Thread Bejoy Ks
HI Babak

It looks like a hadoop configuration problem for me. Have you configured your 
'fs.default.name'  in core-site.xl to point to hdfs:// instead of file:/// ? If 
not that is likely to be the issue. Also if you are usinh hdfs for first time 
there are other steps like formatting namenode and all to be performed.

http://hadoop.apache.org/common/docs/r0.20.2/quickstart.html

Ensure your hadoop installation is fully working before you get on to hive.



Regards
Bejoy KS






 From: Babak Bastan 
To: user@hive.apache.org 
Sent: Tuesday, June 5, 2012 10:43 PM
Subject: Error while Creating Table in Hive
 

Hello Experts ,

I'm new in Hive .When try to create a test Table in Hive I get an error.I want 
to run this command:
CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);
but this error occured:
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.apache.hadoop.hive.ql.exec.DDLTask
How can I solve this Problem?
Thank you so much

Error while Creating Table in Hive

2012-06-05 Thread Babak Bastan
Hello Experts ,

I'm new in Hive .When try to create a test Table in Hive I get an error.I
want to run this command:
*CREATE TABLE Test (DateT STRING, Url STRING, Content STRING);*
but this error occured:
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.apache.hadoop.hive.ql.exec.DDLTask
How can I solve this Problem?
Thank you so much