storm提交集群报错及处理

if (args != null && args.length > 0) {
            conf.setNumWorkers(3);


            StormSubmitter.submitTopologyWithProgressBar(args[0], conf, builder.createTopology());
          }
          else {
        
            conf.setMaxTaskParallelism(3);
            LocalCluster cluster = new LocalCluster();
            cluster.submitTopology("test", conf, builder.createTopology());
            Utils.sleep(10000);
            cluster.shutdown();
          }



在打包集群的时候没有加上参数

猜你喜欢

转载自blog.csdn.net/csdn9874123/article/details/78602751
今日推荐