- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
where can I find fs.hdfs.impl property
- Labels:
-
HDFS
Created on ‎05-11-2016 07:07 PM - edited ‎09-16-2022 03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
