I got once this kind of problem and it was exactly what Chris explained. Could you double check that on this remote host you do not have 2 versions of cassandra and nodetool is pointing to the old one ?
On 6 March 2018 at 17:17, onmstester onmstester <onmstes...@zoho.com> wrote: > One my PC i've the exactly same version of Cassandra and histograms > command works perfectly so i'm sure that nothing is wrong with nodetool > version > > Sent using Zoho Mail <https://www.zoho.com/mail/> > > > ---- On Tue, 06 Mar 2018 17:38:04 +0330 *Chris Lohfink > <clohf...@apple.com <clohf...@apple.com>>* wrote ---- > > Make sure your using same version of nodetool as your version of > Cassandra. That metric was renamed from EstimatedRowSize so if using a > version of nodetool made for a more recent version you would get this error > since EstimatePartitionSizeHistogram doesn’t exist on the older Cassandra > host. > > Chris > > Sent from my iPhone > > On Mar 6, 2018, at 3:29 AM, onmstester onmstester <onmstes...@zoho.com> > wrote: > > Running this command: > nodetools cfhistograms keyspace1 table1 > > throws this exception in production server: > javax.management.InstanceNotFoundException: org.apache.cassandra.metrics: > type=Table,keyspace=keyspace1,scope=table1,name= > EstimatePartitionSizeHistogram > > But i have no problem in a test server with few data in it and same > datamodel. > I'm using Casssandra 3. > > Sent using Zoho Mail <https://www.zoho.com/mail/> > > > >