{"record":{"id":"47eb7d78d42596fd","repo":"apache/hadoop","slug":"failure-47eb7d","errorCode":null,"errorMessage":"].  FAILURE.\n","messagePattern":"\\]\\.  FAILURE\\.\n","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c","lineNumber":394,"sourceCode":"    const char *sep = \"\";\n\n    for (i = 0; i < tlhNumThreads; i++) {\n        if (ti[i].success != 0) {\n            threadsFailed = 1;\n        }\n    }\n    if (!threadsFailed) {\n        fprintf(stderr, \"testLibHdfs: all threads succeeded.  SUCCESS.\\n\");\n        return EXIT_SUCCESS;\n    }\n    fprintf(stderr, \"testLibHdfs: some threads failed: [\");\n    for (i = 0; i < tlhNumThreads; i++) {\n        if (ti[i].success != 0) {\n            fprintf(stderr, \"%s%d\", sep, i);\n            sep = \", \";\n        }\n    }\n    fprintf(stderr, \"].  FAILURE.\\n\");\n    return EXIT_FAILURE;\n}\n\nint testRecursiveJvmMutex() {\n    jthrowable jthr;\n    JNIEnv *env = getJNIEnv();\n    if (!env) {\n        fprintf(stderr, \"testRecursiveJvmMutex: getJNIEnv failed\\n\");\n        return -EIO;\n    }\n    jthr = newRuntimeError(env, \"Dummy error to print for testing\");\n\n    /* printExceptionAndFree() takes the jvmMutex within */\n    mutexLock(&jvmMutex);\n    printExceptionAndFree(env, jthr, PRINT_EXC_ALL, \"testRecursiveJvmMutex\");\n    mutexUnlock(&jvmMutex);\n\n    return 0;","sourceCodeStart":376,"sourceCodeEnd":412,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c#L376-L412","documentation":"Error \"].  FAILURE.\n\" thrown in apache/hadoop.","triggerScenarios":"Closing bracket of the failure summary printed by testLibHdfs after listing failed thread indices.","commonSituations":"Follows 'testLibHdfs: some threads failed' whenever the threaded test detected per-thread errors.","solutions":["Scroll up for the individual thread failure messages; this line only terminates the failure list.","Fix the first reported underlying error (usually hdfsRead or hdfsOpenFile errno) rather than this summary line."],"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"}