Git Product home page Git Product logo

cs744-p1's Introduction

CS744-P1

Project Description can be found here

Commands

Connection Setup

  1. vim .ssh/config
  2. Add ssh connection details as
Host <host>
  HostName <host name>
  User <user>
  Port <port>
 
Host *
    AddKeysToAgent yes
    IdentityFile  <path to private key>
  1. bash
  2. ssh <host>
  3. sudo su

To list all the running java processes
jps

To view current status of the HDFS cluster:

  1. ssh -L 9870:10.10.1.1:9870 <user>@<host>
  2. On a browser, go to URL localhost:9870/dfshealth.html

To view currently running Spark job(s):

  1. ssh -L 4040:10.10.1.1:4040 <user>@<host>
  2. On a browser, go to URL localhost:4040

To view job(s) history on the Spark History Server:

  1. ssh -L 18080:10.10.1.1:18080 <user>@<host>
  2. On a browser, go to URL localhost:18080

Codebase specific commands

Part 2

To run part 2:

  1. sudo su
  2. spark-submit --master spark://10.10.1.1:7077 part2/sort.py

OR

Run the entire codebase

Part 3

To run part 3:

  1. sudo su
  2. spark-submit --master spark://10.10.1.1:7077 part3/pagerank.py --iterations <num> --partitions <num> --persist <"Memory_Only"/"Memory_And_Disk"> --out_partitions <num>

OR

Run the entire codebase

Running the entire codebase

  1. sudo su
  2. chmod 777 run.sh
  3. ./run.sh

To clean up the output

  1. sudo su
  2. chmod 777 clean_up.sh
  3. ./clean_up.sh

To utilize our test scripts

  1. sudo su
  2. cd scripts
  3. chmod 777 <filename>.sh
  4. ./<filename>.sh

Monitoring

  1. We use Ganglia for acquiring the CPU, Network I/O and Memory usage for each node in the cluster.
  2. For other metric wrt the job, we use Spark's History Server.

cs744-p1's People

Contributors

benitakbritto avatar devanshgoenka97 avatar hemal7735 avatar

Watchers

 avatar  avatar  avatar

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.