Apologies for the delay Min.. The HiveServer code calls the metastore thrift api to get the metadata. The Hive.class in ql also talks to the metastore api to get the metadata. Not sure if I follow your question though?
Ashish ________________________________ From: Min Zhou [mailto:[email protected]] Sent: Wednesday, May 13, 2009 6:07 PM To: hive-user Subject: Re: Is it possible hiveserver both be a server and a client of itself? Is there anyone can answer my question? Thanks in advanced! On Sun, May 10, 2009 at 12:00 AM, Min Zhou <[email protected]<mailto:[email protected]>> wrote: Hi guys, I found that HiveServer can fetch metadata thourgh Hive class after generated a task like DDLTask, and meanwhile Hive class is a client who ask HiveServer for metadata. So I guess it may be possible hiveserver both be a server and a client of itself, am I right? Thanks, Min -- My research interests are distributed systems, parallel computing and bytecode based virtual machine. My profile: http://www.linkedin.com/in/coderplay My blog: http://coderplay.javaeye.com -- My research interests are distributed systems, parallel computing and bytecode based virtual machine. My profile: http://www.linkedin.com/in/coderplay My blog: http://coderplay.javaeye.com
