Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you are doing Trafodion development on a pre-existing Hadoop distribution, then do the following:

  • Distribution: Use the distribution management too. For example: Apache Ambari or Cloudera Manager.
  • Regular Hadoop: Use the start/stop script for each Hadoop environment.

Local Hadoop

Use the following commands to manage the Hadoop environment.

CommandUsage
swstartallStart the complete Hadoop environment.
swstopallStops the complete Hadoop environment.
swstatusChecks the status of the Hadoop environment.
swuninstall_local_hadoopRemoves the Hadoop installation.

Downloading New Source Code

You need to do the following each time you download new source code.

Code Block
languagebash
cd <Trafodion source directory>
source ./env.sh
cd $MY_SQROOT/etc

# delete ms.env, if it exists
rm ms.env
cd $MY_SQROOT/sql/scripts
sqgen
Code Block
languagebash
titleExample: Refresh when Installing New Source Code
cd mysource/incubator-trafidion
source ./env.sh
cd $MY_SQROOT/etc

# delete ms.env, if it exists
rm ms.env
cd $MY_SQROOT/sql/scripts
sqgen

 

 

 

...