Practical exercise unit 7 Topic : MapReduce program in Java Work purpose : Display function, convolution function and the assignment perform the code study


Download 398.17 Kb.
bet12/12
Sana26.03.2023
Hajmi398.17 Kb.
#1296788
1   ...   4   5   6   7   8   9   10   11   12
Bog'liq
2-deadline

File templates name
One in operation files collection again work very wide spread out is a task . For example , the work of MapReduce one how many in the catalogs saved one monthly journal files analysis to do can _ Each _ file and each one directory repetition instead of , one in the statement one how many files describe from the meta- characters for use comfortable _ Hadoop two FileSystem methods present is enough file name patterns manage for
PathFilter
File name of patterns possibilities sometimes you want to work has been all files description for enough not _ An example for , from templates usually known when using _ one the file again from working out to throw possible not _ FileSystem of the class listStatus () and globStatus () methods suitable coming process over software control which provides addition PathFilter object get :

Information is being deleted
Files or catalogs turn off for File system class from the delete( ) method use :
public boolean delete( Path f, boolean recursive) throws IOException .
If f is a file or empty catalog , recursive value attention not taken . Empty didn't happen directory only if the recursive option is , its content with together will be deleted is true _ ( op without IOException thrown away ) .
Download 398.17 Kb.

Do'stlaringiz bilan baham:
1   ...   4   5   6   7   8   9   10   11   12




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling