String function ( String arg0 , JobID arg1 , String arg2 ) { return String . format ( "srini_string" , arg0 , JOB_DIR_PREFIX + arg1 . toString ( ) , BLOB_FILE_PREFIX + encodeKey ( arg2 ) ) ; }
returns the path for the given job id and key . the returned path can be used with the state backend for recovery purposes . this follows the same scheme as #getstoragelocation file , jobid , string . concode_field_sep Charset DEFAULT_CHARSET concode_elem_sep String HASHING_ALGORITHM concode_elem_sep String JOB_DIR_PREFIX concode_elem_sep String BLOB_FILE_PREFIX concode_field_sep void writeLength concode_elem_sep File getStorageLocation concode_elem_sep File getStorageLocation concode_elem_sep void deleteJobDirectory concode_elem_sep MessageDigest createMessageDigest concode_elem_sep File getCacheDirectory concode_elem_sep Thread addShutdownHook concode_elem_sep File getIncomingDirectory concode_elem_sep String encodeKey concode_elem_sep void copyFromRecoveryPath concode_elem_sep int readLength concode_elem_sep void readFully concode_elem_sep void closeSilently concode_elem_sep File getJobDirectory concode_elem_sep File initStorageDirectory