@Test public void testHiveProperties() { for (String[] pair : properties) { assertEquals(pair[1], CliCommandExecutor.checkHiveProperty(pair[0])); } }
public static String checkHiveProperty(String hiveProperty) { return checkParameter(hiveProperty, HIVE_BLOCK_LIST); }
CliCommandExecutor { public static String checkHiveProperty(String hiveProperty) { return checkParameter(hiveProperty, HIVE_BLOCK_LIST); } }
CliCommandExecutor { public static String checkHiveProperty(String hiveProperty) { return checkParameter(hiveProperty, HIVE_BLOCK_LIST); } CliCommandExecutor(); }
CliCommandExecutor { public static String checkHiveProperty(String hiveProperty) { return checkParameter(hiveProperty, HIVE_BLOCK_LIST); } CliCommandExecutor(); void setRunAtRemote(String host, int port, String user, String pwd); void setRunAtLocal(); void copyFile(String localFile, String destDir); Pair<Integer, String> execute(String command); Pair<Integer, String> execute(String command, Logger logAppender); static String checkParameter(String commandParameter); static String checkParameterWhiteList(String commandParameter); static String checkHiveProperty(String hiveProperty); }
CliCommandExecutor { public static String checkHiveProperty(String hiveProperty) { return checkParameter(hiveProperty, HIVE_BLOCK_LIST); } CliCommandExecutor(); void setRunAtRemote(String host, int port, String user, String pwd); void setRunAtLocal(); void copyFile(String localFile, String destDir); Pair<Integer, String> execute(String command); Pair<Integer, String> execute(String command, Logger logAppender); static String checkParameter(String commandParameter); static String checkParameterWhiteList(String commandParameter); static String checkHiveProperty(String hiveProperty); static final String COMMAND_BLOCK_LIST; static final String COMMAND_WHITE_LIST; static final String HIVE_BLOCK_LIST; }