Giter Club home page Giter Club logo

querysetapp's Introduction

QuerySetApp

QuerySetApp is a Scala/Spark application developed with the purpose in mind to test performance and compatibility among different source{d}'s engine versions applying different well know queries on repositories.

Submit appication to a cluster

$SPARK_HOME/bin/spark-submit \
    --name "QuerySetApp" \
    --class "tech.sourced.queryset.Main" \
    --master $SPARK_MASTER \
    --num-executors $NUM_EXECUTORS \
    --executor-memory $EXECUTOR_MEM  \
    --total-executor-cores $EXECUTOR_CORES \
    path/to/queryset-0.1.0.jar $REPOS_PATH $REPOS_FORMAT
  • SPARK_HOME environment variable must point to the directory where Spark was downloaded (e.g. /usr/local/spark)

  • SPARK_MASTER environment variable must point to the master URL for the cluster (e.g. spark://p-spark-master:7077)

  • NUM_EXECUTORS, EXECUTOR_MEM, EXECUTOR_CORES: Executor configuration parameters (eg: 3, 4G, 64).

  • REPOS_PATH must point to the directory which contains the repositories.

  • REPOS_FORMAT must specify the repositories' format (e.g. siva, standard)

Development

  • First you should set the Spark directory:

    export SPARK_HOME="path/to/spark"

  • Build the fatjar to submit to a spark cluster:

    make build

It leaves the fatjar under target/scala-2.11/queryset-0.1.0.jar

  • Run application in local uses the repositories under src/main/resources/siva-files by default:

    make run

  • Submit application to a cluster:

    SPARK_MASTER="spark://p-spark-master:7077" \
    REPOS_PATH="/path/to/repos" \
    REPOS_FORMAT="siva" \
    make run

querysetapp's People

Contributors

mcarmonaa avatar smacker avatar

Stargazers

 avatar Francesc Campoy avatar

Watchers

 avatar

Forkers

smacker

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.