{"record":{"id":"0bb29850d7fb4432","repo":"apache/hadoop","slug":"failure","errorCode":null,"errorMessage":"{} failure","messagePattern":"(.+?) failure","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/RpcProgram.java","lineNumber":155,"sourceCode":"    }\n  }\n\n  /**\n   * Register the program with Portmap or Rpcbind.\n   * @param mapEntry port map entries\n   * @param set specifies registration or not\n   */\n  protected void register(PortmapMapping mapEntry, boolean set) {\n    XDR mappingRequest = PortmapRequest.create(mapEntry, set);\n    SimpleUdpClient registrationClient = new SimpleUdpClient(host, RPCB_PORT,\n        mappingRequest, true, registrationSocket, portmapUdpTimeoutMillis);\n    try {\n      registrationClient.run();\n    } catch (IOException e) {\n      String request = set ? \"Registration\" : \"Unregistration\";\n      LOG.error(request + \" failure with \" + host + \":\" + port\n          + \", portmap entry: \" + mapEntry);\n      throw new RuntimeException(request + \" failure\", e);\n    }\n  }\n\n  // Start extra daemons or services\n  public void startDaemons() {}\n  public void stopDaemons() {}\n\n  @Override\n  public void channelRead(ChannelHandlerContext ctx, Object msg)\n      throws Exception {\n    RpcInfo info = (RpcInfo) msg;\n    try {\n      channelRead(ctx, info);\n    } finally {\n      ReferenceCountUtil.release(info.data());\n    }\n  }\n","sourceCodeStart":137,"sourceCodeEnd":173,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/RpcProgram.java#L137-L173","documentation":"Error \"{} failure\" thrown in apache/hadoop.","triggerScenarios":"Thrown at hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/RpcProgram.java:155 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the RPC program handler for the failure named in the message and check server-side logs for the underlying exception.","Verify the requested program/procedure/version numbers are supported by the server.","Retry the operation; if persistent, investigate resource exhaustion on the RPC server."],"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"}