hadoop - Renaming part files of PIG output -


i have requirement of changing part file naming convention after running pig job. want part-r-0000 userdefinedname-r-0000.

any possible solution that? i avoiding hadoop -cp , hadoop -mv commands.

thanks

this files created map-reduce jobs generated pig. should configure apache map-reduce. corresponding property mapreduce.output.basename

you can define hadoop property directly in pig script:

set mapreduce.output.basename 'custom-name'; 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -