Hadoop DP Notes
Home
Contact Us
Search
Can we create multiple files in HDFS with different block sizes?
Yes. HDFS provides api to specify block size at the time of file creation. Below is the method signature:
public FSDataOutputStream create(Path f, boolean overwrite, int bufferSize, short replication, long blockSize) throws IOException;
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...