Home

Configure and restart Unravel
Configure basic options
  • Set these properties in /usr/local/unravel/etc/unravel.properties as follows. If you don't find the property in the file, add it.

    com.unraveldata.cluster.type=DB
    com.unraveldata.tagging.enabled=true
    
Configure Unravel with Azure MySQL
  1. Set the following Unravel properties for Azure MySQL in /usr/local/unravel/etc/unravel.properties. Check Azure MySQL resource page for property values.

    unravel.jdbc.username=Server_admin_login_name
    unravel.jdbc.password=Server_admin_login_password
    unravel.jdbc.url=jdbc:mysql://Server_name:3306/unravel_mysql_prod
    unravel.jdbc.url.params=useSSL=true&requireSSL=false
  2. Install MySQL JDBC connector driver in Unravel classpath.

    wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.47.tar.gz -O /tmp/mysql-connector-java-5.1.47.tar.gz
    cd /tmp
    tar xvzf /tmp/mysql-connector-java-5.1.47.tar.gz
    sudo mkdir -p /usr/local/unravel/share/java
    sudo cp /tmp/mysql-connector-java-5.1.47/mysql-connector-java-5.1.47.jar /usr/local/unravel/share/java
  3. Create database and tables for Unravel. Enter MySQL Server admin login password when prompted.

    mysql --host=Server_name --port=3306 --user Server_admin_login_name --password -e 'create database unravel_mysql_prod'
    /usr/local/unravel/dbin/db_schema_upgrade.sh
    sudo /usr/local/unravel/install_bin/db_initial_inserts.sh | /usr/local/unravel/install_bin/db_access.sh
Configure Unravel with Azure Databricks
  1. Navigate to Workspace > Admin Console > Access Control and enable Personal Access Tokens.

  2. Navigate to Workspace > User Settings > Access Tokens and click Generate New Token. Choose indefinite for the token lifetime.

  3. Install Unravel agents on Workspace and update Unravel config with Workspace details:

    /usr/local/unravel/bin/databricks_setup.sh --add-workspace -i Workspace_id -n Workspace_name -t Workspace_token -s https://Workspace_location.azuredatabricks.net -u Unravel_VM_Private_IP_address:4043
Configure Unravel with Workspace
  1. Go to Workspace> Admin Console> Access Control and enable Personal Access Tokens. See Enable token-based authentication.

  2. Go to Workspace> User Settings> Access Tokens and click Generate New Token. See Authenticate using Databricks personal access tokens. Choose the lifetime of the token as indefinite.

  3. Install Unravel agents on the Workspace and update Unravel config with the Workspace details. See Running the Databricks_setup.sh script

    usr/local/unravel/install_bin/databricks_setup.sh --add-workspace -i <Workspace id> -n <Workspace name> -t <Workspace token> -r https://<Workspace location>.azuredatabricks.net -p <Workspace_tier> -u <Unravel DNS or IP address>:4043

    Run the following commands only if the Databricks command-line tool is installed using Python virtual environment:

    virtualenv -p /usr/bin/python3 mypy3
    source mypy3/bin/activate
Restart Unravel
  1. Restart all Unravel services

    service unravel_all.sh restart
  2. Using a supported web browser, (see ​Unravel's ​​Azure Databricks​ compatibility matrix), navigate to http://unravel-host:3000 and log in with username admin with password unraveldata.

    signin.png