回复:Spark is only using one worker machine when more are available

2018-04-11 Thread
tchedStatements", "true"); connProp.put("sessionVariables", "sql_log_bin=off"); result.write().jdbc(this.dst_url, this.dst_table, connProp); --发件人:Jhon Anderson Cardenas Diaz <jhond

Spark is only using one worker machine when more are available

2018-04-11 Thread
Hi all, I hava a standalone mode spark cluster without HDFS with 10 machines that each one has 40 cpu cores and 128G RAM. My application is a sparksql application that reads data from database "tpch_100g" in mysql and run tpch queries. When loading tables from myql to spark, I spilts the