Thanks a lot Thomas! That was very useful!

On 17 June 2015 at 20:04, Thomas D'Silva <[email protected]> wrote:

> If you are running a main class you can use the -cp option to specify
> the classpath.
> For squirrel maybe you can try to modify squirrel-sql.sh and add the
> hbase site location to the -cp flag that is used while starting
> squirrel.
>
> On Wed, Jun 17, 2015 at 11:35 AM, Yiannis Gkoufas <[email protected]>
> wrote:
> > Hi Thomas,
> >
> > thanks for the reply! So whats the case for squirel?
> > Or running a main class (which connects to phoenix) from a jar file?
> >
> > Thanks a lot!
> >
> > On 17 June 2015 at 19:31, Thomas D'Silva <[email protected]> wrote:
> >>
> >> Yiannis
> >>
> >> hbase-site.xml needs to be on the client's CLASSPATH in order to get
> >> picked up or else it will use the default timeout.
> >> When using sqlline it sets the CLASSPATH to the HBASE_CONF_PATH
> >> environment variable which default to the current directory.
> >> Try running sqlline directly from the bin directory.
> >>
> >> -Thomas
> >>
> >> On Wed, Jun 17, 2015 at 3:30 AM, Yiannis Gkoufas <[email protected]>
> >> wrote:
> >> > Hi there,
> >> >
> >> > I have failed to understand from the documentation where exactly to
> set
> >> > the
> >> > client configuration.
> >> > For the server, I think is clear that I have to modify hbase-site.xml
> of
> >> > my
> >> > hbase cluster.
> >> > But what is the case for the client? It requires to have
> hbase-site.xml
> >> > somewhere in the classpath?
> >> > Also how to apply those changes to sqlline.py ?
> >> > For instance, I was trying to use UPDATE STATISTICS on a pretty big
> >> > table
> >> > and I was getting timeout exceptions.
> >> >
> >> > Thanks a lot!
> >
> >
>

Reply via email to