touchz: java.io.IOException: java.lang.IllegalArgumentException: Unexpected value for the block size

0 votes

Hi Guys,

I am trying to create a file in Hadoop Cluster. But it is showing me the below error.

$ hadoop fs  -D dfs.block.size=5120000000000000 -touchz abcdefd.txt /
touchz: java.io.IOException: java.lang.IllegalArgumentException: Unexpected value for the block size

Sep 25 in Big Data Hadoop by akhtar
• 28,160 points
27 views

1 answer to this question.

0 votes

Hi@akhtar,

You are trying to create a block size in Hadoop that is not supported. According to my knowledge you can create a block size of 256 Terabytes maximum. But in your case your block size is more then that. So choose a block size accordingly.

answered Sep 25 by MD
• 65,200 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How can I get the respective Bitcoin value for an input in USD when using c#

Simply make call to server and parse ...READ MORE

answered Mar 25, 2018 in Big Data Hadoop by charlie_brown
• 7,780 points
212 views
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,450 points
629 views
0 votes
1 answer

How to find the used cache in HDFS

hdfs dfsadmin -report This command tells fs ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 13,450 points
692 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
6,071 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,950 points
926 views