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

fuse_dfs: incorrect configuration value checked for connection expiry timer period

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.1-alpha
    • 2.0.2-alpha
    • fuse-dfs
    • 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 McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: