Writing data to Hadoop

前端 未结 8 1662
悲&欢浪女
悲&欢浪女 2020-12-13 10:58

I need to write data in to Hadoop (HDFS) from external sources like a windows box. Right now I have been copying the data onto the namenode and using HDFS\'s put command to

8条回答
  •  情话喂你
    2020-12-13 11:28

    Install Cygwin, install Hadoop locally (you just need the binary and configs that point at your NN -- no need to actually run the services), run hadoop fs -copyFromLocal /path/to/localfile /hdfs/path/

    You can also use the new Cloudera desktop to upload a file via the web UI, though that might not be a good option for giant files.

    There's also a WebDAV overlay for HDFS but I don't know how stable/reliable that is.

提交回复
热议问题