Hi Preston,

Thank you very much for your quick reply and sorry for the spelling mistake
on my email.
But i used same file name(test.xq) for my execution and but its
still didn't work. Then i again cloned the code base and executed same
query. Now it is working.
Now I going to analyse the code further. So I think you may be kind enough
for help me for that.

Thanks.

*Best Regards.*

*Dilanka Rathnayake,*
*Department of Computer Engineering,*

*Faculty of Engineering,**University of Peradeniya,*
*Sri Lanka.*


* <https://lk.linkedin.com/in/dilankamr>
<https://www.facebook.com/Dilankamr>    *

On Sat, Feb 27, 2016 at 11:27 PM, Preston Carman <[email protected]>
wrote:

> Dilanka,
>
> First double check your using the correct file name. In your e-mail you use
> both ".xq" and ".sq". I typically the run VXQuery from the project home
> directly with the query file relative from this location.
>
> Second, the VXQuery cluster is set up separately from executing a query.
> Check out the cluster instructions [1]. The VXQuery cli will create a local
> cluster instance for the query execution when the cluster settings are not
> provided. Its not required to set up a cluster. If you do set up cluster,
> you must have it up and running before running your query. The client ip
> address is used by the CLI to talk to the cluster. The cluster ip address
> is used by the cluster for internally communication. You can think about it
> as a public (client ip) and private (cluster ip) address for the cluster.
>
> Hope this helps,
> Preston
>
>
> [1] http://vxquery.apache.org/user_cluster_installation.html
>
> On Fri, Feb 26, 2016 at 11:27 PM, Dilanka Rathnayake <[email protected]>
> wrote:
>
> > Hi All,
> >
> > I am beginner for 'Apache VXQuery'. I downloaded 'Apache VXQuery' and
> > installed it. First time when I Execute a query it executed without
> error.
> > But now if I run the same query it gives error called 'Exception in
> thread
> > "main" java.io.FileNotFoundException: File 'test.xq' does not exist'. the
> > 'test.sq' is the file that contains query and it is locate in the
> > folder where I run the terminal.Is this location incorrect?
> >
> > And is that compulsory to install cluster before running a query. I have
> no
> > idea what are the  <client_ip> and <cluster_ip> in master and slave nodes
> > to create a configuration xml. Please help me...
> >
> > *Best Regards.*
> >
> > *Dilanka Rathnayake,*
> > *Department of Computer Engineering,*
> >
> > *Faculty of Engineering,**University of Peradeniya,*
> > *Sri Lanka.*
> >
> >
> > * <https://lk.linkedin.com/in/dilankamr>
> > <https://www.facebook.com/Dilankamr>    *
> >
>

Reply via email to