Ingest data from local with jupyter notebook into hdfs

Viewed 25

I'm trying to ingest data from local to hdfs ( hdfs and jupyter notebook are deployed into kubernetes) : enter image description here

enter image description here

I tired this command in jupyter but it doesn't work:

data.to_csv("hdfs:hdfs-namenode-0.hdfs-namenode.default.svc.cluster.data/NameOfFile")

i don't have an idea if i have to access into hdfs from jupyter notebook or not, i'm open to listen to your suggestion guys and thank you

0 Answers
Related