public static void storageSmokeTest(ViewContext context) {
    try {
      final String property = "test.smoke.property";
      context.putInstanceData(property, "42");
      boolean status = context.getInstanceData(property).equals("42");
      context.removeInstanceData(property);
      if (!status) throw new ServiceFormattedException("Ambari Views instance data DB doesn't work properly", null);
    } catch (WebApplicationException ex) {
      throw ex;
    } catch (Exception ex) {
      throw new ServiceFormattedException(ex.getMessage(), ex);
    }
  }
Remove chunked value (keys format <key>#<chunk_id>)
@param modelPropName key
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/persistence/InstanceKeyValueStorage.java