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 "Hairong Kuang (JIRA)" <ji...@apache.org> on 2007/05/25 19:35:16 UTC
[jira] Created: (HADOOP-1435) FileSystem.globPath should not create
a Path from an empty string
FileSystem.globPath should not create a Path from an empty string
-----------------------------------------------------------------
Key: HADOOP-1435
URL: https://issues.apache.org/jira/browse/HADOOP-1435
Project: Hadoop
Issue Type: Bug
Components: fs
Affects Versions: 0.12.3
Reporter: Hairong Kuang
Assigned To: Hairong Kuang
Priority: Blocker
Fix For: 0.13.0
Got the following error when tried to list a directory in a home directory using a relative path name
hadoop dfs -ls in_jar
Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
at org.apache.hadoop.fs.Path.<init>(Path.java:90)
at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:561)
at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:540)
at org.apache.hadoop.fs.FsShell.ls(FsShell.java:314)
at org.apache.hadoop.fs.FsShell.doall(FsShell.java:842)
at org.apache.hadoop.fs.FsShell.run(FsShell.java:1016)
at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:189)
at org.apache.hadoop.fs.FsShell.main(FsShell.java:1092)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1435) FileSystem.globPaths should not
create a Path from an empty string
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang updated HADOOP-1435:
----------------------------------
Status: Patch Available (was: Open)
> FileSystem.globPaths should not create a Path from an empty string
> ------------------------------------------------------------------
>
> Key: HADOOP-1435
> URL: https://issues.apache.org/jira/browse/HADOOP-1435
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: globPath.patch
>
>
> Got the following error when tried to list a directory in a home directory using a relative path name
> hadoop dfs -ls in_jar
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
> at org.apache.hadoop.fs.Path.<init>(Path.java:90)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:561)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:540)
> at org.apache.hadoop.fs.FsShell.ls(FsShell.java:314)
> at org.apache.hadoop.fs.FsShell.doall(FsShell.java:842)
> at org.apache.hadoop.fs.FsShell.run(FsShell.java:1016)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:189)
> at org.apache.hadoop.fs.FsShell.main(FsShell.java:1092)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1435) FileSystem.globPaths should not
create a Path from an empty string
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499203 ]
Hadoop QA commented on HADOOP-1435:
-----------------------------------
+1
http://issues.apache.org/jira/secure/attachment/12358269/globPath.patch applied and successfully tested against trunk revision r541463.
Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/204/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/204/console
> FileSystem.globPaths should not create a Path from an empty string
> ------------------------------------------------------------------
>
> Key: HADOOP-1435
> URL: https://issues.apache.org/jira/browse/HADOOP-1435
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: globPath.patch
>
>
> Got the following error when tried to list a directory in a home directory using a relative path name
> hadoop dfs -ls in_jar
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
> at org.apache.hadoop.fs.Path.<init>(Path.java:90)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:561)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:540)
> at org.apache.hadoop.fs.FsShell.ls(FsShell.java:314)
> at org.apache.hadoop.fs.FsShell.doall(FsShell.java:842)
> at org.apache.hadoop.fs.FsShell.run(FsShell.java:1016)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:189)
> at org.apache.hadoop.fs.FsShell.main(FsShell.java:1092)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1435) FileSystem.globPath should not create
a Path from an empty string
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang updated HADOOP-1435:
----------------------------------
Attachment: globPath.patch
> FileSystem.globPath should not create a Path from an empty string
> -----------------------------------------------------------------
>
> Key: HADOOP-1435
> URL: https://issues.apache.org/jira/browse/HADOOP-1435
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: globPath.patch
>
>
> Got the following error when tried to list a directory in a home directory using a relative path name
> hadoop dfs -ls in_jar
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
> at org.apache.hadoop.fs.Path.<init>(Path.java:90)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:561)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:540)
> at org.apache.hadoop.fs.FsShell.ls(FsShell.java:314)
> at org.apache.hadoop.fs.FsShell.doall(FsShell.java:842)
> at org.apache.hadoop.fs.FsShell.run(FsShell.java:1016)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:189)
> at org.apache.hadoop.fs.FsShell.main(FsShell.java:1092)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1435) FileSystem.globPaths should not
create a Path from an empty string
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated HADOOP-1435:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Hairong!
> FileSystem.globPaths should not create a Path from an empty string
> ------------------------------------------------------------------
>
> Key: HADOOP-1435
> URL: https://issues.apache.org/jira/browse/HADOOP-1435
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: globPath.patch
>
>
> Got the following error when tried to list a directory in a home directory using a relative path name
> hadoop dfs -ls in_jar
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
> at org.apache.hadoop.fs.Path.<init>(Path.java:90)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:561)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:540)
> at org.apache.hadoop.fs.FsShell.ls(FsShell.java:314)
> at org.apache.hadoop.fs.FsShell.doall(FsShell.java:842)
> at org.apache.hadoop.fs.FsShell.run(FsShell.java:1016)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:189)
> at org.apache.hadoop.fs.FsShell.main(FsShell.java:1092)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1435) FileSystem.globPaths should not
create a Path from an empty string
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang updated HADOOP-1435:
----------------------------------
Summary: FileSystem.globPaths should not create a Path from an empty string (was: FileSystem.globPath should not create a Path from an empty string)
> FileSystem.globPaths should not create a Path from an empty string
> ------------------------------------------------------------------
>
> Key: HADOOP-1435
> URL: https://issues.apache.org/jira/browse/HADOOP-1435
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: globPath.patch
>
>
> Got the following error when tried to list a directory in a home directory using a relative path name
> hadoop dfs -ls in_jar
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
> at org.apache.hadoop.fs.Path.<init>(Path.java:90)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:561)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:540)
> at org.apache.hadoop.fs.FsShell.ls(FsShell.java:314)
> at org.apache.hadoop.fs.FsShell.doall(FsShell.java:842)
> at org.apache.hadoop.fs.FsShell.run(FsShell.java:1016)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:189)
> at org.apache.hadoop.fs.FsShell.main(FsShell.java:1092)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1435) FileSystem.globPaths should not
create a Path from an empty string
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499305 ]
Hadoop QA commented on HADOOP-1435:
-----------------------------------
Integrated in Hadoop-Nightly #101 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/101/)
> FileSystem.globPaths should not create a Path from an empty string
> ------------------------------------------------------------------
>
> Key: HADOOP-1435
> URL: https://issues.apache.org/jira/browse/HADOOP-1435
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: globPath.patch
>
>
> Got the following error when tried to list a directory in a home directory using a relative path name
> hadoop dfs -ls in_jar
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
> at org.apache.hadoop.fs.Path.<init>(Path.java:90)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:561)
> at org.apache.hadoop.fs.FileSystem.globPaths(FileSystem.java:540)
> at org.apache.hadoop.fs.FsShell.ls(FsShell.java:314)
> at org.apache.hadoop.fs.FsShell.doall(FsShell.java:842)
> at org.apache.hadoop.fs.FsShell.run(FsShell.java:1016)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:189)
> at org.apache.hadoop.fs.FsShell.main(FsShell.java:1092)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.