Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

An easy way to define a prefix for all hdp components ?

avatar
New Member

Hi,

is there a simple way to install all hdp components using a common prefix ? A single path prefix box where I could enter /opt/mydumbo/ ? I do try to accomplish this with linking all I can. I don't mind having a /var/log/hbase which is a link to /opt/mydumbo/hbase/log. Can this be accomplished with a blueprint ?

Thanks,

1 ACCEPTED SOLUTION

avatar
New Member

I have it now working (moved everything to one volume for now and linked all the directories). The important thing is to keep the rights of the files. Basically the requirement is to isolate the appliacation to a set of volumes so you won't overflow the system tmp/log partitions. Then the outline might look like (several data dirs are used so you can keep several copies of data on different volumes/disks on the same host):

/opt/mydumbo/app/ - binaries, static config like in /etc/...

/opt/mydumbo/data1/ - dynamic data like hdfs/namenode hdfs/datanode...

/opt/mydumbo/data2/ - dynamic data like hdfs/namenode hdfs/datanode...

/opt/mydumbo/data3/ - dynamic data like hdfs/namenode hdfs/datanode...

/opt/mydumbo/log - all the log files

/opt/mydumbo/tmp - temporary data

Ideally I would like to blueprint it. I let it run for a while but hints, pointers and doubts are welcome. Might end in tears as mentioned before but I want to try 🙂 The truth is no kerberos and such is used at the moment so might be easier.

Thanks,

Peter

View solution in original post

10 REPLIES 10