You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@asterixdb.apache.org by Yingyi Bu <bu...@gmail.com> on 2015/09/23 01:13:53 UTC

mandatory java_home in cluster configuration?

I just noticed that in the latest asterixdb master, java_home in a cluster
configuration file is mandatory.

It used to be that a trial user can run a local test asterixdb instance
without changing anything in configuration files.  But now it's no longer
the case -- a user needs to manually set the java_home.

I wonder why the system cannot use $JAVA_HOME environment variable if the
java_home is not present in the config, since in the beginning of the
install documentation a user has already been asked to set the $JAVA_HOME:
https://asterix-jenkins.ics.uci.edu/job/asterix-test-full/site/asterix-doc/install.html

Best,
Yingyi

Re: mandatory java_home in cluster configuration?

Posted by Yingyi Bu <bu...@gmail.com>.
Ahh, it looks I somehow missed "managix configure":-)
Yeah, it works correctly with "managix configure".
Thanks!

Best,
Yingyi

On Wed, Sep 23, 2015 at 11:23 PM, abdullah alamoudi <ba...@gmail.com>
wrote:

> Hi Yingyi,
> On my machine, I never needed to set up java_home and I think, although I
> am not 100% sure about this, that "managix configure" takes care of setting
> the correct $JAVA_HOME path.
>
> Cheers,
> Abdullah.
>
> Amoudi, Abdullah.
>
> On Wed, Sep 23, 2015 at 2:13 AM, Yingyi Bu <bu...@gmail.com> wrote:
>
> > I just noticed that in the latest asterixdb master, java_home in a
> cluster
> > configuration file is mandatory.
> >
> > It used to be that a trial user can run a local test asterixdb instance
> > without changing anything in configuration files.  But now it's no longer
> > the case -- a user needs to manually set the java_home.
> >
> > I wonder why the system cannot use $JAVA_HOME environment variable if the
> > java_home is not present in the config, since in the beginning of the
> > install documentation a user has already been asked to set the
> $JAVA_HOME:
> >
> >
> https://asterix-jenkins.ics.uci.edu/job/asterix-test-full/site/asterix-doc/install.html
> >
> > Best,
> > Yingyi
> >
>

Re: mandatory java_home in cluster configuration?

Posted by abdullah alamoudi <ba...@gmail.com>.
Hi Yingyi,
On my machine, I never needed to set up java_home and I think, although I
am not 100% sure about this, that "managix configure" takes care of setting
the correct $JAVA_HOME path.

Cheers,
Abdullah.

Amoudi, Abdullah.

On Wed, Sep 23, 2015 at 2:13 AM, Yingyi Bu <bu...@gmail.com> wrote:

> I just noticed that in the latest asterixdb master, java_home in a cluster
> configuration file is mandatory.
>
> It used to be that a trial user can run a local test asterixdb instance
> without changing anything in configuration files.  But now it's no longer
> the case -- a user needs to manually set the java_home.
>
> I wonder why the system cannot use $JAVA_HOME environment variable if the
> java_home is not present in the config, since in the beginning of the
> install documentation a user has already been asked to set the $JAVA_HOME:
>
> https://asterix-jenkins.ics.uci.edu/job/asterix-test-full/site/asterix-doc/install.html
>
> Best,
> Yingyi
>