Setting Development Environment

  • Clone the SDK and Prepare Your Development Environment
  • Before you begin, make sure that git is installed on your system using the following command.
    sudo yum install git -y 
  • Install the AWS Query Federation SDK
  • Enter the following at the command line to clone the SDK repository. This repository includes the SDK, examples and a suite of data source connectors. For more information about data source connectors, see Using Amazon Athena Federated Query (Preview).
    git clone 
  • Install prerequisites
  • If you are working on a development machine that already has Apache Maven, the AWS CLI, and the AWS Serverless Application Model build tool installed, you can skip this step. From the root of the aws-athena-query-federation directory that you created when you cloned, run the script that prepares your development environment.
    cd aws-athena-query-federation
    sudo chown ec2-user:ec2-user ~/.profile
    Update your shell to source new variables created by the installation process or restart your terminal session.
    source ~/.profile
    Now run mvn clean install from the athena-federation-sdk directory within the github project you checked out earlier.
    mvn clean install -DskipTests=true > /tmp/log