hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r882708 - in /hadoop/hdfs/trunk: CHANGES.txt src/c++/libhdfs/hdfs.c src/c++/libhdfs/hdfsJniHelper.c
Date Fri, 20 Nov 2009 20:57:15 GMT
Author: cos
Date: Fri Nov 20 20:57:15 2009
New Revision: 882708

URL: http://svn.apache.org/viewvc?rev=882708&view=rev
Log:
HDFS-727. bug setting block size hdfsOpenFile. Contributed by Eli Collins.

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/src/c++/libhdfs/hdfs.c
    hadoop/hdfs/trunk/src/c++/libhdfs/hdfsJniHelper.c

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=882708&r1=882707&r2=882708&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Fri Nov 20 20:57:15 2009
@@ -66,6 +66,8 @@
     HDFS-763. Fix slightly misleading report from DataBlockScanner 
     about corrupted scans. (dhruba)
 
+    HDFS-727. bug setting block size hdfsOpenFile (Eli Collins via cos)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hdfs/trunk/src/c++/libhdfs/hdfs.c
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/c%2B%2B/libhdfs/hdfs.c?rev=882708&r1=882707&r2=882708&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/c++/libhdfs/hdfs.c (original)
+++ hadoop/hdfs/trunk/src/c++/libhdfs/hdfs.c Fri Nov 20 20:57:15 2009
@@ -679,7 +679,7 @@
         if (!blockSize) {
             if (invokeMethod(env, &jVal, &jExc, INSTANCE, jConfiguration, 
                              HADOOP_CONF, "getLong", "(Ljava/lang/String;J)J",
-                             jStrBlockSize, 67108864)) {
+                             jStrBlockSize, (jlong)67108864)) {
                 errno = errnoFromException(jExc, env, "org.apache.hadoop.conf."
                                            "FileSystem::%s(%s)", method,
                                            signature);

Modified: hadoop/hdfs/trunk/src/c++/libhdfs/hdfsJniHelper.c
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/c%2B%2B/libhdfs/hdfsJniHelper.c?rev=882708&r1=882707&r2=882708&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/c++/libhdfs/hdfsJniHelper.c (original)
+++ hadoop/hdfs/trunk/src/c++/libhdfs/hdfsJniHelper.c Fri Nov 20 20:57:15 2009
@@ -223,7 +223,7 @@
 }
 
 jarray constructNewArrayString(JNIEnv *env, Exc *exc, const char **elements, int size) {
-  const char *className = "Ljava/lang/String;";
+  const char *className = "java/lang/String";
   jobjectArray result;
   int i;
   jclass arrCls = (*env)->FindClass(env, className);



Mime
View raw message