You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/02/15 20:42:57 UTC

[jira] Created: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Configuration.getLocalPath should trim whitespace from the provided directories
-------------------------------------------------------------------------------

                 Key: HADOOP-7145
                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.22.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
             Fix For: 0.22.0


MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994970#comment-12994970 ] 

Tom White commented on HADOOP-7145:
-----------------------------------

+1

> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995251#comment-12995251 ] 

Hudson commented on HADOOP-7145:
--------------------------------

Integrated in Hadoop-Common-trunk #608 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/608/])
    HADOOP-7145. Configuration.getLocalPath should trim whitespace from the provided directories. Contributed by Todd Lipcon.


> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7145:
--------------------------------

    Attachment: hadoop-7145.txt

> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7145:
--------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed to 22 and trunk, thanks for reviewing, Tom.

> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995229#comment-12995229 ] 

Hudson commented on HADOOP-7145:
--------------------------------

Integrated in Hadoop-Common-22-branch #27 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-22-branch/27/])
    

> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7145:
--------------------------------

    Status: Patch Available  (was: Open)

> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-7145) Configuration.getLocalPath should trim whitespace from the provided directories

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995033#comment-12995033 ] 

Hudson commented on HADOOP-7145:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #506 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/506/])
    

> Configuration.getLocalPath should trim whitespace from the provided directories
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7145
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7145
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7145.txt
>
>
> MR and HDFS use the Configuration.getTrimmedStrings API for local directory lists, but in a few places also use Configuration.getLocalPath. The former API trims whitespace around each entry in the list, but the latter doesn't. This can cause some subtle problems - the latter API should be fixed to also trim the directory names.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira