Hadoop Common
  1. Hadoop Common
  2. HADOOP-8689

Make trash a server side configuration option

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      If fs.trash.interval is configured on the server then the client's value for this configuration is ignored.

      Description

      Per ATM's suggestion in HADOOP-8598 for v2 let's make fs.trash.interval configured server side. If it is not configured server side then the client side configuration is used. The fs.trash.checkpoint.interval option is already server side as the emptier runs in the NameNode. Clients may manually run an emptier via hadoop org.apache.hadoop.fs.Trash but it's OK if it uses a separate interval.

      1. hadoop-8689.txt
        20 kB
        Eli Collins
      2. hadoop-8689.txt
        19 kB
        Eli Collins

        Issue Links

          Activity

          Eli Collins created issue -
          Eli Collins made changes -
          Field Original Value New Value
          Link This issue is related to HADOOP-8598 [ HADOOP-8598 ]
          Eli Collins made changes -
          Attachment hadoop-8689.txt [ 12541195 ]
          Eli Collins made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Eli Collins made changes -
          Description Per ATM's suggestion in HADOOP-8598 for v2 let's make {{fs.trash.interval}} configured server side rather than client side. The {{fs.trash.checkpoint.interval}} option is already server side as the emptier runs in the NameNode. Per ATM's suggestion in HADOOP-8598 for v2 let's make {{fs.trash.interval}} configured server side. If it is not configured server side then the client side configuration is used. The {{fs.trash.checkpoint.interval}} option is already server side as the emptier runs in the NameNode. Clients may manually run an emptier via hadoop org.apache.hadoop.fs.Trash but it's OK if it uses a separate interval.
          Eli Collins made changes -
          Attachment hadoop-8689.txt [ 12541409 ]
          Eli Collins made changes -
          Link This issue relates to HADOOP-8710 [ HADOOP-8710 ]
          Eli Collins made changes -
          Hadoop Flags Incompatible change [ 10342 ]
          Release Note If fs.trash.interval is configured on the server then the client's value for this configuration is ignored.
          Eli Collins made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Incompatible change [ 10342 ] Incompatible change,Reviewed [ 10342, 10343 ]
          Target Version/s 2.2.0-alpha [ 12322473 ]
          Fix Version/s 2.2.0-alpha [ 12322473 ]
          Resolution Fixed [ 1 ]
          Kihwal Lee made changes -
          Link This issue breaks HDFS-3856 [ HDFS-3856 ]
          Todd Lipcon made changes -
          Link This issue is related to HDFS-3876 [ HDFS-3876 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          John Vines made changes -
          Link This issue is related to ACCUMULO-1254 [ ACCUMULO-1254 ]
          John Vines made changes -
          Link This issue is related to ACCUMULO-1254 [ ACCUMULO-1254 ]
          John Vines made changes -
          Link This issue is related to ACCUMULO-1254 [ ACCUMULO-1254 ]
          John Vines made changes -
          Link This issue is related too HDFS-4683 [ HDFS-4683 ]
          Gavin made changes -
          Link This issue is related to HDFS-4683 [ HDFS-4683 ]
          Gavin made changes -
          Link This issue is related to HDFS-4683 [ HDFS-4683 ]
          Suresh Srinivas made changes -
          Link This issue relates to HDFS-4889 [ HDFS-4889 ]

            People

            • Assignee:
              Eli Collins
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development