Delete application logs from spark history specifying date
from
hdfs dfs -du -h /
we see that spark history take a lot space from HDFS
I want delete only some that I specified for example all that are of the year 2019 and 2019, and keep the rest.
If I use the command
hdfs dfs -rm -R /spark2-history/*
this delete all and I want not delete all.
Thanks

