[Python] Is there a way to append data to a hdfs file using Pydoop?

Discussão em 'Python' iniciado por Stack, Dezembro 1, 2024.

  1. Stack

    Stack Membro Participativo

    I am trying to write contents of an object to a file in hdfs using python. For this, I have found a hdfs API implemented in python named Pydoop. Reading the API, I can easily use dump() method of pydoop to write contents to a file in hdfs path but have not seen any method like append() that could append new content to the old file. I know it is possible as I have found command line syntax for hdfs that does this but was thinking of using pydoop for doing this. Any help will be appreciated. Thanks

    Continue reading...

Compartilhe esta Página