I just finished setting up an 8-node cluster using Cloudera CDH3u5 andAccumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux userand hadoop group (and others). I initially created an accumulo Linux userand set it as the owner of the Accumulo software.

However, after HDFS was up and running, when I attempted to start Accumuloas the accumulo Linux user, I of course got HDFS permission denied when ittried to write to HDFS. Being a newbie, I didn't bother figuring out howto grant HDFS permissions to the accumulo account, I just started Accumuloas the hdfs user so I could get things rolling.

As what user does one normally start Accumulo? hdfs? Linux root? TheAccumulo User Manual never recommends anything about who the Accumulobinaries should be owned by or what account it should be run under (e.g.root, or an accumulo Linux account).

To properly secure you Accumulo install it's important that the sharedsecret in the Accumulo configs only be shared with the Accumulo processes,so I would recommend using a separate accumulo user.

In HDFS you can create the directory that Accumulo writes to (/accumulo bydefault) and then chown it to accumulo. That ought to get you started. Iftrash is enabled in HDFS (fs.trash.interval set to something other than 0,I believe) then you may also have to create the accumulo home directory inhdfs and chown that as well.

> I just finished setting up an 8-node cluster using Cloudera CDH3u5 and> Accumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux user> and hadoop group (and others). I initially created an accumulo Linux user> and set it as the owner of the Accumulo software.>> However, after HDFS was up and running, when I attempted to start Accumulo> as the accumulo Linux user, I of course got HDFS permission denied when it> tried to write to HDFS. Being a newbie, I didn't bother figuring out how> to grant HDFS permissions to the accumulo account, I just started Accumulo> as the hdfs user so I could get things rolling.>> As what user does one normally start Accumulo? hdfs? Linux root? The> Accumulo User Manual never recommends anything about who the Accumulo> binaries should be owned by or what account it should be run under (e.g.> root, or an accumulo Linux account).>> Thanks in advance,> Terry>

One extra point, you definitely do *not* want to run Accumulo as the linuxroot user. :)As Adam pointed out, there are definitely some advantages to having asingular user which runs all of the Accumulo processes. Accumulo, however,doesn't really care which user its run as, so that's probably why the usermanual doesn't state anything. We could probably add in a note to recommenda default of "accumulo".On Fri, Apr 26, 2013 at 4:53 PM, Adam Fuchs <[EMAIL PROTECTED]> wrote:

> Terry,>> To properly secure you Accumulo install it's important that the shared> secret in the Accumulo configs only be shared with the Accumulo processes,> so I would recommend using a separate accumulo user.>> In HDFS you can create the directory that Accumulo writes to (/accumulo by> default) and then chown it to accumulo. That ought to get you started. If> trash is enabled in HDFS (fs.trash.interval set to something other than 0,> I believe) then you may also have to create the accumulo home directory in> hdfs and chown that as well.>> Cheers,> Adam> On Apr 26, 2013 4:36 PM, "Terry P." <[EMAIL PROTECTED]> wrote:>>> I just finished setting up an 8-node cluster using Cloudera CDH3u5 and>> Accumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux user>> and hadoop group (and others). I initially created an accumulo Linux user>> and set it as the owner of the Accumulo software.>>>> However, after HDFS was up and running, when I attempted to start>> Accumulo as the accumulo Linux user, I of course got HDFS permission denied>> when it tried to write to HDFS. Being a newbie, I didn't bother figuring>> out how to grant HDFS permissions to the accumulo account, I just started>> Accumulo as the hdfs user so I could get things rolling.>>>> As what user does one normally start Accumulo? hdfs? Linux root? The>> Accumulo User Manual never recommends anything about who the Accumulo>> binaries should be owned by or what account it should be run under (e.g.>> root, or an accumulo Linux account).>>>> Thanks in advance,>> Terry>>>

On top of what Adam said, the scripts under assembly/init.d will not onlyinstall init.d scripts and set rc levels, they will also create anaccumulo, accumulo_trace, and accumulo_monitor user and the processes willrun under those users.On Fri, Apr 26, 2013 at 4:35 PM, Terry P. <[EMAIL PROTECTED]> wrote:

> I just finished setting up an 8-node cluster using Cloudera CDH3u5 and> Accumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux user> and hadoop group (and others). I initially created an accumulo Linux user> and set it as the owner of the Accumulo software.>> However, after HDFS was up and running, when I attempted to start Accumulo> as the accumulo Linux user, I of course got HDFS permission denied when it> tried to write to HDFS. Being a newbie, I didn't bother figuring out how> to grant HDFS permissions to the accumulo account, I just started Accumulo> as the hdfs user so I could get things rolling.>> As what user does one normally start Accumulo? hdfs? Linux root? The> Accumulo User Manual never recommends anything about who the Accumulo> binaries should be owned by or what account it should be run under (e.g.> root, or an accumulo Linux account).>> Thanks in advance,> Terry>

Josh, when adding the recommendation to the docs to use 'accumulo' account,for newbs like me it would also help to provide the info Adam shared aswell. Right now the user manual pretty much assumes you know exactly whatyou're doing with HDFS, which (as I am proof of!) is not always the case.

John, are you referring to 1.5? I don't see an assembly/init.d directoryin 1.4.2. And while 1.4.2 does have the etc_initd_accumulo script, it doesnot have any 'su' commands in it to su to an accumulo (or otherwise-named)account to start Accumulo, which is also one of the main reasons I wantedto ask the question.

> On top of what Adam said, the scripts under assembly/init.d will not only> install init.d scripts and set rc levels, they will also create an> accumulo, accumulo_trace, and accumulo_monitor user and the processes will> run under those users.>>> On Fri, Apr 26, 2013 at 4:35 PM, Terry P. <[EMAIL PROTECTED]> wrote:>>> I just finished setting up an 8-node cluster using Cloudera CDH3u5 and>> Accumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux user>> and hadoop group (and others). I initially created an accumulo Linux user>> and set it as the owner of the Accumulo software.>>>> However, after HDFS was up and running, when I attempted to start>> Accumulo as the accumulo Linux user, I of course got HDFS permission denied>> when it tried to write to HDFS. Being a newbie, I didn't bother figuring>> out how to grant HDFS permissions to the accumulo account, I just started>> Accumulo as the hdfs user so I could get things rolling.>>>> As what user does one normally start Accumulo? hdfs? Linux root? The>> Accumulo User Manual never recommends anything about who the Accumulo>> binaries should be owned by or what account it should be run under (e.g.>> root, or an accumulo Linux account).>>>> Thanks in advance,>> Terry>>>>

John, sorry, I did find bits under the /src/assemble/platform/debian/init.ddirectory -- I'm on Red Hat and CentOS though, and very Debian illiterateso not sure how much rework it would be to run on Red Hat / CentOS.On Fri, Apr 26, 2013 at 4:24 PM, Terry P. <[EMAIL PROTECTED]> wrote:

> Thanks guys. Adam, what you laid out gives me exactly what I needed.>> Josh, when adding the recommendation to the docs to use 'accumulo'> account, for newbs like me it would also help to provide the info Adam> shared as well. Right now the user manual pretty much assumes you know> exactly what you're doing with HDFS, which (as I am proof of!) is not> always the case.>> John, are you referring to 1.5? I don't see an assembly/init.d directory> in 1.4.2. And while 1.4.2 does have the etc_initd_accumulo script, it does> not have any 'su' commands in it to su to an accumulo (or otherwise-named)> account to start Accumulo, which is also one of the main reasons I wanted> to ask the question.>> Thanks again gang.>>>> On Fri, Apr 26, 2013 at 4:14 PM, John Vines <[EMAIL PROTECTED]> wrote:>>> On top of what Adam said, the scripts under assembly/init.d will not only>> install init.d scripts and set rc levels, they will also create an>> accumulo, accumulo_trace, and accumulo_monitor user and the processes will>> run under those users.>>>>>> On Fri, Apr 26, 2013 at 4:35 PM, Terry P. <[EMAIL PROTECTED]> wrote:>>>>> I just finished setting up an 8-node cluster using Cloudera CDH3u5 and>>> Accumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux user>>> and hadoop group (and others). I initially created an accumulo Linux user>>> and set it as the owner of the Accumulo software.>>>>>> However, after HDFS was up and running, when I attempted to start>>> Accumulo as the accumulo Linux user, I of course got HDFS permission denied>>> when it tried to write to HDFS. Being a newbie, I didn't bother figuring>>> out how to grant HDFS permissions to the accumulo account, I just started>>> Accumulo as the hdfs user so I could get things rolling.>>>>>> As what user does one normally start Accumulo? hdfs? Linux root? The>>> Accumulo User Manual never recommends anything about who the Accumulo>>> binaries should be owned by or what account it should be run under (e.g.>>> root, or an accumulo Linux account).>>>>>> Thanks in advance,>>> Terry>>>>>>>>

I moved around from 1.4 to 1.5. In 1.4.3 they're also undersrc/assembly/scripts. I think in 1.4.2 they may be located undersrc/packages/debian.On Fri, Apr 26, 2013 at 5:24 PM, Terry P. <[EMAIL PROTECTED]> wrote:

> Thanks guys. Adam, what you laid out gives me exactly what I needed.>> Josh, when adding the recommendation to the docs to use 'accumulo'> account, for newbs like me it would also help to provide the info Adam> shared as well. Right now the user manual pretty much assumes you know> exactly what you're doing with HDFS, which (as I am proof of!) is not> always the case.>> John, are you referring to 1.5? I don't see an assembly/init.d directory> in 1.4.2. And while 1.4.2 does have the etc_initd_accumulo script, it does> not have any 'su' commands in it to su to an accumulo (or otherwise-named)> account to start Accumulo, which is also one of the main reasons I wanted> to ask the question.>> Thanks again gang.>>>> On Fri, Apr 26, 2013 at 4:14 PM, John Vines <[EMAIL PROTECTED]> wrote:>>> On top of what Adam said, the scripts under assembly/init.d will not only>> install init.d scripts and set rc levels, they will also create an>> accumulo, accumulo_trace, and accumulo_monitor user and the processes will>> run under those users.>>>>>> On Fri, Apr 26, 2013 at 4:35 PM, Terry P. <[EMAIL PROTECTED]> wrote:>>>>> I just finished setting up an 8-node cluster using Cloudera CDH3u5 and>>> Accumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux user>>> and hadoop group (and others). I initially created an accumulo Linux user>>> and set it as the owner of the Accumulo software.>>>>>> However, after HDFS was up and running, when I attempted to start>>> Accumulo as the accumulo Linux user, I of course got HDFS permission denied>>> when it tried to write to HDFS. Being a newbie, I didn't bother figuring>>> out how to grant HDFS permissions to the accumulo account, I just started>>> Accumulo as the hdfs user so I could get things rolling.>>>>>> As what user does one normally start Accumulo? hdfs? Linux root? The>>> Accumulo User Manual never recommends anything about who the Accumulo>>> binaries should be owned by or what account it should be run under (e.g.>>> root, or an accumulo Linux account).>>>>>> Thanks in advance,>>> Terry>>>>>>>>

You can actually grab the ones from 1.4.3 or 1.4.4-SNAPSHOT, they don'tdepend on anything specific from those releases from as far as I canremember.On Fri, Apr 26, 2013 at 5:25 PM, Terry P. <[EMAIL PROTECTED]> wrote:

> John, sorry, I did find bits under the> /src/assemble/platform/debian/init.d directory -- I'm on Red Hat and CentOS> though, and very Debian illiterate so not sure how much rework it would be> to run on Red Hat / CentOS.>>> On Fri, Apr 26, 2013 at 4:24 PM, Terry P. <[EMAIL PROTECTED]> wrote:>>> Thanks guys. Adam, what you laid out gives me exactly what I needed.>>>> Josh, when adding the recommendation to the docs to use 'accumulo'>> account, for newbs like me it would also help to provide the info Adam>> shared as well. Right now the user manual pretty much assumes you know>> exactly what you're doing with HDFS, which (as I am proof of!) is not>> always the case.>>>> John, are you referring to 1.5? I don't see an assembly/init.d directory>> in 1.4.2. And while 1.4.2 does have the etc_initd_accumulo script, it does>> not have any 'su' commands in it to su to an accumulo (or otherwise-named)>> account to start Accumulo, which is also one of the main reasons I wanted>> to ask the question.>>>> Thanks again gang.>>>>>>>> On Fri, Apr 26, 2013 at 4:14 PM, John Vines <[EMAIL PROTECTED]> wrote:>>>>> On top of what Adam said, the scripts under assembly/init.d will not>>> only install init.d scripts and set rc levels, they will also create an>>> accumulo, accumulo_trace, and accumulo_monitor user and the processes will>>> run under those users.>>>>>>>>> On Fri, Apr 26, 2013 at 4:35 PM, Terry P. <[EMAIL PROTECTED]> wrote:>>>>>>> I just finished setting up an 8-node cluster using Cloudera CDH3u5 and>>>> Accumulo 1.4.2. The Cloudera rpm installations created the hdfs Linux user>>>> and hadoop group (and others). I initially created an accumulo Linux user>>>> and set it as the owner of the Accumulo software.>>>>>>>> However, after HDFS was up and running, when I attempted to start>>>> Accumulo as the accumulo Linux user, I of course got HDFS permission denied>>>> when it tried to write to HDFS. Being a newbie, I didn't bother figuring>>>> out how to grant HDFS permissions to the accumulo account, I just started>>>> Accumulo as the hdfs user so I could get things rolling.>>>>>>>> As what user does one normally start Accumulo? hdfs? Linux root? The>>>> Accumulo User Manual never recommends anything about who the Accumulo>>>> binaries should be owned by or what account it should be run under (e.g.>>>> root, or an accumulo Linux account).>>>>>>>> Thanks in advance,>>>> Terry>>>>>>>>>>>>>

NEW: Monitor These Apps!

All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext