Before running queries, a compile method will be called in class org.apache.hadoop.hive.ql.Driver. I think we can take some useful code out of this method.
Qiang 2013/1/7 Edward Capriolo <edlinuxg...@gmail.com> > I think a simple way would be to try tacking an explain in front of it. > Explains do not map reduce so they should be synchronous. > > Sent from my iPad > > On Jan 6, 2013, at 1:58 PM, Manish Malhotra <manish.hadoop.w...@gmail.com> > wrote: > > https://github.com/anjuke/hwi/issues/2 > > Added an issue for "Integrating HWI with Oozie" .. > its not an issue but a feature request. Please review and see if it make > sense atleast in long term. > > Plus i want to check 1 more usecase: > > 1. Query compilation: When user writes query on the UI, does it give > compilation problem in synchronous way instead of scheduling a query that > is not correct? > > Regards, > Manish > > > On Sun, Jan 6, 2013 at 10:45 AM, Manish Malhotra < > manish.hadoop.w...@gmail.com> wrote: > >> Thanks Edward for explaining .... >> Im also very much interested in building a robust tool for bringing HIVE >> more into Enterprise world where any Data Analyst / ETL developer can use >> it. >> >> Regards, >> Manish >> >> >> On Sun, Jan 6, 2013 at 9:10 AM, Edward Capriolo <edlinuxg...@gmail.com>wrote: >> >>> The hive code is apache licensed. If you want to add you work to hive >>> simple open a jira on http://issues.apache.org/jira/hive and produce a >>> patch that will apply to hive trunk. That will start the process. >>> >>> >>> >>> >>> On Saturday, January 5, 2013, Qiang Wang <wsxy...@gmail.com> wrote: >>> > Hi Manish: >>> > Glad to talk with you. >>> > 1. We are willing and trying to make it an open source project >>> although we're not familiar with how to do so. We will study the licences >>> and chose a proper one. >>> > 2. If Apache Hive agree to add this to the codebase, we >>> will definitely do this. I think this HWI is not good enough yet. >>> > 3. ThreadPool is used to run queries. So synchronous mode can be >>> achieved by setting its size to 1. >>> > Regards, >>> > Qiang >>> > >>> > 2013/1/6 Manish Malhotra <manish.hadoop.w...@gmail.com> >>> >> >>> >> Thanks Quiang, >>> >> >>> >> And glad that somebody already doing the improvement. Sure let me try >>> it out. >>> >> Quick questions: >>> >> >>> >> 1. What is the license of this HWI version? Can somebody else >>> contribute to this as a true open source software and use it and make it >>> available for community as well? >>> >> 2. Any plans to merge this or add to Apache Hive codebase. >>> >> 3. Does it has synchronous mode of running queries or only scheduling >>> / async way? >>> >> Thanks for your reply and time, >>> >> Regards, >>> >> Manish >>> >> >>> >> On Fri, Jan 4, 2013 at 9:34 PM, Qiang Wang <wsxy...@gmail.com> wrote: >>> >>> >>> >>> Hi Manish: >>> >>> >>> >>> Glad to receive your email because we are making efforts on HWI. >>> >>> We have improved the orignal and added some features and putted it >>> on github: >>> >>> https://github.com/anjuke/hwi >>> >>> >>> >>> It's far from mature and standard, but it's improving and has >>> already deployed for our company to use. >>> >>> After all, have a try and give some advice if you're interested in >>> it. >>> >>> Thanks >>> >>> Qiang >>> >>> >>> >>> 2013/1/5 Manish Malhotra <manish.hadoop.w...@gmail.com> >>> >>>> >>> >>>> Hi All, >>> >>>> >>> >>>> We are exploring HWI to be used in PROD environment for adhoc >>> queries etc. >>> >>>> Want to check out in the hive community that can somebody share >>> there experience while using the HWI in prod or any environment in terms of >>> its stability and performance. >>> >>>> Also evaluating to enhance to make it more useful with different >>> features. >>> >>>> Thanks for your time and help !! >>> >>>> Regards, >>> >>>> Manish >>> >>>> >>> >>>> >>> >>> >>> >> >>> > >>> > >>> >> >> >