HDFS-4384. test_libhdfs_threaded gets SEGV if JNIEnv cannot be initialized. Contributed by Colin Patrick McCabe
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1432221 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca93aaf799
commit
ebfa3ab1fa
|
@ -698,6 +698,8 @@ Release 2.0.3-alpha - Unreleased
|
||||||
HDFS-4306. PBHelper.convertLocatedBlock miss convert BlockToken. (Binglin
|
HDFS-4306. PBHelper.convertLocatedBlock miss convert BlockToken. (Binglin
|
||||||
Chang via atm)
|
Chang via atm)
|
||||||
|
|
||||||
|
HDFS-4387. test_libhdfs_threaded SEGV on OpenJDK 7. (Colin McCabe via eli)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-3077 SUBTASKS
|
BREAKDOWN OF HDFS-3077 SUBTASKS
|
||||||
|
|
||||||
HDFS-3077. Quorum-based protocol for reading and writing edit logs.
|
HDFS-3077. Quorum-based protocol for reading and writing edit logs.
|
||||||
|
|
|
@ -52,7 +52,7 @@ struct NativeMiniDfsCluster* nmdCreate(struct NativeMiniDfsConf *conf)
|
||||||
|
|
||||||
if (!env) {
|
if (!env) {
|
||||||
fprintf(stderr, "nmdCreate: unable to construct JNIEnv.\n");
|
fprintf(stderr, "nmdCreate: unable to construct JNIEnv.\n");
|
||||||
goto error;
|
return NULL;
|
||||||
}
|
}
|
||||||
cl = calloc(1, sizeof(struct NativeMiniDfsCluster));
|
cl = calloc(1, sizeof(struct NativeMiniDfsCluster));
|
||||||
if (!cl) {
|
if (!cl) {
|
||||||
|
|
Loading…
Reference in New Issue