private static void setConfigurationFromSystemProperty ( Configuration configuration , String propertyName ) { String propertyValue = System . getProperty ( propertyName ) ; if ( propertyValue != null && configuration . get ( propertyName ) == null ) { configuration . set ( propertyName , propertyValue ) ; } }
Set the System property into Hadoop configuration .