You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by Steve Varnau <st...@esgyn.com> on 2019/03/05 20:40:02 UTC
workstation instance change
Trafodion developers,
FYI. I just merged TRAFODION-3272 changes to master. These mostly affect clustered-installed instances, since it changes the locations of TRAF_CONF to /etc/trafodion/conf, as well as the default locations of TRAF_LOG and TRAF_VAR. (cdl and cdt functions continue to work, of course).
The locations of DCS and REST conf directories also changed, so that they are located relative to TRAF_CONF. This created a small conflict between install_local_hadoop modifying config files and the makefile packaging that packages the default config files. To resolve this and to allow good packages be built in same workspace as install_local_hadoop, the setting for TRAF_CONF on workstation instances was changed to be under the local_hadoop directory.
This mostly does not affect regular usage, since there is little need to change the default config files. But I wanted to give this heads-up to you.
Also, I re-defined the cdc function that was doing something very outdated to instead change to the TRAF_CONF directory and reduce the need to remember where it is in the various environments.
--Steve
Re: RE: workstation instance change
Posted by "shengchen.ma@esgyn.cn" <sh...@esgyn.cn>.
hi all:
I also find the log dir of dcs & rest changed, they used in their installed dir, now they are in `cdl`
shengchen.ma@esgyn.cn
From: Steve Varnau
Date: 2019-03-06 07:17
To: dev@trafodion.apache.org
Subject: RE: workstation instance change
Some typos in previous post. Those cp command flags should all be -r (or -rf).
Updated:
source env.sh # or whatever sqenv file you are using.
echo $TRAF_CONF # should see local_hadoop in path
cp -r $TRAF_HOME/conf $TRAF_CONF
cp -r $DCS_INSTALL_DIR/conf $TRAF_CONF/dcs
cp -r $REST_INSTALL_DIR/conf $TRAF_CONF/rest
--Steve
> -----Original Message-----
> From: Steve Varnau <st...@esgyn.com>
> Sent: Tuesday, March 5, 2019 2:26 PM
> To: dev@trafodion.apache.org
> Subject: RE: workstation instance change
>
> External
>
> Fair question.
>
> If you don't want to do fresh install_local_hadoop &
> install_traf_components, you could do some quick changes to your
> environment to convert to the new layout:
>
> source env.sh # or whatever sqenv file you are using.
> echo $TRAF_CONF # should see local_hadoop in path
> cp -r $TRAF_HOME/conf $TRAF_CONF
> cp -f $DCS_INSTALL_DIR/conf $TRAF_CONF/dcs
> cp -f $REST_INSTALL_DIR/conf $TRRAF_CONF/rest
>
> --Steve
>
> > -----Original Message-----
> > From: Dave Birdsall <da...@esgyn.com>
> > Sent: Tuesday, March 5, 2019 1:00 PM
> > To: dev@trafodion.apache.org
> > Subject: RE: workstation instance change
> >
> > External
> >
> > Hi,
> >
> > What effect should we see?
> >
> > If we do a git fetch origin and do a make, will our existing instances break?
> Do
> > we need to do a fresh install_local_hadoop?
> >
> > Thanks,
> >
> > Dave
> >
> > -----Original Message-----
> > From: Steve Varnau <st...@esgyn.com>
> > Sent: Tuesday, March 5, 2019 12:40 PM
> > To: dev@trafodion.apache.org
> > Subject: workstation instance change
> >
> > External
> >
> > Trafodion developers,
> >
> > FYI. I just merged TRAFODION-3272 changes to master. These mostly
> affect
> > clustered-installed instances, since it changes the locations of TRAF_CONF
> to
> > /etc/trafodion/conf, as well as the default locations of TRAF_LOG and
> > TRAF_VAR. (cdl and cdt functions continue to work, of course).
> >
> > The locations of DCS and REST conf directories also changed, so that they
> are
> > located relative to TRAF_CONF. This created a small conflict between
> > install_local_hadoop modifying config files and the makefile packaging that
> > packages the default config files. To resolve this and to allow good
> packages
> > be built in same workspace as install_local_hadoop, the setting for
> > TRAF_CONF on workstation instances was changed to be under the
> > local_hadoop directory.
> >
> > This mostly does not affect regular usage, since there is little need to
> change
> > the default config files. But I wanted to give this heads-up to you.
> >
> > Also, I re-defined the cdc function that was doing something very outdated
> > to instead change to the TRAF_CONF directory and reduce the need to
> > remember where it is in the various environments.
> >
> > --Steve
RE: workstation instance change
Posted by Steve Varnau <st...@esgyn.com>.
Some typos in previous post. Those cp command flags should all be -r (or -rf).
Updated:
source env.sh # or whatever sqenv file you are using.
echo $TRAF_CONF # should see local_hadoop in path
cp -r $TRAF_HOME/conf $TRAF_CONF
cp -r $DCS_INSTALL_DIR/conf $TRAF_CONF/dcs
cp -r $REST_INSTALL_DIR/conf $TRAF_CONF/rest
--Steve
> -----Original Message-----
> From: Steve Varnau <st...@esgyn.com>
> Sent: Tuesday, March 5, 2019 2:26 PM
> To: dev@trafodion.apache.org
> Subject: RE: workstation instance change
>
> External
>
> Fair question.
>
> If you don't want to do fresh install_local_hadoop &
> install_traf_components, you could do some quick changes to your
> environment to convert to the new layout:
>
> source env.sh # or whatever sqenv file you are using.
> echo $TRAF_CONF # should see local_hadoop in path
> cp -r $TRAF_HOME/conf $TRAF_CONF
> cp -f $DCS_INSTALL_DIR/conf $TRAF_CONF/dcs
> cp -f $REST_INSTALL_DIR/conf $TRRAF_CONF/rest
>
> --Steve
>
> > -----Original Message-----
> > From: Dave Birdsall <da...@esgyn.com>
> > Sent: Tuesday, March 5, 2019 1:00 PM
> > To: dev@trafodion.apache.org
> > Subject: RE: workstation instance change
> >
> > External
> >
> > Hi,
> >
> > What effect should we see?
> >
> > If we do a git fetch origin and do a make, will our existing instances break?
> Do
> > we need to do a fresh install_local_hadoop?
> >
> > Thanks,
> >
> > Dave
> >
> > -----Original Message-----
> > From: Steve Varnau <st...@esgyn.com>
> > Sent: Tuesday, March 5, 2019 12:40 PM
> > To: dev@trafodion.apache.org
> > Subject: workstation instance change
> >
> > External
> >
> > Trafodion developers,
> >
> > FYI. I just merged TRAFODION-3272 changes to master. These mostly
> affect
> > clustered-installed instances, since it changes the locations of TRAF_CONF
> to
> > /etc/trafodion/conf, as well as the default locations of TRAF_LOG and
> > TRAF_VAR. (cdl and cdt functions continue to work, of course).
> >
> > The locations of DCS and REST conf directories also changed, so that they
> are
> > located relative to TRAF_CONF. This created a small conflict between
> > install_local_hadoop modifying config files and the makefile packaging that
> > packages the default config files. To resolve this and to allow good
> packages
> > be built in same workspace as install_local_hadoop, the setting for
> > TRAF_CONF on workstation instances was changed to be under the
> > local_hadoop directory.
> >
> > This mostly does not affect regular usage, since there is little need to
> change
> > the default config files. But I wanted to give this heads-up to you.
> >
> > Also, I re-defined the cdc function that was doing something very outdated
> > to instead change to the TRAF_CONF directory and reduce the need to
> > remember where it is in the various environments.
> >
> > --Steve
RE: workstation instance change
Posted by Steve Varnau <st...@esgyn.com>.
Fair question.
If you don't want to do fresh install_local_hadoop & install_traf_components, you could do some quick changes to your environment to convert to the new layout:
source env.sh # or whatever sqenv file you are using.
echo $TRAF_CONF # should see local_hadoop in path
cp -r $TRAF_HOME/conf $TRAF_CONF
cp -f $DCS_INSTALL_DIR/conf $TRAF_CONF/dcs
cp -f $REST_INSTALL_DIR/conf $TRRAF_CONF/rest
--Steve
> -----Original Message-----
> From: Dave Birdsall <da...@esgyn.com>
> Sent: Tuesday, March 5, 2019 1:00 PM
> To: dev@trafodion.apache.org
> Subject: RE: workstation instance change
>
> External
>
> Hi,
>
> What effect should we see?
>
> If we do a git fetch origin and do a make, will our existing instances break? Do
> we need to do a fresh install_local_hadoop?
>
> Thanks,
>
> Dave
>
> -----Original Message-----
> From: Steve Varnau <st...@esgyn.com>
> Sent: Tuesday, March 5, 2019 12:40 PM
> To: dev@trafodion.apache.org
> Subject: workstation instance change
>
> External
>
> Trafodion developers,
>
> FYI. I just merged TRAFODION-3272 changes to master. These mostly affect
> clustered-installed instances, since it changes the locations of TRAF_CONF to
> /etc/trafodion/conf, as well as the default locations of TRAF_LOG and
> TRAF_VAR. (cdl and cdt functions continue to work, of course).
>
> The locations of DCS and REST conf directories also changed, so that they are
> located relative to TRAF_CONF. This created a small conflict between
> install_local_hadoop modifying config files and the makefile packaging that
> packages the default config files. To resolve this and to allow good packages
> be built in same workspace as install_local_hadoop, the setting for
> TRAF_CONF on workstation instances was changed to be under the
> local_hadoop directory.
>
> This mostly does not affect regular usage, since there is little need to change
> the default config files. But I wanted to give this heads-up to you.
>
> Also, I re-defined the cdc function that was doing something very outdated
> to instead change to the TRAF_CONF directory and reduce the need to
> remember where it is in the various environments.
>
> --Steve
RE: workstation instance change
Posted by Dave Birdsall <da...@esgyn.com>.
Hi,
What effect should we see?
If we do a git fetch origin and do a make, will our existing instances break? Do we need to do a fresh install_local_hadoop?
Thanks,
Dave
-----Original Message-----
From: Steve Varnau <st...@esgyn.com>
Sent: Tuesday, March 5, 2019 12:40 PM
To: dev@trafodion.apache.org
Subject: workstation instance change
External
Trafodion developers,
FYI. I just merged TRAFODION-3272 changes to master. These mostly affect clustered-installed instances, since it changes the locations of TRAF_CONF to /etc/trafodion/conf, as well as the default locations of TRAF_LOG and TRAF_VAR. (cdl and cdt functions continue to work, of course).
The locations of DCS and REST conf directories also changed, so that they are located relative to TRAF_CONF. This created a small conflict between install_local_hadoop modifying config files and the makefile packaging that packages the default config files. To resolve this and to allow good packages be built in same workspace as install_local_hadoop, the setting for TRAF_CONF on workstation instances was changed to be under the local_hadoop directory.
This mostly does not affect regular usage, since there is little need to change the default config files. But I wanted to give this heads-up to you.
Also, I re-defined the cdc function that was doing something very outdated to instead change to the TRAF_CONF directory and reduce the need to remember where it is in the various environments.
--Steve