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

Switch to Threaded View
Accumulo >> mail # user >> No info for Accumulo Master on Monitor Overview page


Copy link to this message
-
Re: No info for Accumulo Master on Monitor Overview page
Thanks Charles, I finally got around to looking at this on a new
installation.  I didn't have to set the monitor to DEBUG mode though to
find the faulty path, as the default monitor_logger.xml config file creates
a DEBUG log (though you may have disabled it).

For those that are still on 1.4.x, take a look at the monitor DEBUG log
file.  Look for an entry with AccessControlException: Permission denied,
and the path it points to.  My mapred system directory is /mapred-system,
so for me the fix was:

sudo -u hdfs hadoop fs -chmod 775 /mapred-system

With that, the Accumulo Master box on the Monitor's Overview page populates
as it should.  Not certain if the hadoop permission fix will persist across
restarts though, as doesn't the daemon set the perms each time?  (I'm
running CDH3u5).

-Terry
On Fri, Jun 7, 2013 at 8:56 AM, Ott, Charles H. <[EMAIL PROTECTED]>wrote:

> I had the exact same issue a couple weeks back.****
>
> ** **
>
> I was able to find out what specific HDFS path had permission issues by
> switching the Monitor logger to DEBUG mode.  Then a chmod 775 fixed the
> issue by giving the group write permissions.****
>
> ** **
>
> *From:* [EMAIL PROTECTED][mailto:
> [EMAIL PROTECTED]] *On Behalf
> Of *Terry P.
> *Sent:* Thursday, June 06, 2013 6:13 PM
> *To:* [EMAIL PROTECTED]
> *Subject:* Re: No info for Accumulo Master on Monitor Overview page****
>
> ** **
>
> In our installation the hdfs account has hdfs as his primary group and
> hadoop as a secondary group.  Our accumulo account has accumulo as his
> primary group.****
>
> I added both hdfs and hadoop as secondary groups for the accumulo account,
> but no joy -- still a blank Accumulo Master summary box on the overview
> page.****
>
> So do both the accumulo and hdfs users have to have the same *primary *group
> then?
>
> I put accumulo into a separate group in order to protect the shared secret
> in accumulo-site.xml, but I guess the better approach is to have both
> accumulo and hdfs in the same Linux group and just protect this file by
> making it readable by owner only?  If both accumulo and hdfs users must
> have the same primary group, looks like that's about the only option.****
>
> ** **
>
> On Thu, Jun 6, 2013 at 4:57 PM, Eric Newton <[EMAIL PROTECTED]> wrote:
> ****
>
> Yea, that's a 1.4.2 issue.  You can work around it by putting the accumulo
> and hdfs accounts into the same group, or just ignore the display issue.**
> **
>
> ** **
>
> ACCUMULO-1282****
>
> ** **
>
> -Eric****
>
> ** **
>
> ** **
>
> On Thu, Jun 6, 2013 at 5:48 PM, Terry P. <[EMAIL PROTECTED]> wrote:****
>
> Hi Eric,
> Sorry I should have thought of including a screenshot.  I've attached one
> to this email -- first one I've done, I hope it works just like a regular
> attachment?****
>
> To ensure I had a clean monitor log, I shutdown Accumulo and started it up
> again.  First there are all the [server.Accumulo] entries, here's the head
> of that which looks good:
>
> 2013-06-06 21:34:37,823 [server.Accumulo] INFO :  monitor starting
> 2013-06-06 21:34:37,824 [server.Accumulo] INFO :  Instance
> 22e13d96-d1ac-45c7-9d90-ae2e813e983c
> 2013-06-06 21:34:37,841 [server.Accumulo] INFO :  Data Version 4
> 2013-06-06 21:34:37,841 [server.Accumulo] INFO :  Attempting to talk to
> zookeeper
> 2013-06-06 21:34:38,026 [server.Accumulo] INFO :  Zookeeper connected and
> initialized, attemping to talk to HDFS
> 2013-06-06 21:34:38,030 [server.Accumulo] INFO :  Connected to HDFS
> 2013-06-06 21:34:38,034 [server.Accumulo] INFO :  gc.cycle.delay = 5m
> 2013-06-06 21:34:38,034 [server.Accumulo] INFO :  gc.cycle.start = 30s
> 2013-06-06 21:34:38,034 [server.Accumulo] INFO :  gc.port.client = 50091
> 2013-06-06 21:34:38,034 [server.Accumulo] INFO :  gc.threads.delete = 16
> 2013-06-06 21:34:38,034 [server.Accumulo] INFO :  general.classpaths >     $ACCUMULO_HOME/src/server/target/classes/,
>     $ACCUMULO_HOME/src/core/target/classes/,