{"record":{"id":"64b6720727930b20","repo":"apache/hadoop","slug":"jobconf-missing-required-property","errorCode":null,"errorMessage":"JobConf: missing required property: {}","messagePattern":"JobConf: missing required property: (.+?)","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamXmlRecordReader.java","lineNumber":277,"sourceCode":"          outBufOrNull.write(c);\n        }\n        pos_ += m + 1; // skip m chars, +1 for 'c'\n        m = 0;\n      }\n    }\n    if (!includePat && match) {\n      bin_.reset();\n    } else if (outBufOrNull != null) {\n      outBufOrNull.write(cpat);\n      pos_ += msup;\n    }\n    return match;\n  }\n\n  String checkJobGet(String prop) throws IOException {\n    String val = job_.get(prop);\n    if (val == null) {\n      throw new IOException(\"JobConf: missing required property: \" + prop);\n    }\n    return val;\n  }\n\n  String beginMark_;\n  String endMark_;\n\n  Pattern beginPat_;\n  Pattern endPat_;\n\n  boolean slowMatch_;\n  int lookAhead_; // bytes to read to try to synch CDATA/non-CDATA. Should be more than max record size\n  int maxRecSize_;\n\n  BufferedInputStream bin_; // Wrap FSDataInputStream for efficient backward seeks \n  long pos_; // Keep track on position with respect encapsulated FSDataInputStream  \n\n  private final static int NA = -1;","sourceCodeStart":259,"sourceCodeEnd":295,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamXmlRecordReader.java#L259-L295","documentation":"Error \"JobConf: missing required property: {}\" thrown in apache/hadoop.","triggerScenarios":"The streaming XML record reader is configured without a required JobConf property (e.g. begin/end tag keys), so it cannot parse the input.","commonSituations":"See trigger scenarios.","solutions":["Set the missing JobConf property (e.g. stream.recordreader.begin/end tags) required by StreamXmlRecordReader."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2add9630210752f88ceb1bb74eb65e37bf41da8e","analyzedAt":"2026-08-22T19:55:07.957Z","schemaVersion":2},"datasetVersion":"2026-08-22T20:17:22.307Z"}