Results 1 to 3 of 3
  1. #1
    Apk
    Apk is offline Member
    Join Date
    Sep 2014
    Posts
    1
    Rep Power
    0

    Exclamation MapReduce program please do help

    Hello All,

    I tried to run the program in eclipse(See Attachments 2 3 4) but I got the following errors(Attach 1), I have attached them as screen shots.
    1.Errors
    2. Mapper code
    3. Reducer code
    4. Driver

    Since am new to java and hadoop, I want to know the procedure step by step in a brief manner.
    Please do help me to run this program and rest of the two statements successfully.

    OS : Linux

    Thanks a lot,
    Jason
    Attached Thumbnails Attached Thumbnails MapReduce program please do help-1.png   MapReduce program please do help-2.png   MapReduce program please do help-3.png   MapReduce program please do help-4.png  

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: MapReduce program please do help

    The 'static' keyword cannot be used there in a top level class declaration.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: MapReduce program please do help

    In other words: the code is broken. Since you know no Java and thus don't know how to fix anything, you're not going to be running this.

    You can't run before you can walk: learn Java like we all had to do. When you are very familiar with Java only then do you start to look into Hadoop.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 6
    Last Post: 12-15-2013, 06:40 AM
  2. Replies: 4
    Last Post: 11-21-2012, 01:19 PM
  3. Replies: 2
    Last Post: 04-02-2011, 12:57 PM
  4. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •