Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3732

fuse_dfs: incorrect configuration value checked for connection expiry timer period

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: fuse-dfs
    • Labels:
      None

      Description

      In fuse_dfs, we check an incorrect hdfs configuration value checked for the connection expiry timer period.

      gTimerPeriod = FUSE_CONN_DEFAULT_TIMER_PERIOD;
      ret = hdfsConfGetInt(HADOOP_FUSE_CONNECTION_TIMEOUT, &gTimerPeriod);
      if (ret) {
        fprintf(stderr, "Unable to determine the configured value for %s.",
              HADOOP_FUSE_TIMER_PERIOD);
        return -EINVAL
      }
      

      We should be checking HADOOP_FUSE_TIMER_PERIOD.

        Attachments

        1. HDFS-3732.001.patch
          0.7 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              cmccabe Colin P. McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: