In one of our data nodes the root partition is almost 98% full and I see that there is nothing much I can clean up.
I saw below tar.gz files in the root partition:
rw-r--r-- 1 root root 196M /usr/hdp/22.214.171.124-1245/hadoop/mapreduce.tar.gz
r--r--r-- 1 root root 378M /usr/hdp/126.96.36.199-1245/oozie/oozie-sharelib.tar.gz
-rw-r--r-- 1 root root 117M /usr/hdp/188.8.131.52-1245/pig/pig.tar.gz
-rwxr-xr-x 1 root root 121M /usr/hdp/share/hst/smartsense-activity-explorer-184.108.40.206-22.tar.gz
Will there be any impact if I move these tar.gz files to a different lodcation so that we can have more space in the root partition?
Hi @Akash S,
These are the binary/library archives which were used while installing the components.
these components are linked to the current directory, you can move this to different directory as long as you dont touch the remaining jars/binaries.
However, the safest thing is to move them to a different directory and create a symlink to the same location with same permissions.
mv <file> <<archieve Area>>
ln -s <<archieve Area>>/<file> <orig_fielname>
and make sure to run the hdp-select before and after the change(compare both) to ensure that nothing broken because of this
Hope this helps !!