摘要:
如果是大表, 会出现OOM 原本是这样,直接写Table名称,就会读整张Table .option("dbtable", "test_table")可以改写成:.option("dbtable", "(select * from test_table where dt >= '2017-05-01' 阅读全文
摘要:
1.下载hadoop-common-2.2.0-bin并解压到某个目录 https://github.com/srccodes/hadoop-common-2.2.0-bin 2.设置hadoop.home.dir System.setProperty("hadoop.home.dir", "D:\ 阅读全文
摘要:
参考:https://my.oschina.net/woter/blog/1843755 依赖: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan 阅读全文