hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasad Chakka <pra...@facebook.com>
Subject Re: Call sequence
Date Wed, 11 Mar 2009 22:11:34 GMT
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.


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.


-----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


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


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message