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 "Joydeep Sen Sarma (JIRA)" <ji...@apache.org> on 2009/04/27 13:55:30 UTC
[jira] Created: (HADOOP-5749) FsShell forces creation of default
filesystem object and incorrectly uses default filesystem in some places
FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places
------------------------------------------------------------------------------------------------------------
Key: HADOOP-5749
URL: https://issues.apache.org/jira/browse/HADOOP-5749
Project: Hadoop Core
Issue Type: Bug
Components: fs
Reporter: Joydeep Sen Sarma
i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all.
the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance:
copy(String argv[], ...) { ...
Path dst = new Path(dest);
if (!fs.isDirectory(dst)) {
there are some other places as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5749) FsShell forces creation of default
filesystem object and incorrectly uses default filesystem in some places
Posted by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joydeep Sen Sarma updated HADOOP-5749:
--------------------------------------
Assignee: Joydeep Sen Sarma
Status: Patch Available (was: Open)
> FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-5749
> URL: https://issues.apache.org/jira/browse/HADOOP-5749
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Reporter: Joydeep Sen Sarma
> Assignee: Joydeep Sen Sarma
> Attachments: hadoop-5749.1.patch
>
>
> i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all.
> the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance:
> copy(String argv[], ...) { ...
> Path dst = new Path(dest);
> if (!fs.isDirectory(dst)) {
> there are some other places as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5749) FsShell forces creation of default
filesystem object and incorrectly uses default filesystem in some places
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated HADOOP-5749:
------------------------------
Status: Open (was: Patch Available)
Patch needs regenerating following the project split.
> FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-5749
> URL: https://issues.apache.org/jira/browse/HADOOP-5749
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Reporter: Joydeep Sen Sarma
> Assignee: Joydeep Sen Sarma
> Attachments: hadoop-5749.1.patch, hadoop-5749.2.patch
>
>
> i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all.
> the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance:
> copy(String argv[], ...) { ...
> Path dst = new Path(dest);
> if (!fs.isDirectory(dst)) {
> there are some other places as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-5749) FsShell forces creation of default
filesystem object and incorrectly uses default filesystem in some places
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716317#action_12716317 ]
Tom White commented on HADOOP-5749:
-----------------------------------
Joydeep, did you manage to chase these down? Was the default filesystem HDFS?
> FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-5749
> URL: https://issues.apache.org/jira/browse/HADOOP-5749
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Reporter: Joydeep Sen Sarma
>
> i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all.
> the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance:
> copy(String argv[], ...) { ...
> Path dst = new Path(dest);
> if (!fs.isDirectory(dst)) {
> there are some other places as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5749) FsShell forces creation of default
filesystem object and incorrectly uses default filesystem in some places
Posted by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joydeep Sen Sarma updated HADOOP-5749:
--------------------------------------
Attachment: hadoop-5749.1.patch
> FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-5749
> URL: https://issues.apache.org/jira/browse/HADOOP-5749
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Reporter: Joydeep Sen Sarma
> Attachments: hadoop-5749.1.patch
>
>
> i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all.
> the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance:
> copy(String argv[], ...) { ...
> Path dst = new Path(dest);
> if (!fs.isDirectory(dst)) {
> there are some other places as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-5749) FsShell forces creation of default
filesystem object and incorrectly uses default filesystem in some places
Posted by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716320#action_12716320 ]
Joydeep Sen Sarma commented on HADOOP-5749:
-------------------------------------------
sorry - i do have a patch for this (but haven't figure the testing part out). will upload something later today.
> FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-5749
> URL: https://issues.apache.org/jira/browse/HADOOP-5749
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Reporter: Joydeep Sen Sarma
>
> i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all.
> the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance:
> copy(String argv[], ...) { ...
> Path dst = new Path(dest);
> if (!fs.isDirectory(dst)) {
> there are some other places as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5749) FsShell forces creation of default
filesystem object and incorrectly uses default filesystem in some places
Posted by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joydeep Sen Sarma updated HADOOP-5749:
--------------------------------------
Attachment: hadoop-5749.2.patch
forgot to add file.
> FsShell forces creation of default filesystem object and incorrectly uses default filesystem in some places
> ------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-5749
> URL: https://issues.apache.org/jira/browse/HADOOP-5749
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Reporter: Joydeep Sen Sarma
> Assignee: Joydeep Sen Sarma
> Attachments: hadoop-5749.1.patch, hadoop-5749.2.patch
>
>
> i was trying do fs -ls operations on s3n filesystem uris (which was not configured as my default filesystem - the default filesystem was not bought up). these operations failed since they always tried to open the default filesystem (error: ""Bad connection to FS. command aborted."). but the default filesystem is not required in these cases at all.
> the code also shows that the default filesystem is used in certain places (instead of the filesystem of the uri). for instance:
> copy(String argv[], ...) { ...
> Path dst = new Path(dest);
> if (!fs.isDirectory(dst)) {
> there are some other places as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.