You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eric Badger (JIRA)" <ji...@apache.org> on 2016/07/11 19:15:11 UTC

[jira] [Created] (HDFS-10610) DfsClient doesn't add hdfs-site.xml as a resource

Eric Badger created HDFS-10610:
----------------------------------

             Summary: DfsClient doesn't add hdfs-site.xml as a resource
                 Key: HDFS-10610
                 URL: https://issues.apache.org/jira/browse/HDFS-10610
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.8.0
            Reporter: Eric Badger


Instantiating a new DfsClient used to add hdfs-site.xml as a resource in 2.7, but that compatibility has been broken in 2.8. This only accidentally worked in 2.7, since DfsClient would load HdfsConstants, which would in turn create the static IO_FILE_BUFFER_SIZE, which would instantiate an HdfsConfiguration, which would finally add hdfs-site.xml. 

In 2.8, IO_FILE_BUFFER_SIZE no longer exists in HdfsConstants.java and so this no longer works out of coincidence. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org