1)如果你是要远程调用api, 除了依赖包。还要要zookeeper 节点的master, 配置:C:WindowsSystem32driversetchosts master.
c.set("hbase.zookeeper.quorum", "192.168.59.21:2181,192.168.59.22:2181,192.168.59.23:2181");
1)如果你是要远程调用api, 除了依赖包。还要要zookeeper 节点的master, 配置:C:WindowsSystem32driversetchosts master.
c.set("hbase.zookeeper.quorum", "192.168.59.21:2181,192.168.59.22:2181,192.168.59.23:2181");