- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Accumulo service check getting failed.
- Labels:
-
Apache Accumulo
Created ‎08-31-2018 07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎08-31-2018 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
.
Created ‎08-31-2018 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
.
Created ‎08-31-2018 07:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎08-31-2018 10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply. I followed steps given in https://community.hortonworks.com/articles/79327/re-initializing-apache-accumulo-under-hdp.html and it worked.
Created ‎08-31-2018 09:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
