Is it possible to save files in Hadoop without saving them in local file system?

后端 未结 3 796
滥情空心
滥情空心 2021-01-15 17:30

Is it possible to save files in Hadoop without saving them in local file system? I would like to do something like shown below however I would like to save file directly in

3条回答
  •  离开以前
    2021-01-15 18:07

    Python is installed in your Linux. It can access only local files. It cannot directly access files in HDFS.

    In order to save/put the files directly to HDFS, you need to use any of these below:

    • Spark: Use Dstream for streaming files

    • Kafka: matter of setting up configuration file. Best for streaming data.

    • Flume: set up configuration file. Best for static files.

提交回复
热议问题