NotaQLColumnTest.java 文件源码

java
阅读 18 收藏 0 点赞 0 评论 0

项目:notaql 作者:
@Before
public void setUp() throws Exception {
    BasicConfigurator.configure();
    engines = "IN-ENGINE: hbase(table_id <- '"+inTable +"'),OUT-ENGINE: hbase(table_id <- '"+outTable +"'),";

    this.conf = HBaseConfiguration.create();

    NotaQL.loadConfig("settings.config");

    String host = NotaQL.prop.getProperty("hbase_host");

    if(host == null)
        host = "localhost";

    conf.set("hbase.zookeeper.quorum", host);
    conf.set("hbase.zookeeper.property.clientPort","2181");
    conf.set("hbase.master", host + ":60000");
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号