Reply
NSU
Explorer
Posts: 26
Registered: ‎08-13-2014

Re: Unable to create table in Accumulo

dod you need any information?

NSU
Explorer
Posts: 26
Registered: ‎08-13-2014

Re: Unable to create table in Accumulo

waiting for your reply ...

NSU
Explorer
Posts: 26
Registered: ‎08-13-2014

Re: Unable to create table in Accumulo

Did you guys find any solution?
NSU
Explorer
Posts: 26
Registered: ‎08-13-2014

Re: Unable to create table in Accumulo

I am getting same error when I do reinstall Cloudera total set up. I think this one is BUG.

Cloudera Employee
Posts: 88
Registered: ‎01-08-2014

Re: Unable to create table in Accumulo

Hi!

 

The problem you are getting is a known limitation of Accumulo on small clusters. By default Accumulo attempts to use a replication factor of 5 for the metadata table, ignoring the "table.file.replication" setting. Normally, Cloudera Manager does not set a max replication factor. This causes under-replication warnings until you can correct either the number of nodes or manually adjust the replication setting on that table.

 

In your cluster, it appears the "dfs.replication.max" setting has been adjusted to match your number of cluster nodes. This is causing Accumulo's attempts to create new files for its internal tables to fail.

 

Unfortunately, I'm not sure this can be fixed without data loss. However, to recover you should first edit the "dfs.replication.max" setting for HDFS to be >= 5. Then you should adjust the replication on the metadata and root tables to be <= your number of DataNodes. After that it should be safe to lower dfs.replication.max again.

 

Adjust the replication in the accumulo shell:

 

$> config -t accumulo.metadata -s table.file.replication=3
$> config -t accumulo.root -s table.file.replication=3

 

Highlighted
New Contributor
Posts: 1
Registered: ‎10-06-2014

Re: Unable to create table in Accumulo

This works. But, if you used CM to install, use CM to change the HDFS setting dfs.replication.max via configuration tab, first. Then use the accumulo shell as directed.

 

Jim Heyssel

Announcements