anchor.diff:  
   Following are the implementation of the above steps:
   
  -. For Step 1 and Step 2, below is the code.
  -+
  +
   [source,java]
   ----
   public class RegionObserverExample extends BaseRegionObserver {
  
positive.code:     }
  }
  ----
  
  . Step 4: Load the Coprocessor. See <<cp_loading,loading of Coprocessor>>.
  
  . Step 5: Now we have to write the client code to test it. To do so in your main method, write the
  following code as shown below:
  +
  [source,java]
  ----
  
  Configuration conf = HBaseConfiguration.create();
  // Use below code for HBase version 1.x.x or above.
  Connection connection = ConnectionFactory.createConnection(conf);
  
negative.code: The below mentioned instructions makes the following assumptions:
  
  * A JAR called `coprocessor.jar` contains the Coprocessor implementation along with all of its
  dependencies.
  * The JAR is available in HDFS in some location like
  `hdfs://<namenode>:<port>/user/<hadoop-user>/coprocessor.jar`.
  ====
  
  ==== Using HBase Shell
  
  . Disable the table using HBase Shell:
  +
  [source]
  ----
  hbase> disable 'users'
  ----
  
  . Load the Coprocessor, using a command like the following:
  +
  [source]
  ----
  hbase alter 'users', METHOD => 'table_att', 'Coprocessor'=>'hdfs://<namenode>:<port>/
  user/<hadoop-user>/coprocessor.jar| org.myname.hbase.Coprocessor.RegionObserverExample|1073741823|
  arg1=1,arg2=2'
  ----
  