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 "Sanjay Radia (JIRA)" <ji...@apache.org> on 2008/08/23 01:22:44 UTC
[jira] Created: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Remove DFSFileInfo - FileStatus is sufficient
---------------------------------------------
Key: HADOOP-4007
URL: https://issues.apache.org/jira/browse/HADOOP-4007
Project: Hadoop Core
Issue Type: Sub-task
Reporter: Sanjay Radia
Fix For: 0.19.0
DFSFileInfo extends FileStatus.
FileSystem uses FileStatus.
DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631537#action_12631537 ]
dhruba borthakur commented on HADOOP-4007:
------------------------------------------
The test failure does not seem to be related to this patch.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Chansler updated HADOOP-4007:
------------------------------------
Release Note: Changed ClientProtocol getStatus and getListing to use the type FileStatus. Removed type DFSFileInfo. (was: This patch removes the the type DFSFIleInfo (returned in getStatus and getListing ..) in the
ClientProtocol and uses the type FileStatus instead.
DFSFileInfo added no additional info and furthermore FileStatus is the data type used by
FileSystem Interface.
The client to name node protocol is changed.)
Hadoop Flags: [Incompatible change, Reviewed] (was: [Reviewed, Incompatible change])
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch, removeDFSInfo3_updated.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dhruba borthakur reopened HADOOP-4007:
--------------------------------------
This patch leaves an empty DFSFileInfo.java file in the svn. Is this on purpose?
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch, removeDFSInfo3_updated.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-4007:
---------------------------------
Release Note:
This patch removes the the type DFSFIleInfo (returned in getStatus and getListing ..) in the
ClientProtocol and uses the type FileStatus instead.
DFSFileInfo added no additional info and furthermore FileStatus is the data type used by
FileSystem Interface.
The client to name node protocol is changed.
Hadoop Flags: [Incompatible change]
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Reporter: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-4007:
-------------------------------------------
Attachment: removeDFSInfo3_updated.patch
removeDFSInfo3_updated.patch: updated with trunk
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch, removeDFSInfo3_updated.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631435#action_12631435 ]
Hadoop QA commented on HADOOP-4007:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12390087/removeDFSInfo3.patch
against trunk revision 695844.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
-1 core tests. The patch failed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3271/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3271/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3271/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3271/console
This message is automatically generated.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-4007:
---------------------------------
Attachment: removeDFSInfo2.patch
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Reporter: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-4007:
----------------------------------
Assignee: Sanjay Radia
Status: Patch Available (was: Open)
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Chansler updated HADOOP-4007:
------------------------------------
Component/s: dfs
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-4007:
---------------------------------
Attachment: removeDFSInfo.patch
Turns we can remove DFSFileInfo completely.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Reporter: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang updated HADOOP-4007:
----------------------------------
Resolution: Fixed
Hadoop Flags: [Incompatible change, Reviewed] (was: [Incompatible change])
Status: Resolved (was: Patch Available)
I just committed this. Thank you Sanjay!
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch, removeDFSInfo3_updated.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-4007:
---------------------------------
Status: Patch Available (was: Open)
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang resolved HADOOP-4007.
-----------------------------------
Resolution: Fixed
Hadoop Flags: [Incompatible change, Reviewed] (was: [Reviewed, Incompatible change])
The empty file is removed.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch, removeDFSInfo3_updated.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631545#action_12631545 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-4007:
------------------------------------------------
+1 patch looks good but it conflicts with the current trunk.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630302#action_12630302 ]
Hairong Kuang commented on HADOOP-4007:
---------------------------------------
+1 on the change. One minor comment: For the static method createFileStatus in FsDirectory, is it easier to maintain the code if we make it to be a member method of INode?
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-4007:
---------------------------------
Status: Open (was: Patch Available)
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633299#action_12633299 ]
Hudson commented on HADOOP-4007:
--------------------------------
Integrated in Hadoop-trunk #611 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/611/])
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch, removeDFSInfo3_updated.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630117#action_12630117 ]
Hadoop QA commented on HADOOP-4007:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12389847/removeDFSInfo2.patch
against trunk revision 693705.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3240/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3240/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3240/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3240/console
This message is automatically generated.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630340#action_12630340 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-4007:
------------------------------------------------
createFileStatus(...) is used in FSDirectory. It might be better to make it private static in FSDirectory.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4007) Remove DFSFileInfo - FileStatus is
sufficient
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HADOOP-4007:
---------------------------------
Attachment: removeDFSInfo3.patch
Decided to go with Nicolas's suggestion of private static method as this method
is only used in FSDirectory.
> Remove DFSFileInfo - FileStatus is sufficient
> ---------------------------------------------
>
> Key: HADOOP-4007
> URL: https://issues.apache.org/jira/browse/HADOOP-4007
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Fix For: 0.19.0
>
> Attachments: removeDFSInfo.patch, removeDFSInfo2.patch, removeDFSInfo3.patch
>
>
> DFSFileInfo extends FileStatus.
> FileSystem uses FileStatus.
> DFSFileInfo does not add any functionality. Remove it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.