Support Questions
Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

why block size is different when I use sqoop

New Contributor

When I import data using sqoop, the block size is 256MB. But, when I import data not using sqoop, the block size is 128MB. The setting "dfs.blocksize" is of course 128MB. I wonder why it is only 256MB when I use sqoop. I wonder if this is a configuration problem in sqoop or hdfs configuration problem.

sqoop import
  --connect jdbc:oracle:thin:@$ \
  --username abc \
  --password  \
  --targetdir \
  --query \
  --fields-terminated-by \
  --num-mappers \

New Contributor

Here are the issues I am facing.

First image is when i used sqoop. Second one is when i did not use sqoop.