extracts an integer argument with specified default value . concode_field_sep MiniDFSCluster dfs concode_elem_sep long SLEEP_INTERVAL_MS concode_elem_sep int nameNodeHttpPort concode_elem_sep Log LOG concode_elem_sep int nameNodePort concode_elem_sep String writeDetails concode_elem_sep int numDataNodes concode_elem_sep StartupOption dfsOpts concode_elem_sep String writeConfig concode_elem_sep boolean format concode_elem_sep Configuration conf concode_field_sep Options makeOptions concode_elem_sep void start concode_elem_sep void run concode_elem_sep void sleepForever concode_elem_sep void main concode_elem_sep void updateConfiguration concode_elem_sep boolean parseArguments
int function ( CommandLine arg0 , String arg1 , int arg2 ) { String loc0 = arg0 . getOptionValue ( arg1 ) ; try { if ( loc0 != null ) { return Integer . parseInt ( loc0 ) ; } } catch ( NumberFormatException loc1 ) { LOG . error ( "srini_string" + loc0 + "srini_string" + arg1 + "srini_string" + arg2 ) ; } return arg2 ; }