I am writing java code to upload a file to HDFS. So, my code is as follows:
Configuration configuration = new Configuration();
Filesystem filesystem = FileSystem.get(URI.create(remote), configuration);
I included the following dependencies while executing the project:
While executing the project I got an error saying
No FileSystem for scheme:hdfs
Can anyone tell me what is wrong with my code?