java.lang.IllegalArgumentException: tez.runtime.io.sort.mb 2048 should be larger than 0 and should be less than the available task memory (MB):2048

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Gururaj T
, 1 year ago
tez.runtime.io.sort.mb 2048 should be larger than 0 and should be less than the available task memory (MB):2048
via Google Groups by Unknown author, 1 year ago
Cannot copy from hdfs://10.0.1.227:8020/gobblin/task-output/productA/2016 to /gobblinlandingzone/productA/2016 because dst exists
via Google Groups by Unknown author, 1 year ago
Cannot copy from file:/home/ubuntu/gobblin/working_directory/task-output/query.topic/2016-03-11-17 to s3a://relcy-analytics/kafka/query.topic/2016-03-11-17 because dst exists
via Google Groups by Rohit, 2 years ago
The used key [gender] is not indexed in the targeted index [indexuserFullName]
via JIRA by Catherine Hilgers, 1 year ago
Continuous variables must be numeric
via JIRA by Catherine Hilgers [X], 1 year ago
Continuous variables must be numeric
java.lang.IllegalArgumentException: tez.runtime.io.sort.mb 2048 should be larger than 0 and should be less than the available task memory (MB):2048
at org.apache.tez.runtime.library.common.sort.impl.ExternalSorter.getInitialMemoryRequirement(ExternalSorter.java:327)
at org.apache.tez.runtime.library.output.OrderedPartitionedKVOutput.initialize(OrderedPartitionedKVOutput.java:93)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable._callInternal(LogicalIOProcessorRuntimeTask.java:505)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:487)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:472)
at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 6 months ago
4 times, 1 year ago
Once, 1 year ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
34 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.