Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Accumulo service check getting failed.

Solved Go to solution
Highlighted

Accumulo service check getting failed.

New Contributor

Accumulo is not showing any alert but accumulo.pngaccumulo-error.png

Accumulo service check is getting failed with error:

 ERROR: org.apache.accumulo.core.client.TableExistsException: Table testtable exists
2018-08-30 17:10:46,508 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available.
2018-08-30 17:10:46,509 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available.
2018-08-30 17:10:46,509 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available.
2018-08-30 17:10:46,509 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available.
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Accumulo service check getting failed.

Super Mentor

@Shobhna Dhami


Can you try running the command manually as following? And check if the "testtable" exist?

# /usr/hdp/current/accumulo-client/bin/accumulo shell -u ambari-qa -p smoke
> tables

As we see the exception as following:

 ERROR: org.apache.accumulo.core.client.TableExistsException:Table testtable exists


Hence If the 'testtable' exist then try to drop it once and then re run the service check.

> droptable testtable 

.

4 REPLIES 4

Re: Accumulo service check getting failed.

Super Mentor

@Shobhna Dhami


Can you try running the command manually as following? And check if the "testtable" exist?

# /usr/hdp/current/accumulo-client/bin/accumulo shell -u ambari-qa -p smoke
> tables

As we see the exception as following:

 ERROR: org.apache.accumulo.core.client.TableExistsException:Table testtable exists


Hence If the 'testtable' exist then try to drop it once and then re run the service check.

> droptable testtable 

.

Re: Accumulo service check getting failed.

Super Mentor

@Shobhna Dhami

If it still does not work then please share the Accumulo logs along with the ambari agent logs.

Also please let us know which version of Ambari Do you use? Because in very old version of ambari similar issue was reported and for enhancement, Where the issue was occurring due to already existing "testtable": https://issues.apache.org/jira/browse/AMBARI-14776

You might also want to refer to the following doc: https://community.hortonworks.com/articles/79327/re-initializing-apache-accumulo-under-hdp.html

Re: Accumulo service check getting failed.

New Contributor

Re: Accumulo service check getting failed.

New Contributor

@Jay Kumar SenSharma Thanks for the reply.

I tried to drop table testtable but getting error : Thread "shell" stuck on IO to slnxhadoop03.dhcp.noid.in:9999 (0) for at least 120348 ms

I am using HDP 2.5.3 and ambari version 2.4.2.0.

Don't have an account?
Coming from Hortonworks? Activate your account here