Calculation of the number of sqoop mappers is done by looking at the previous sqoop import size and divide it with the hdfs_blocksize. But if the previous import failed and sqoop last size is reported to 0 byte, then the next import will only be executed with one mapper. This will most likely cause the next import to fail aswell if the source table is large.
Need to calculate the number of mappers based on the X number of previous imports, not just the last.
Calculation of the number of sqoop mappers is done by looking at the previous sqoop import size and divide it with the hdfs_blocksize. But if the previous import failed and sqoop last size is reported to 0 byte, then the next import will only be executed with one mapper. This will most likely cause the next import to fail aswell if the source table is large.
Need to calculate the number of mappers based on the X number of previous imports, not just the last.