hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1372678 - in /hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs: CHANGES.txt src/main/native/fuse-dfs/test/test_fuse_dfs.c
Date Tue, 14 Aug 2012 00:05:43 GMT
Author: atm
Date: Tue Aug 14 00:05:42 2012
New Revision: 1372678

URL: http://svn.apache.org/viewvc?rev=1372678&view=rev
Log:
HDFS-3790. test_fuse_dfs.c doesn't compile on centos 5. Contributed by Colin Patrick McCabe.

Modified:
    hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
    hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/test/test_fuse_dfs.c

Modified: hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1372678&r1=1372677&r2=1372678&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Tue Aug 14
00:05:42 2012
@@ -431,6 +431,9 @@ Release 2.0.1-alpha - UNRELEASED
     HDFS-2330. In NNStorage.java, IOExceptions of stream closures can mask
     root exceptions. (umamahesh via todd)
 
+    HDFS-3790. test_fuse_dfs.c doesn't compile on centos 5. (Colin Patrick
+    McCabe via atm)
+
   BREAKDOWN OF HDFS-3042 SUBTASKS
 
     HDFS-2185. HDFS portion of ZK-based FailoverController (todd)

Modified: hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/test/test_fuse_dfs.c
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/test/test_fuse_dfs.c?rev=1372678&r1=1372677&r2=1372678&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/test/test_fuse_dfs.c
(original)
+++ hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/test/test_fuse_dfs.c
Tue Aug 14 00:05:42 2012
@@ -75,7 +75,7 @@ static int fuserMount(int *procRet, ...)
 {
   int ret, status;
   size_t i = 0;
-  char *args[64], *c, *env[] = { NULL };
+  char *args[64], *c;
   va_list ap;
   pid_t pid, pret;
 
@@ -99,7 +99,7 @@ static int fuserMount(int *procRet, ...)
             ret, strerror(ret));
     return -ret;
   } else if (pid == 0) {
-    if (execvpe("fusermount", args, env)) {
+    if (execvp("fusermount", args)) {
       ret = errno;
       fprintf(stderr, "FUSE_TEST: failed to execute fusermount: "
               "error %d: %s\n", ret, strerror(ret));



Mime
View raw message