{"record":{"id":"be869e39cb0d3925","repo":"apache/hadoop","slug":"jobconf-missing-required-property-be869e","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/mapreduce/StreamXmlRecordReader.java","lineNumber":291,"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 = conf_.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\n  // more than max record size\n  int maxRecSize_;\n\n  BufferedInputStream bin_; // Wrap FSDataInputStream for efficient backward\n  // seeks\n  long pos_; // Keep track on position with respect encapsulated","sourceCodeStart":273,"sourceCodeEnd":309,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/mapreduce/StreamXmlRecordReader.java#L273-L309","documentation":"Error \"JobConf: missing required property: {}\" thrown in apache/hadoop.","triggerScenarios":"The mapreduce streaming XML record reader is configured without a required JobConf property (e.g. begin/end tag keys).","commonSituations":"See trigger scenarios.","solutions":["Set the missing JobConf property required by the mapreduce StreamXmlRecordReader (begin/end tag keys)."],"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-23T01:17:44.959Z"}