Support Questions

Find answers, ask questions, and share your expertise

Moving tar.gz files /usr/hdp to a different drive

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/

r--r--r-- 1 root root 378M /usr/hdp/

-rw-r--r-- 1 root root 117M /usr/hdp/

-rwxr-xr-x 1 root root 121M /usr/hdp/share/hst/smartsense-activity-explorer-

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?


Super Collaborator

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 !!

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.