yarn -jar xx.jar 此时包会提交到集群上运行 也可以把jar包放到hbase 的lib下面用hbase jar 方式调用 转载于:https://www.cnblogs.com/yaohaitao/p/6776901.html