GithubHelp home page GithubHelp logo

w205_2017_fall_project's Introduction

# see what devices are available:
fdisk -l

# mount EBS:
mount -t ext4 /dev/xvdf /data

# start hadoop: as root
/root/start-hadoop.sh

# start postgres:
/data/start_postgres.sh

# change user to w205
su - w205

# start metastore: (press enter after a little while to return to prompt)
/data/start_metastore.sh

# list contents of hdfs:
hdfs dfs -ls /user/w205

# clone repository:
git clone https://[email protected]/garber-boris/w205_2017_fall_project.git

# Load files:
cd w205_2017_fall_project
chmod u+x,g+x CLEAN_load_data_lake.sh
chmod u+x,g+x load_data_lake.sh
./CLEAN_load_data_lake.sh
./load_data_lake.sh

# check that everything made it into hdfs:
hdfs dfs -ls /user/w205/project

# Load hive sql file:
hive
source hive_base_ddl.sql;

# check that tables were created:
/data/spark15/bin/spark-sql
show tables;

# Shut down:
ps -ef|grep metastore
kill <id>
exit
/root/stop-hadoop.sh
/data/stop_postgres.sh

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.