用spark 向Hbase 表中添加数据时报错
报错内容:
17/07/20 18:23:36 INFO client.RpcRetryingCaller: Call exception, tries=11, retries=35, started=50817 ms ago, cancelled=false, msg=com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: com/yammer/metrics/core/Gauge row 'product,rowkey001,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=localhost,16201,1500545979120, seqNum=0
解决方法:
缺少jar,metrics-core-*.jar