THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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.
Command | Usage |
---|---|
swstartall | Start the complete Hadoop environment. |
swstopall | Stops the complete Hadoop environment. |
swstatus | Checks the status of the Hadoop environment. |
swuninstall_local_hadoop | Removes the Hadoop installation. |
Downloading New Source Code
You need to do the following each time you download new source code.
Code Block | ||
---|---|---|
| ||
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 | ||||
---|---|---|---|---|
| ||||
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 |
...