Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2574

bugs in mapred tutorial

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15.3
    • Component/s: documentation
    • Labels:
      None

      Description

      Sam Pullara sends me:

      Phu was going through the WordCount example... lines 52 and 53 should have args[0] and args[1]:
      
      http://lucene.apache.org/hadoop/docs/current/mapred_tutorial.html
      
      The javac and jar command are also wrong, they don't include the directories for the packages, should be:
      
      $ javac -classpath ${HADOOP_HOME}/hadoop-${HADOOP_VERSION}-core.jar -d classes WordCount.java 
      $ jar -cvf /usr/joe/wordcount.jar WordCount.class -C classes .
      
      

        Attachments

        1. HADOOP-2574_0_20080110.patch
          23 kB
          Arun Murthy
        2. HADOOP-2574_1_20080114.patch
          28 kB
          Arun Murthy
        3. mapred_tutorial.html
          111 kB
          Arun Murthy
        4. mapred_tutorial.html
          111 kB
          Arun Murthy

          Activity

            People

            • Assignee:
              acmurthy Arun Murthy
              Reporter:
              cutting Doug Cutting
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: