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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14.2
    • 0.15.0
    • None
    • None
    • 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. HADOOP-1971.patch
          0.6 kB
          Doug Cutting
        2. notSetJarError_v1.patch
          1.0 kB
          Enis Soztutar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: