Hi Ian, I got your point. Thank you very much for the clarification.
Regards, *Erandi Ganepola* Undergraduate BSc. Management and Information Technology (IT Sp.) University of Kelaniya, Sri Lanka <https://www.linkedin.com/in/erandiganepola/> <https://github.com/erandiganepola> <https://twitter.com/erandiganepola> On Tue, Jul 18, 2017 at 5:18 AM, Ian Maxon <[email protected]> wrote: > Hi Erandi, > > For 1. , VXQuery isn't really started by the CCDriver at the moment. > VXQuery either starts the CC and NC or connects to a remote CC and > sends a compiled query to it. > > For 2. , The REST server will be part of the CC if it implements > CCApplication and the CC is provided with the right config to know to > load it on start. So, basically it shouldn't have to be managed > separately at all. > > - Ian > > On Mon, Jul 17, 2017 at 3:49 AM, Erandi Ganepola > <[email protected]> wrote: > > Hi all, > > > > This is related to the discussion me and Preston had in the REST server > PR > > [1]. The REST server needs to be started along with the VXQuery server. I > > have several doubts needs to be clarified before moving on. > > > > 1. As per my understanding, VXQuery server is started by CCDriver (one > from > > hyracks) class. For me to start the REST server as well alongside, I have > > to write a class wrapping that class. Am I correct? > > > > 2. Currently, starting cluster controllers, stopping them and starting > node > > controllers are done by 3 different classes, CCDriver, NCDriver and > > VXQueryClusterShutdown. If I'm to start/stop REST server along with them, > > all of them needs to be taken to one place (At least cluster start/stop). > > What do you think on that? > > > > Please give me your valuable opinions and enlighten me if I have missed > > anything here. When this matter gets sorted out, I can finish off the > REST > > server implementation and move on with the CLI and the web interface. > > > > [1] https://github.com/apache/vxquery/pull/172#discussion_r127507841 > > > > Thanks and regards, > > > > *Erandi Ganepola* > > Undergraduate > > BSc. Management and Information Technology (IT Sp.) > > University of Kelaniya, Sri Lanka > > > > <https://www.linkedin.com/in/erandiganepola/> > > <https://github.com/erandiganepola> <https://twitter.com/ > erandiganepola> >
