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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/11/07 00:00:08 UTC

[jira] Created: (HADOOP-4606) There is a cygpath error if log directory does not exist

There is a cygpath error if log directory does not exist
--------------------------------------------------------

                 Key: HADOOP-4606
                 URL: https://issues.apache.org/jira/browse/HADOOP-4606
             Project: Hadoop Core
          Issue Type: Bug
          Components: scripts
            Reporter: Tsz Wo (Nicholas), SZE
            Priority: Minor


{noformat}
//d:\@sze\hadoop\latest\logs does not exist.

bash-3.2$ ./bin/hadoop fs -lsr /
cygpath: cannot create short name of d:\@sze\hadoop\latest\logs
...
{noformat}

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


[jira] Commented: (HADOOP-4606) There is a cygpath error if log directory does not exist

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

Hudson commented on HADOOP-4606:
--------------------------------

Integrated in Hadoop-trunk #661 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/661/])
    . Fix cygpath error if the log directory does not exist.
(szetszwo via omalley)


> There is a cygpath error if log directory does not exist
> --------------------------------------------------------
>
>                 Key: HADOOP-4606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4606
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: 4606_20081106.patch, 4606_20081113.patch
>
>
> {noformat}
> //d:\@sze\hadoop\latest\logs does not exist.
> bash-3.2$ ./bin/hadoop fs -lsr /
> cygpath: cannot create short name of d:\@sze\hadoop\latest\logs
> ...
> {noformat}

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


[jira] Updated: (HADOOP-4606) There is a cygpath error if log directory does not exist

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

Owen O'Malley updated HADOOP-4606:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Nicholas!

> There is a cygpath error if log directory does not exist
> --------------------------------------------------------
>
>                 Key: HADOOP-4606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4606
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: 4606_20081106.patch, 4606_20081113.patch
>
>
> {noformat}
> //d:\@sze\hadoop\latest\logs does not exist.
> bash-3.2$ ./bin/hadoop fs -lsr /
> cygpath: cannot create short name of d:\@sze\hadoop\latest\logs
> ...
> {noformat}

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


[jira] Updated: (HADOOP-4606) There is a cygpath error if log directory does not exist

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-4606:
-------------------------------------------

    Assignee: Tsz Wo (Nicholas), SZE
      Status: Patch Available  (was: Open)

> There is a cygpath error if log directory does not exist
> --------------------------------------------------------
>
>                 Key: HADOOP-4606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4606
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: 4606_20081106.patch, 4606_20081113.patch
>
>
> {noformat}
> //d:\@sze\hadoop\latest\logs does not exist.
> bash-3.2$ ./bin/hadoop fs -lsr /
> cygpath: cannot create short name of d:\@sze\hadoop\latest\logs
> ...
> {noformat}

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


[jira] Updated: (HADOOP-4606) There is a cygpath error if log directory does not exist

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-4606:
-------------------------------------------

    Attachment: 4606_20081106.patch

4606_20081106.patch: check existence before cygpath.

> There is a cygpath error if log directory does not exist
> --------------------------------------------------------
>
>                 Key: HADOOP-4606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4606
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: 4606_20081106.patch
>
>
> {noformat}
> //d:\@sze\hadoop\latest\logs does not exist.
> bash-3.2$ ./bin/hadoop fs -lsr /
> cygpath: cannot create short name of d:\@sze\hadoop\latest\logs
> ...
> {noformat}

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


[jira] Updated: (HADOOP-4606) There is a cygpath error if log directory does not exist

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-4606:
-------------------------------------------

    Attachment: 4606_20081113.patch

4606_20081113.patch: use -w instead of -d

-w won't have error if the path does not exist.

> There is a cygpath error if log directory does not exist
> --------------------------------------------------------
>
>                 Key: HADOOP-4606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4606
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: 4606_20081106.patch, 4606_20081113.patch
>
>
> {noformat}
> //d:\@sze\hadoop\latest\logs does not exist.
> bash-3.2$ ./bin/hadoop fs -lsr /
> cygpath: cannot create short name of d:\@sze\hadoop\latest\logs
> ...
> {noformat}

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


[jira] Commented: (HADOOP-4606) There is a cygpath error if log directory does not exist

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647444#action_12647444 ] 

Owen O'Malley commented on HADOOP-4606:
---------------------------------------

It would be better to create the path. You still need to run cygpath on it, or java will do the wrong thing inside of log4j.

> There is a cygpath error if log directory does not exist
> --------------------------------------------------------
>
>                 Key: HADOOP-4606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4606
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: 4606_20081106.patch
>
>
> {noformat}
> //d:\@sze\hadoop\latest\logs does not exist.
> bash-3.2$ ./bin/hadoop fs -lsr /
> cygpath: cannot create short name of d:\@sze\hadoop\latest\logs
> ...
> {noformat}

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