Amazing technological breakthrough possible @S-Logix

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • +91- 81240 01111

Social List

How to copy a File from HDFS to local System?

  • //To create a new directory
    Sample Code Segment

    Path sourcepath= new Path("user/D/filelLocation");
    Path despath= new Path("hdfs://”);
    FileSystem fs = FileSystem.get(conf);


    hadoop fs -copyToLocal