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

Fix the CacheAdmin -addPool -maxTtl option name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.3.0
    • caching, tools
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: