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

Constructing a JobConf without a class leads to a very misleading error message.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.14.2
    • Fix Version/s: 0.15.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Centos, java 1.5

      Description

      If this line from a typical map/reduce program

      JobConf conf = new JobConf(Flatten.class);

      has the argument deleted then I get a message that the input format that I specify cannot be found. That message leads a naive user on a rat chase. I only corrected this by bisecting against a working program.

        Attachments

        1. notSetJarError_v1.patch
          1.0 kB
          Enis Soztutar
        2. HADOOP-1971.patch
          0.6 kB
          Doug Cutting

          Activity

            People

            • Assignee:
              enis Enis Soztutar
              Reporter:
              tdunning@veoh.com Ted Dunning
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: