Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> Installing with Hadoop 2.2.0


Copy link to this message
-
Re: Installing with Hadoop 2.2.0
That's definitely difficult to encapsulate. You can get a mixing of
Apache conventions, your OS of choice conventions, and vendor conventions.

The thing that I usually see is applications installed under /usr/lib
(e.g. /usr/lib/accumulo), the relevant executables linked to /usr/bin to
get them on the $PATH, /usr/lib/accumulo/conf linked to
/etc/accumulo/conf (with indirection for your configuration mgmt tool of
choice -- e.g. alternatives on RHEL-based systems), and
/usr/lib/accumulo/logs linked to /var/log/accumulo.

Typically you would want all of that chown'ed by the accumulo user. Be
sure to chmod /etc/accumulo/conf and /var/log/accumulo 700 to not
inadvertently leak any sensitive configuration or log messages. The rest
of /usr/lib/accumulo can probably just be 755/644 for dirs/files,
respectively.

This also can map well to development machines if you use /usr/local/lib
for installations and avoid symlink'ing out to /etc and /var.

On 3/19/14, 2:32 PM, Benjamin Parrish wrote: