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 "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2006/11/01 23:26:18 UTC
[jira] Created: (HADOOP-670) Generic types for FSNamesystem
Generic types for FSNamesystem
------------------------------
Key: HADOOP-670
URL: http://issues.apache.org/jira/browse/HADOOP-670
Project: Hadoop
Issue Type: Improvement
Affects Versions: 0.7.2
Reporter: Konstantin Shvachko
Assigned To: Konstantin Shvachko
Fix For: 0.8.0
Attachments: Generics.patch
I introduced generic types for FSNamesystem class.
I tried to keep interfaces in declarations of the member as general as possible
in order to have flexibility to change types of instances in the future.
I tried to contain changes within one java file.
I also replaced Vector types by ArrayList. Vectors are synchronized,
which we don't need since we already have top level synchronization in FSNamesystem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-670) Generic types for FSNamesystem
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-670?page=all ]
Konstantin Shvachko updated HADOOP-670:
---------------------------------------
Status: Patch Available (was: Open)
> Generic types for FSNamesystem
> ------------------------------
>
> Key: HADOOP-670
> URL: http://issues.apache.org/jira/browse/HADOOP-670
> Project: Hadoop
> Issue Type: Improvement
> Affects Versions: 0.7.2
> Reporter: Konstantin Shvachko
> Assigned To: Konstantin Shvachko
> Fix For: 0.8.0
>
> Attachments: Generics.patch
>
>
> I introduced generic types for FSNamesystem class.
> I tried to keep interfaces in declarations of the member as general as possible
> in order to have flexibility to change types of instances in the future.
> I tried to contain changes within one java file.
> I also replaced Vector types by ArrayList. Vectors are synchronized,
> which we don't need since we already have top level synchronization in FSNamesystem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-670) Generic types for FSNamesystem
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-670?page=all ]
Konstantin Shvachko updated HADOOP-670:
---------------------------------------
Attachment: Generics.patch
> Generic types for FSNamesystem
> ------------------------------
>
> Key: HADOOP-670
> URL: http://issues.apache.org/jira/browse/HADOOP-670
> Project: Hadoop
> Issue Type: Improvement
> Affects Versions: 0.7.2
> Reporter: Konstantin Shvachko
> Assigned To: Konstantin Shvachko
> Fix For: 0.8.0
>
> Attachments: Generics.patch
>
>
> I introduced generic types for FSNamesystem class.
> I tried to keep interfaces in declarations of the member as general as possible
> in order to have flexibility to change types of instances in the future.
> I tried to contain changes within one java file.
> I also replaced Vector types by ArrayList. Vectors are synchronized,
> which we don't need since we already have top level synchronization in FSNamesystem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-670) Generic types for FSNamesystem
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-670?page=all ]
Doug Cutting updated HADOOP-670:
--------------------------------
Status: Resolved (was: Patch Available)
Resolution: Fixed
I just committed this. Thanks, Konstantin.
> Generic types for FSNamesystem
> ------------------------------
>
> Key: HADOOP-670
> URL: http://issues.apache.org/jira/browse/HADOOP-670
> Project: Hadoop
> Issue Type: Improvement
> Affects Versions: 0.7.2
> Reporter: Konstantin Shvachko
> Assigned To: Konstantin Shvachko
> Fix For: 0.8.0
>
> Attachments: Generics.patch
>
>
> I introduced generic types for FSNamesystem class.
> I tried to keep interfaces in declarations of the member as general as possible
> in order to have flexibility to change types of instances in the future.
> I tried to contain changes within one java file.
> I also replaced Vector types by ArrayList. Vectors are synchronized,
> which we don't need since we already have top level synchronization in FSNamesystem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira