Member since
02-27-2022
4
Posts
0
Kudos Received
0
Solutions
04-29-2022
03:32 AM
Hi ggangadharan I follow the way u suggest, but now i need help in code that we can execute that hdfscode shell script from python script. and do it as an import subprocess subprocess.call('./home/test.sh/' ,shell=True) file = open('toDelete, 'r') for each in file: subprocess.call(["hadoop", "fs", "-rm", "-f", each]) but now my shell script is not executing and not showing any output ,plz suggest me what i do. thanks
... View more