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 "Bikas Saha (JIRA)" <ji...@apache.org> on 2012/08/28 02:12:07 UTC
[jira] [Created] (HADOOP-8739) Cmd scripts for Windows have issues
in argument parsing
Bikas Saha created HADOOP-8739:
----------------------------------
Summary: Cmd scripts for Windows have issues in argument parsing
Key: HADOOP-8739
URL: https://issues.apache.org/jira/browse/HADOOP-8739
Project: Hadoop Common
Issue Type: Bug
Reporter: Bikas Saha
Assignee: Bikas Saha
The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8739) Cmd scripts for Windows have issues
in argument parsing
Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bikas Saha updated HADOOP-8739:
-------------------------------
Status: Patch Available (was: Open)
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8739) Cmd scripts for Windows have
issues in argument parsing
Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443404#comment-13443404 ]
Bikas Saha commented on HADOOP-8739:
------------------------------------
Thanks for the reviews!
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8739) Cmd scripts for Windows have
issues in argument parsing
Posted by "Lauren Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443362#comment-13443362 ]
Lauren Yang commented on HADOOP-8739:
-------------------------------------
+1. Thanks for fixing!
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8739) Cmd scripts for Windows have issues
in argument parsing
Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bikas Saha updated HADOOP-8739:
-------------------------------
Attachment: HADOOP-8739.branch-1-win.1.patch
Use SHIFT command instead of breaking args into an array. This preserves the args.
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8739) Cmd scripts for Windows have
issues in argument parsing
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442874#comment-13442874 ]
Hadoop QA commented on HADOOP-8739:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12542705/HADOOP-8739.branch-1-win.1.patch
against trunk revision .
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1374//console
This message is automatically generated.
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8739) Cmd scripts for Windows have issues
in argument parsing
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-8739:
----------------------------------
Resolution: Fixed
Fix Version/s: 1-win
Status: Resolved (was: Patch Available)
I just committed this. Thanks Bikas (and Ivan for reviews).
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Fix For: 1-win
>
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8739) Cmd scripts for Windows have
issues in argument parsing
Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443403#comment-13443403 ]
Bikas Saha commented on HADOOP-8739:
------------------------------------
c:\> hadoop dfs -ls /
Found 2 items
drwxrwxrwx - Administrator supergroup 0 2012-07-06 15:00 /tmp
drwxr-xr-x - Administrator supergroup 0 2012-07-06 18:52 /user
c:\> hadoop dfs -rmr /tmp/*
Usage: java FsShell [-rmr [-skipTrash] <src> ]
This would end up resolving the * with the local filesystem and fail.
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8739) Cmd scripts for Windows have
issues in argument parsing
Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443369#comment-13443369 ]
Ivan Mitic commented on HADOOP-8739:
------------------------------------
Thanks Bikas.
Do you mind sharing one example that was not working for better Jira history?
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8739) Cmd scripts for Windows have
issues in argument parsing
Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443440#comment-13443440 ]
Ivan Mitic commented on HADOOP-8739:
------------------------------------
Thanks Bikas, that helps -- {{for}} loop expands {{*}} against the LFS.
Patch looks good, +1
> Cmd scripts for Windows have issues in argument parsing
> -------------------------------------------------------
>
> Key: HADOOP-8739
> URL: https://issues.apache.org/jira/browse/HADOOP-8739
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HADOOP-8739.branch-1-win.1.patch
>
>
> The parsing of the arguments has a bug in the way its broken down and this break things such at handling globbing (* char).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira