"\"partitions\" : [{ \"dt\" : \"2012_01_01\", \"grid\" : \"AB\" }]" +
"}");
msg.setStringProperty(HCatConstants.HCAT_EVENT, HCatEventMessage.EventType.DROP_PARTITION.toString());
HCatMessageHandler hcatHandler = new HCatMessageHandler("localhost");
hcatHandler.process(msg);
//check logs to see appropriate error message
String logMsg = out.toString();
assertTrue(logMsg.contains(HCatEventMessage.EventType.DROP_PARTITION.toString()));
msg.setStringProperty(HCatConstants.HCAT_EVENT, HCatEventMessage.EventType.DROP_TABLE.toString());