Selaa lähdekoodia

HDFS-3732. fuse_dfs: incorrect configuration value checked for connection expiry timer period. Contributed by Colin Patrick McCabe.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1367201 13f79535-47bb-0310-9956-ffa450edef68
Aaron Myers 13 vuotta sitten
vanhempi
commit
cb94513c1f

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -389,6 +389,9 @@ Release 2.0.1-alpha - UNRELEASED
 
     HDFS-3679. fuse_dfs notrash option sets usetrash. (Conrad Meyer via suresh)
 
+    HDFS-3732. fuse_dfs: incorrect configuration value checked for connection
+    expiry timer period. (Colin Patrick McCabe via atm)
+
   BREAKDOWN OF HDFS-3042 SUBTASKS
 
     HDFS-2185. HDFS portion of ZK-based FailoverController (todd)

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_connect.c

@@ -135,7 +135,7 @@ int fuseConnectInit(const char *nnUri, int port)
   int ret;
 
   gTimerPeriod = FUSE_CONN_DEFAULT_TIMER_PERIOD;
-  ret = hdfsConfGetInt(HADOOP_FUSE_CONNECTION_TIMEOUT, &gTimerPeriod);
+  ret = hdfsConfGetInt(HADOOP_FUSE_TIMER_PERIOD, &gTimerPeriod);
   if (ret) {
     fprintf(stderr, "Unable to determine the configured value for %s.",
           HADOOP_FUSE_TIMER_PERIOD);