Versions Compared

Key

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


Excerpt
hiddentrue

Instructions to create Trafodion Development environment in Windows systems using Linux Virtual Machine


Table of Contents

This guides you to create a Virtual Machine in your windows workstation/laptop for Trafodion developers.  It allows developers to build Trafodion in windows laptop by creating Linux virtual machine(VM). After creating the CentOS 6 Linux VM you can obtain Trafodion source from git, make code changes, build and run minimum regression tests in the sandbox.

Configuration

Tried out creating Successfully created Trafodion Development Sandbox with the following configuration of windows 10 laptop successfully.

  • Processor Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, 2592 Mhz, 2 Core(s), 4 Logical Processor(s)
  • Installed Physical Memory (RAM) 16.0 GB
  • Disk Space required for VM : 75 GB or more

...

  • The cursor pointer is confined to the VM window once it is clicked within the window. You can move the cursor out of VM window by pressing right ctrl key and then move the cursor out of VM window.
  • After the VM is started, please ensure that you are able to visit webpages using firefox browser in the VM. Only when you are able to browse the internet from Linux VM, you will be able to install other packages needed for Trafodion. If you are unable to connect,, please correct your network configuration. Some of the network configuration becomes effective only after the VM is restarted.
  • I had configured two network adaptors; one with NAT and another as bridged adapter. NAT requires Port Forwarding.
  • I couldn't get copy-paste to work between the host and guest OS though I have enabled it.  But you can use scp to move the files such as private and public key via scp command.
  • Update your .bashrc file with the following
    • ulimit -u 65536
    • export TRAF_HOME=~/trafodion/core/sqf
    • export JAVA_HOME and TOOLSDIR
  • For git to work from Linux VM, you need to do the following in root user shell.
    • install ssh server using yum install openssh-server command.
    • You need to stop the iptables service using service iptables stop command.
    • You need to start the ssh service using service sshd start command.
  • Before installing the hadoop environment via install_local_hadoop step in the VM
    • You need to set the environment variable MY_LOCAL_SW_DIST export MY_LOCAL_SW_DIST=~/Downloads
    • Copy tpcds_kit.zip to  to the folder pointed by MY_LOCAL_SW_DIST.
    • install_local_hadoop

...