Hadoop Common
  1. Hadoop Common
  2. HADOOP-5113

logcondense should delete hod logs for a user , whose username has any of the characters in the value passed to "-l" options

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: contrib/hod
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Logcondense script is not able to delete the completed job directories of hadoop logs in hod-logs inside HDFS for the the users , whose username has any of the characters , in the value passed to "-l" options or in '/user' as set default . This happened because logcondense script use python 'lstrip' method , which returns copy of the string after removing leading characters in the value passed to "-l" options or in "/user" instead of just stripping value from the given string .

      1. hadoop-5113.txt
        0.6 kB
        Peeyush Bishnoi
      2. hadoop-5113-0.18.txt
        0.6 kB
        Robert Chansler

        Activity

        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Robert Chansler made changes -
        Attachment hadoop-5113-0.18.txt [ 12409317 ]
        Hemanth Yamijala made changes -
        Hadoop Flags [Reviewed]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Peeyush Bishnoi made changes -
        Description Logcondense script is not able to delete the hod-logs inside HDFS for the the users , whose username has any of the characters , in the value passed to "-l" options or in '/user' as set default . This happened because logcondense script use python 'lstrip' method , which returns copy of the string after removing leading characters in the value passed to "-l" options or in "/user" instead of just stripping value from the given string . Logcondense script is not able to delete the completed job directories of hadoop logs in hod-logs inside HDFS for the the users , whose username has any of the characters , in the value passed to "-l" options or in '/user' as set default . This happened because logcondense script use python 'lstrip' method , which returns copy of the string after removing leading characters in the value passed to "-l" options or in "/user" instead of just stripping value from the given string .
        Peeyush Bishnoi made changes -
        Attachment hadoop-5113.txt [ 12398540 ]
        Peeyush Bishnoi made changes -
        Assignee Peeyush Bishnoi [ peeyushb ]
        Peeyush Bishnoi made changes -
        Field Original Value New Value
        Component/s contrib/hod [ 12312090 ]
        Peeyush Bishnoi created issue -

          People

          • Assignee:
            Peeyush Bishnoi
            Reporter:
            Peeyush Bishnoi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development