Time taken: 1.484 seconds
OK
Time taken: 0.819 seconds
Query ID = pristine_20160908113020_955813a0-3562-4b81-a6c9-bcf6a7f45ba1
Total jobs = 1
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/scratch/local/aplic2/apps/hadoop-2.7.1/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/scratch/local/aplic2/apps/spark_hive-1.6.2/lib/spark-assembly-1.6.2-hadoop2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Execution log at: /scratch/attached/1/aloja-bench_3/hive_logs/pristine_20160908113020_955813a0-3562-4b81-a6c9-bcf6a7f45ba1.log
2016-09-08 11:30:29 Starting to launch local task to process map join; maximum memory = 514523136
2016-09-08 11:30:32 Processing rows: 200000 Hashtable size: 199999 Memory usage: 119680168 percentage: 0.233
2016-09-08 11:30:32 Processing rows: 300000 Hashtable size: 299999 Memory usage: 155328552 percentage: 0.302
2016-09-08 11:30:32 Processing rows: 400000 Hashtable size: 399999 Memory usage: 190976928 percentage: 0.371
2016-09-08 11:30:32 Processing rows: 500000 Hashtable size: 499999 Memory usage: 224078992 percentage: 0.436
2016-09-08 11:30:32 Processing rows: 600000 Hashtable size: 599999 Memory usage: 257113776 percentage: 0.50
2016-09-08 11:30:32 Processing rows: 700000 Hashtable size: 699999 Memory usage: 286264128 percentage: 0.556
Execution failed with exit status: 3
Obtaining error information
Task failed!
Task ID:
Stage-15
Logs:
/scratch/attached/1/aloja-bench_3/hive_logs/hive.log
FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
new io.bigdatabenchmark.v1.queries.q18.NegativeSentimentUDF()
new io.bigdatabenchmark.v1.queries.q18.NegativeSentimentUDF() done
initialize io.bigdatabenchmark.v1.queries.q18.NegativeSentimentUDF
initialize io.bigdatabenchmark.v1.queries.q18.NegativeSentimentUDF done
Query ID = pristine_20160908120844_8d3a6c02-e7d5-475d-91ab-89ca1f041961
Total jobs = 3
Launching Job 1 out of 3
Number of reduce tasks is set to 0 since there's no reduce operator
Kill Command = /scratch/local/aplic2/apps/hadoop-2.7.1/bin/hadoop job -kill job_1473323077826_0116
Hadoop job information for Stage-1: number of mappers: 3; number of reducers: 0
2016-09-08 12:08:54,491 Stage-1 map = 0%, reduce = 0%
2016-09-08 12:09:55,130 Stage-1 map = 0%, reduce = 0%, Cumulative CPU 195.69 sec
2016-09-08 12:09:58,258 Stage-1 map = 33%, reduce = 0%, Cumulative CPU 207.79 sec
2016-09-08 12:10:10,802 Stage-1 map = 67%, reduce = 0%, Cumulative CPU 234.51 sec
2016-09-08 12:11:03,302 Stage-1 map = 100%, reduce = 0%, Cumulative CPU 291.44 sec
MapReduce Total cumulative CPU time: 4 minutes 51 seconds 440 msec
Ended Job = job_1473323077826_0116
Stage-4 is filtered out by condition resolver.
Stage-3 is selected by condition resolver.
Stage-5 is filtered out by condition resolver.
Launching Job 3 out of 3
Number of reduce tasks is set to 0 since there's no reduce operator
Kill Command = /scratch/local/aplic2/apps/hadoop-2.7.1/bin/hadoop job -kill job_1473323077826_0117
Hadoop job information for Stage-3: number of mappers: 1; number of reducers: 0
2016-09-08 12:11:15,090 Stage-3 map = 0%, reduce = 0%
2016-09-08 12:11:23,433 Stage-3 map = 100%, reduce = 0%, Cumulative CPU 4.49 sec
MapReduce Total cumulative CPU time: 4 seconds 490 msec
Ended Job = job_1473323077826_0117
Loading data to table bigbenchorc.q18_hive_run_query_0_result
Table bigbenchorc.q18_hive_run_query_0_result stats: [numFiles=0, numRows=84255, totalSize=0, rawDataSize=17405743]
MapReduce Jobs Launched:
Stage-Stage-1: Map: 3 Cumulative CPU: 291.44 sec HDFS Read: 75868354 HDFS Write: 17490307 SUCCESS
Stage-Stage-3: Map: 1 Cumulative CPU: 4.49 sec HDFS Read: 17492873 HDFS Write: 14131898 SUCCESS
Total MapReduce CPU Time Spent: 4 minutes 55 seconds 930 msec
OK
Time taken: 161.531 seconds
OK
Time taken: 0.19 seconds
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.hadoop.hive.ql.session.SessionState.close(SessionState.java:1472)
at org.apache.hadoop.hive.cli.CliSessionState.close(CliSessionState.java:66)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:683)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
I have the default memory porperty in mapred site and 1 GB on JAVA XMX, any advice how to scale this values depending on the scale factor?
Notice that I'm currently using SCALE_FACTOR=1 in the tests.