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

Stack Overflow | Gururaj T | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    getting error while running hive jobs with oozie in

    Stack Overflow | 9 months ago | Gururaj T
    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
  2. 0

    How to fix error: A project ID is required for this service but could not be determined

    Stack Overflow | 1 year ago | Gregory Was
    java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.
  3. 0

    Issues getting JSON credentials to work in JAR file

    GitHub | 4 months ago | jsnowacki
    java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Doclet fails when destination directory does not exist

    GitHub | 2 years ago | alexradzin
    java.lang.IllegalArgumentException: Path after -d is expected to be a directory!
  6. 0

    Http stats handler can throw exception

    GitHub | 4 years ago | dain
    java.lang.IllegalArgumentException: value is negative

  1. arturgajowy 15 times, last 6 days ago
  2. batwalrus76 3 times, last 1 week ago
  3. Andreas Häber 2 times, last 3 weeks ago
  4. Handemelindo 1 times, last 5 months ago
  5. tfr 1 times, last 8 months ago
7 more registered users
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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 com.google.common.base.Preconditions.checkArgument()
  2. Guava
    Preconditions.checkArgument
    1. com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
    1 frame
  3. org.apache.tez
    CallableWithNdc.call
    1. org.apache.tez.runtime.library.common.sort.impl.ExternalSorter.getInitialMemoryRequirement(ExternalSorter.java:327)
    2. org.apache.tez.runtime.library.output.OrderedPartitionedKVOutput.initialize(OrderedPartitionedKVOutput.java:93)
    3. org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable._callInternal(LogicalIOProcessorRuntimeTask.java:505)
    4. org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:487)
    5. org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:472)
    6. org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
    6 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    6. java.lang.Thread.run(Thread.java:745)
    6 frames