[
https://issues.apache.org/jira/browse/HADOOP-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peeyush Bishnoi updated HADOOP-5113:
------------------------------------
Attachment: hadoop-5113.txt
Patch is attached that will remove the lstrip method and use len method on
value passed to '-l' options or on '/user' (set as default ).
Comments ?
---
> logcondense should delete hod logs for a user , whose username has any of the
> characters in the value passed to "-l" options
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-5113
> URL: https://issues.apache.org/jira/browse/HADOOP-5113
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/hod
> Reporter: Peeyush Bishnoi
> Assignee: Peeyush Bishnoi
> Fix For: 0.21.0
>
> Attachments: hadoop-5113.txt
>
>
> 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 .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.