Hadoop DP Notes
Home
Contact Us
Search
hadoop fs -setrep
Hadoop setrep is used to change the replication factor of a file. Use the -R option for recursively changing the replication factor.
hadoop fs -setrep -w 4 -R /user/DPhadoop/dir
Newer Post
Older Post
Home
What are the main components of Mapreduce Job ?
Main driver class which provides job configuration parameters. Mapper class which must extend org.apache.hadoop.mapredu...
TO_CHAR
This will be used to extract various date formats. The available date formats as follows. Syntax: to_char ( date , fo...