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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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-0.18.txt
          0.6 kB
          Robert Chansler
        2. hadoop-5113.txt
          0.6 kB
          Peeyush Bishnoi

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment