apache/hadoop · error
Error: signal %d:
Error message
Error: signal %d:
What it means
Error "Error: signal %d:" thrown in apache/hadoop.
Source
Thrown at hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/NativeObjectFactory.cc:43
#include "lib/NativeObjectFactory.h"
#include "lib/NativeLibrary.h"
#include "lib/BufferStream.h"
#include "util/StringUtil.h"
#include "util/SyncUtils.h"
#include "util/WritableUtils.h"
#include "handler/BatchHandler.h"
#include "handler/MCollectorOutputHandler.h"
#include "handler/CombineHandler.h"
using namespace NativeTask;
// TODO: just for debug, should be removed
extern "C" void handler(int sig) {
void *array[10];
size_t size;
// print out all the frames to stderr
fprintf(stderr, "Error: signal %d:\n", sig);
#ifndef __CYGWIN__
// get void*'s for all entries on the stack
size = backtrace(array, 10);
backtrace_symbols_fd(array, size, 2);
#endif
exit(1);
}
DEFINE_NATIVE_LIBRARY(NativeTask) {
REGISTER_CLASS(BatchHandler, NativeTask);
REGISTER_CLASS(CombineHandler, NativeTask);
REGISTER_CLASS(MCollectorOutputHandler, NativeTask);
NativeObjectFactory::SetDefaultClass(BatchHandlerType, "NativeTask.BatchHandler");
}
View on GitHub (pinned to 2add963021)
Solutions
- Inspect the native library crash: check the task's stderr/core dump for the signal and fix the underlying native fault (often memory or ABI mismatch).
- Rebuild libnativetask for the current platform/Hadoop version if the signal stems from an incompatible binary.
When it happens
Trigger: Raised in NativeObjectFactory.cc when the nativetask native library receives a fatal signal during object creation. Indicates a crash in native code; check native logs/core dump and ensure libnativetask.so matches the Hadoop version.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/50d96a21c7981f12.
Report an issue: GitHub.