Created on 05-11-2016 07:07 PM - edited 09-16-2022 03:18 AM
In the past I used to set 'fs.hdfs.impl', however after moving to 2.3 I can't set it (in the past it was in core-site).
was it moved? removed?
Thanks
Alon
Created 05-11-2016 07:51 PM
HDP 2.3 uses Apache Hadoop 2.7.1
The available configuration(in core-site.xml) for this version of Hadoop can be found here:
https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-common/core-default.xml
It looks like it may have been changed to: fs.AbstractFileSystem.hdfs.impl
Created 05-11-2016 09:34 PM
Hi Nasheb
thank you for the answer, however I am a bit confused.
fs.AbstractFileSystem.hdfs.impl expects a uri will it be the same format as fs.hdfs.impl?
also, on my local hdp 2.3 setup I can't find core-defualt.xml file - what is it's location? what happens if it is not there? can I place it in core-site?
Created 05-12-2016 03:54 PM
Alon, what are you attempting to do? Is fs.hdfs.impl the correct property you are looking to change?
Created 05-11-2016 09:47 PM
If we look at the configuration for an older version of Hadoop:
name|value|description
fs.hdfs.impl | org.apache.hadoop.dfs.DistributedFileSystem | The FileSystem for hdfs: uris. |
If we look at the configuration of Hadoop 2.7.1
name|value|description
fs.AbstractFileSystem.hdfs.impl | org.apache.hadoop.fs.Hdfs | The FileSystem for hdfs: uris. |
For the second part of your question:
core-default.xml just gives you the default implementation for core-site.xml
You can add the properties to core-site.xml to overwrite the default values