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

Fix the CacheAdmin -addPool -maxTtl option name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: caching, tools
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, the CacheAdmin usage shows the "maxttl" option for -addPool, but the option should be listed as "maxTtl" instead.

      If users attempt to use "maxttl" they will see the following error:

      bash-4.1$ hdfs cacheadmin -addPool pool2 -maxttl 10s
      Can't understand arguments: -maxttl 10s
      Usage is [-addPool <name> [-owner <owner>] [-group <group>] [-mode <mode>] [-limit <limit>] [-maxttl <maxTtl>]
      

      We should change the usage to usage "maxTtl"

        Attachments

        1. HDFS-5701.patch
          0.8 kB
          Stephen Chu

          Activity

            People

            • Assignee:
              schu Stephen Chu
              Reporter:
              schu Stephen Chu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: