hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyam Sarkar <shyam_sar...@yahoo.com>
Subject Re: Call sequence
Date Wed, 11 Mar 2009 22:17:37 GMT

Thank you. 


--- On Wed, 3/11/09, Prasad Chakka <prasad@facebook.com> wrote:

> From: Prasad Chakka <prasad@facebook.com>
> Subject: Re: Call sequence
> To: "hive-dev@hadoop.apache.org" <hive-dev@hadoop.apache.org>, "shyam_sarkar@yahoo.com"
<shyam_sarkar@yahoo.com>
> Date: Wednesday, March 11, 2009, 3:11 PM
> Hi Shyam,
> 
> I find Eclipse especially useful for these kind of things.
> Follow the instructions at
> http://wiki.apache.org/hadoop/Hive/GettingStarted/EclipseSetup
> and run a unit test in debug mode and observe the stack.
> 
> Thanks,
> Prasad
> 
> 
> ________________________________
> From: Ashish Thusoo <athusoo@facebook.com>
> Reply-To: <hive-dev@hadoop.apache.org>
> Date: Wed, 11 Mar 2009 15:08:13 -0700
> To: <hive-dev@hadoop.apache.org>,
> <shyam_sarkar@yahoo.com>
> Subject: RE: Call sequence
> 
> That should be Driver.java. Look at the run() method. That
> calls ParseDriver.parse() to get the AST. And them
> sem.analyze() to do semantic analysis, optimization and plan
> generation. Finally it goes through the Task list and runs
> the tasks according to the dependencies.
> 
> Ashish
> 
> -----Original Message-----
> From: Shyam Sarkar [mailto:shyam_sarkar@yahoo.com]
> Sent: Wednesday, March 11, 2009 2:49 PM
> To: hive-dev@hadoop.apache.org
> Subject: Call sequence
> 
> 
> Hello,
> 
> I am trying to understand the call sequence of Java classes
> from the top level (command processor). I can see Parser and
> Lexer generated by Antlr. Can someone please help me on the
> call sequence ?  Where is the front level command processor
> that collects a query as a string and then calls parser?
> 
> thanks,
> shyam_sarkar@yahoo.com


      

Mime
View raw message