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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

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

javascript - Restarting Supervisor and effect on FlaskSocketIO -