Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • contrib/hod
    • None
    • 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 .

      Attachments

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

        Activity

          People

            peeyushb Peeyush Bishnoi
            peeyushb Peeyush Bishnoi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: