Namenode HA (UnknownHostException: nameservice1)

后端 未结 4 1321
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 12:26

We enable Namenode High Availability through Cloudera Manager, using

Cloudera Manager >> HDFS >> Action > Enable High Availability >> Selected Stand By Namenode &a

4条回答
  •  时光取名叫无心
    2021-01-12 13:24

    I resolved this issue my putting the complete line to create RDD

    myfirstrdd = sc.textFile("hdfs://192.168.35.132:8020/BUPA.txt")

    and then I was able to do other RDD transformation .. Make sure you have the w/r/x to the file or you can do chmod 777

提交回复
热议问题