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

Configuration properties for hedged read is broken

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      HdfsClientConfigKeys.java
        /** dfs.client.hedged.read configuration properties */
        interface HedgedRead {
          String  THRESHOLD_MILLIS_KEY = PREFIX + "threshold.millis";
          long    THRESHOLD_MILLIS_DEFAULT = 500;
          String  THREADPOOL_SIZE_KEY = PREFIX + "threadpool.size";
          int     THREADPOOL_SIZE_DEFAULT = 0;
        }
      

      PREFIX is not defined in the interface, so "dfs.client" is used as PREFIX. Therefore, the properties are "dfs.client.threshold.millis" and "dfs.client.threadpool.size". They should be "dfs.client.hedged.read.threshold.millis" and "dfs.client.hedged.read.threadpool.size".

      Attachments

        1. HDFS-9886.01.patch
          0.8 kB
          Akira Ajisaka

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aajisaka Akira Ajisaka
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment