You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Wenqi Ma <ma...@gmail.com> on 2023/04/20 12:59:02 UTC
Question about getSchema method in SFTPFileSystem
Dear Hadoop Team,
I am a developer working with the Hadoop platform, and I recently noticed
that the *SFTPFileSystem *class in Hadoop 3.x extends the FileSystem class
and should therefore inherit the *getScheme *method. However, I also
noticed that there is no *getSchema *method specifically in *SFTPFileSystem*
.
I am curious about the reason for this design decision, and whether there
are any specific considerations or use cases that led to the exclusion of
this method in *SFTPFileSystem*. Would it be possible to provide some
insight into this decision, or perhaps point me to any relevant
documentation or discussions on this topic?
Thank you for your time and help.
Sincerely,
Wenqi Ma
Re: Question about getSchema method in SFTPFileSystem
Posted by Chris Nauroth <cn...@apache.org>.
SFTPFileSystem was introduced in HADOOP-5732. I don't see any discussion
there about the getScheme() implementation, so this might not have been an
intentional design choice. I think it's a bug.
Are you interested in contributing a patch?
Chris Nauroth
On Thu, Apr 20, 2023 at 6:00 AM Wenqi Ma <ma...@gmail.com> wrote:
>
> Dear Hadoop Team,
>
> I am a developer working with the Hadoop platform, and I recently noticed
> that the *SFTPFileSystem *class in Hadoop 3.x extends the FileSystem
> class and should therefore inherit the *getScheme *method. However, I
> also noticed that there is no *getSchema *method specifically in
> *SFTPFileSystem*.
>
> I am curious about the reason for this design decision, and whether there
> are any specific considerations or use cases that led to the exclusion of
> this method in *SFTPFileSystem*. Would it be possible to provide some
> insight into this decision, or perhaps point me to any relevant
> documentation or discussions on this topic?
>
> Thank you for your time and help.
>
> Sincerely,
> Wenqi Ma
>