Giter Club home page Giter Club logo

bda-lab's Introduction

BDA-Lab

  • Assignment1: Word Count
  • Assignment2: Word Search
  • Assignment3: Stop Word Removal
  • Assignment4: Weather Data Mining
  • Assignment5: Store Data Mining

The whole process is for Windows

Prerequsits

  1. Install Java 1.8
  2. Install Hadoop 3.1.4

Steps to Run Map Reduce Assignments

  1. Create a project eg. WSProgram
  2. In the project (WSProgram) create a package (WSPackage)
  3. Create (at least) 3 files for Driver, Mapper and Reducer
    • If needed create more class
  4. Now you need to Add some external libraries, for that add the jar files in the JAR Files folder
  5. Now it's time to export your project as jar file.
    • Note: while create the jar files you can mention the class that contains the main method if you
      don't mention it then it's compulsory to mention the class name in the command life but if you do
      mention it then you can skip writing the name of the java file in the command line.

Steps to Run Pig Assignment

  • Assignment 1
  1. Create a folder named Output in the folder where you'll be having the script.
  2. Run the script using, pig -x local script_name.pig
  3. If the script run successfully then a folder will be generate in the Output
  • Assignment 2
  1. Need to rename the text files, make it Map Reduce compatiple and keep them the text files in a folder named txt and keep txt in the folder where your pig scripts are.
  2. Create a folder Output within the folder where you'll be having the scripts
  3. First run the script.pig pig -x local script.pig
  4. You can see inside Output there will be new 3 folders.
  5. To run search.pig, use pig -x local search.pig

Data

  1. Weather Data Mining
  2. Store Data Mining

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.