hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1361561 - /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfsJniHelper.c
Date Sat, 14 Jul 2012 17:02:06 GMT
Author: eli
Date: Sat Jul 14 17:02:05 2012
New Revision: 1361561

URL: http://svn.apache.org/viewvc?rev=1361561&view=rev
Log:
Amend HDFS-799. Remove unnecessary tls check. Contributed by Colin Patrick McCabe

Modified:
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfsJniHelper.c

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfsJniHelper.c
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfsJniHelper.c?rev=1361561&r1=1361560&r2=1361561&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfsJniHelper.c (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/hdfsJniHelper.c Sat
Jul 14 17:02:05 2012
@@ -74,8 +74,6 @@ static void hdfsThreadDestructor(void *v
     JNIEnv *env = tls->env;
     jint ret;
 
-    if (!tls)
-        return;
     ret = (*env)->GetJavaVM(env, &vm);
     if (ret) {
         fprintf(stderr, "hdfsThreadDestructor: GetJavaVM failed with "



Mime
View raw message