继承BaseRegionObserver类
打成jar包 上传到hdfs
进入hbase shell 将表disable
执行 alter 'sdzn_public', METHOD => 'table_att','coprocessor'=>'hdfs://192.168.0.237:9000/hbase/observer/regionObserver.jar|cn.sdzn.web.hbaeObServer.solrindexcoprocessorobserver|1001|'
将表enable
OK