[ https://issues.apache.org/jira/browse/HADOOP-7601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095458#comment-13095458 ]
Luke Lu commented on HADOOP-7601: --------------------------------- bq. All default constructors are cheap in the case of FS impls. It's not guaranteed for future fs impls but the main issue is not the object creation but the class loading (which includes static initialization) along with all its dependencies. I don't want to load any classes that I don't use. Mandating that any fs impl *and* its dependencies not to do anything expensive in static initialization is unreasonable. It also limits packaging options. e.g., I want to be able to distribute a small hadoop-fs-client jars and *selected* underlying fs driver jars for a mobile device. > Move common fs implementations to a hadoop-fs module > ---------------------------------------------------- > > Key: HADOOP-7601 > URL: https://issues.apache.org/jira/browse/HADOOP-7601 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Reporter: Luke Lu > Fix For: 0.23.0 > > > Much of the hadoop-common dependencies is from the fs implementations. We > have more fs implementations on the way (ceph, lafs etc). I propose that we > move all the fs implementations to a hadoop-fs module under > hadoop-common-project. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira