You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2009/01/29 04:52:59 UTC

[jira] Resolved: (HADOOP-5113) logcondense should delete hod logs for a user , whose username has any of the characters in the value passed to "-l" options

     [ https://issues.apache.org/jira/browse/HADOOP-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hemanth Yamijala resolved HADOOP-5113.
--------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

I just committed this. Thanks, Peeyush !

> 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 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 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.