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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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 .

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: