[Solved] Hive Run Error: Diagnostic Messages for this Task: Error: Java heap space Before hive statement Set io. Sort. MB = 10; The default value is 100 The problem is solved The role of io.sort.mb the amount of memory used for sorting.