Home

Install the Unravel prerequisites on EC2 instance

Install the following Unravel prerequisites on EC2 instance:

  1. Install ntpd.

    sudo su -
    yum install ntp
    ntpd -u ntp:ntp
  2. Prepare the data disk. Set permissions for Unravel and symlink Unravel's directories to the /srv mount.

    mkdir -p /srv/local/unravel# chmod -R 755 /srv/local
    ln -s /srv/local/unravel /usr/local/unravel
    chmod 755 /usr/local/unravel
  3. Install MySQL if not done already.

    yum install mysql
  4. Install the Databricks File System (DBFS) command-line interface.

    sudo bash 
    yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    yum install python-pip
    pip install databricks-cli

    Note

    You can test the connectivity using the DBFS command-line interface. In case there are any errors, such as, Error: ValueError: Timeout value connect was Timeout, reinstall the DBFS command-line interface using Python virtualenv as follows:

    pip install databricks-cli 
    yum install python3
    virtualenv -p /usr/bin/python3 mypy3
    source mypy3/bin/activate# pip install databricks-cli