@Test
public void testInstantiate() throws Exception {

  HiveEndPoint endPoint = new HiveEndPoint(metaStoreURI, dbName, tblName, partVals);
  SinkCounter sinkCounter = new SinkCounter(this.getClass().getName());
  HiveWriter writer = new HiveWriter(endPoint, 10, true, timeout, callTimeoutPool, "flumetest",
                                     serializer, sinkCounter);
  writer.close();
}