You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by "Ligade, Shailesh (ITADD) (CON)" <SL...@fbi.gov> on 2019/10/03 14:11:34 UTC

accumulo monitor issue

Hello,

I am having an issue with monitor displaying the table entries. With scan I
can see right entries but not with monitor. I am assuming this will be
resolved once I have the correct setauths on the user who runs monitor. Can
someone tell me what user is that?

Thanks


Re: accumulo monitor issue

Posted by marathiboy <Sl...@fbi.gov>.
Thanks,

Manually running compact fixed the issue. Is there a setting to force
accumulo run compact after some time or data size?

Appreciate your help

 



--
Sent from: http://apache-accumulo.1065345.n5.nabble.com/Users-f2.html

Re: accumulo monitor issue

Posted by Christopher <ct...@apache.org>.
Hello Parmesh.

Your error appears to be an unrelated separate issue from the one in
this thread. Please start a new thread and provide more details about
the error you are seeing (the version of Accumulo you are using, and a
stack trace, a description of how to reproduce the problem, your
specific configuration, or similar details), if you are seeking
assistance.

On Fri, Oct 4, 2019 at 12:30 AM Parmesh Dayal
<pa...@orkash.com> wrote:
>
> Hi,
>
> I am facing the problem when i am enabling the HA in Accumulo OR
> Migrating Accumulo from non-HA Namenode to HA Namenode.
>
> I am getting eror (bad credential problem).
>
> Please advice.
>
> Regards
>
> Parmesh
>
> On 04/10/19 3:26 AM, Mike Miller wrote:
> > Some tips from Ed:
> > The key is what shows up in the metadata - if you look at the System Metadata tables section in the Accumulo user’s manual, the files entries have a form of row_id, filename, file_size, row_count.
> >
> > The monitor is reflecting what the the metadata table is showing.  In the case of a bulk import, there will not be a row count estimate, so it will not show in the monitor.
> >
> > If you entered a row via the shell and then did a flush (or a flush occurred for any reason) that will create a file entry that includes the row estimate, soi it will show up in the monitor.
> >
> > If you perform a full compaction (compact -w -t  <TABLENAME>), when it finishes, all of the rows will have been processed and written to “new” files, and those file entries will contain the row count values and should show up in the monitor.
> >
> > Overall, the value shown in the monitor is a estimate and may or may not reflect the number of rows available in a table via a scan (things like TTL, bulk imports, values written to memory but not flushed to a file)… Right after a compaction, the value should be close, but again, just an estimate.
> >
> > On 2019/10/03 17:17:52, marathiboy <Sl...@fbi.gov> wrote:
> >> Thanks Mike,
> >>
> >>
> >>   If my bulk inserted data with visibility labels is not showing up (but a
> >> ne=
> >>   wly inserted row from the shell does show up on monitor). All the data
> >> show=
> >>   s up correctly under hdfs  /accumulo/tablesxxxxx rfiles & rfile-info
> >> --dump=
> >>    shows everything nicely.
> >>
> >>   This is happening consistently, so trying understand how it works and how
> >> c=
> >>   an I diagnose this?
> >>
> >>
> >>   Thanks in advance
> >>
> >>
> >>
> >> --
> >> Sent from: http://apache-accumulo.1065345.n5.nabble.com/Users-f2.html
> >>

Re: accumulo monitor issue

Posted by Parmesh Dayal <pa...@orkash.com>.
Hi,

I am facing the problem when i am enabling the HA in Accumulo OR 
Migrating Accumulo from non-HA Namenode to HA Namenode.

I am getting eror (bad credential problem).

Please advice.

Regards

Parmesh

On 04/10/19 3:26 AM, Mike Miller wrote:
> Some tips from Ed:
> The key is what shows up in the metadata - if you look at the System Metadata tables section in the Accumulo user’s manual, the files entries have a form of row_id, filename, file_size, row_count.
>
> The monitor is reflecting what the the metadata table is showing.  In the case of a bulk import, there will not be a row count estimate, so it will not show in the monitor.
>
> If you entered a row via the shell and then did a flush (or a flush occurred for any reason) that will create a file entry that includes the row estimate, soi it will show up in the monitor.
>
> If you perform a full compaction (compact -w -t  <TABLENAME>), when it finishes, all of the rows will have been processed and written to “new” files, and those file entries will contain the row count values and should show up in the monitor.
>
> Overall, the value shown in the monitor is a estimate and may or may not reflect the number of rows available in a table via a scan (things like TTL, bulk imports, values written to memory but not flushed to a file)… Right after a compaction, the value should be close, but again, just an estimate.
>
> On 2019/10/03 17:17:52, marathiboy <Sl...@fbi.gov> wrote:
>> Thanks Mike,
>>
>>
>>   If my bulk inserted data with visibility labels is not showing up (but a
>> ne=
>>   wly inserted row from the shell does show up on monitor). All the data
>> show=
>>   s up correctly under hdfs  /accumulo/tablesxxxxx rfiles & rfile-info
>> --dump=
>>    shows everything nicely.
>>
>>   This is happening consistently, so trying understand how it works and how
>> c=
>>   an I diagnose this?
>>
>>
>>   Thanks in advance
>>
>>
>>
>> --
>> Sent from: http://apache-accumulo.1065345.n5.nabble.com/Users-f2.html
>>

Re: accumulo monitor issue

Posted by Mike Miller <mm...@apache.org>.
Some tips from Ed:
The key is what shows up in the metadata - if you look at the System Metadata tables section in the Accumulo user’s manual, the files entries have a form of row_id, filename, file_size, row_count.

The monitor is reflecting what the the metadata table is showing.  In the case of a bulk import, there will not be a row count estimate, so it will not show in the monitor.

If you entered a row via the shell and then did a flush (or a flush occurred for any reason) that will create a file entry that includes the row estimate, soi it will show up in the monitor.

If you perform a full compaction (compact -w -t  <TABLENAME>), when it finishes, all of the rows will have been processed and written to “new” files, and those file entries will contain the row count values and should show up in the monitor.

Overall, the value shown in the monitor is a estimate and may or may not reflect the number of rows available in a table via a scan (things like TTL, bulk imports, values written to memory but not flushed to a file)… Right after a compaction, the value should be close, but again, just an estimate.

On 2019/10/03 17:17:52, marathiboy <Sl...@fbi.gov> wrote: 
> Thanks Mike,
> 
> 
>  If my bulk inserted data with visibility labels is not showing up (but a
> ne=
>  wly inserted row from the shell does show up on monitor). All the data
> show=
>  s up correctly under hdfs  /accumulo/tablesxxxxx rfiles & rfile-info
> --dump=
>   shows everything nicely.
> 
>  This is happening consistently, so trying understand how it works and how
> c=
>  an I diagnose this?
> 
> 
>  Thanks in advance
> 
> 
> 
> --
> Sent from: http://apache-accumulo.1065345.n5.nabble.com/Users-f2.html
> 

Re: accumulo monitor issue

Posted by marathiboy <Sl...@fbi.gov>.
Thanks Mike,


 If my bulk inserted data with visibility labels is not showing up (but a
ne=
 wly inserted row from the shell does show up on monitor). All the data
show=
 s up correctly under hdfs  /accumulo/tablesxxxxx rfiles & rfile-info
--dump=
  shows everything nicely.

 This is happening consistently, so trying understand how it works and how
c=
 an I diagnose this?


 Thanks in advance



--
Sent from: http://apache-accumulo.1065345.n5.nabble.com/Users-f2.html

Re: accumulo monitor issue

Posted by Mike Miller <mm...@apache.org>.
The entries should show up regardless of auths but are really just an
estimate.  The Monitor gets that information from what the Master has in
memory so may not reflect recent activity such as bulk imports or
deletions.  A compaction of the table should make that more accurate.

On Thu, Oct 3, 2019 at 10:22 AM Ligade, Shailesh (ITADD) (CON) <
SLIGADE@fbi.gov> wrote:

> Hello,
>
> I am having an issue with monitor displaying the table entries. With scan I
> can see right entries but not with monitor. I am assuming this will be
> resolved once I have the correct setauths on the user who runs monitor. Can
> someone tell me what user is that?
>
> Thanks
>
>
>