- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
can we customize HDP installation in other directories instead of /usr /etc
- Labels:
-
Apache Hadoop
-
Apache HBase
Created ‎08-18-2016 07:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi team,
i see HDP stores its lib files and packages in /usr/hdp and maintains diff versions
can we control HDP installation packages or rpm and make installation relocatable to other directories like /opt
if my It team does not permit installation inside /usr then what to do ?
# ls /usr/hdp/
2.4.0.0-169 2.4.2.0-258 current
Please advise
rpm -ql hdp-select-2.4.2.0-258.el6.noarch
/usr/bin/conf-select /usr/bin/hdp-select
Created ‎08-19-2016 06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ted Yu @emaxwell @Josh Elser thanks all for your confirmation , that's why i asked if rpm is relocatable 🙂
so the bottom line is Hortonworks installation directories cannot be changed , all binary and config files of HDP go in /usr and /etc .. since its hardcoded in RPM and RPM is not relocatable
i will close this thread
But I believe it should support relocatability from corporate IT policy POV , wherein we many times we have issue putting files in /usr and /etc
also i suggest at the time of RPM creation hortonworks should make RPM to be relocatable in order to allow installing binary and config files in other directories instead of /usr and /etc . i understand there are other software's which HDP consists of, but ultimately Hortwonworks can customize this bundle to support user specific needs
I should open this as an idea , WDYT ?
Created ‎08-18-2016 07:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not aware of any option to allow installation to directories other than /usr/.
Created ‎08-18-2016 08:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The installation is controlled by the rpm packages.
It is hard coded to /usr/hdp
Created ‎08-18-2016 09:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it is not possible to modify the install locations. These locations are specified at the time the RPMs are built and can not be changed. 3rd party software will depend on HDP being installed in this location, and Ambari distributes all of the config files to /etc on all of the nodes. Log file directories can be changed, but not the binary installation and config file directories.
Created ‎08-19-2016 06:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ted Yu @emaxwell @Josh Elser thanks all for your confirmation , that's why i asked if rpm is relocatable 🙂
i will close this thread
But I believe it should support this from corporate IT policy POV , wherein we many times have issue putting files in /usr and /etc
i should open this as an idea , WDYT ?
Created ‎08-19-2016 06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ted Yu @emaxwell @Josh Elser thanks all for your confirmation , that's why i asked if rpm is relocatable 🙂
so the bottom line is Hortonworks installation directories cannot be changed , all binary and config files of HDP go in /usr and /etc .. since its hardcoded in RPM and RPM is not relocatable
i will close this thread
But I believe it should support relocatability from corporate IT policy POV , wherein we many times we have issue putting files in /usr and /etc
also i suggest at the time of RPM creation hortonworks should make RPM to be relocatable in order to allow installing binary and config files in other directories instead of /usr and /etc . i understand there are other software's which HDP consists of, but ultimately Hortwonworks can customize this bundle to support user specific needs
I should open this as an idea , WDYT ?
