"Export Failed [Failed to write mappings for index users]]; nested: IOException[File exists"));
}
@Test
public void testMappingsWithOutputCmd() {
ExportResponse response = executeExportRequest(
"{\"output_cmd\": \"cat\", \"fields\": [\"name\", \"_id\"], \"mappings\": true}");
List<Map<String, Object>> infos = getExports(response);
assertEquals(0, infos.size());
assertTrue(response.getShardFailures()[0].reason().contains("Parse Failure [Parameter 'mappings' requires usage of 'output_file']]"));
}