Repository: storm Updated Branches: refs/heads/1.x-branch f9780140f -> 673326f26
STORM-1761: Storm-Solr Example Throws ArrayIndexOutOfBoundsException in Remote Cluster Mode Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/928bfe53 Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/928bfe53 Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/928bfe53 Branch: refs/heads/1.x-branch Commit: 928bfe53df5cb59775b3d2f8bf2b47669ca95038 Parents: f978014 Author: Hugo Louro <[email protected]> Authored: Tue May 3 16:32:45 2016 -0700 Committer: Jungtaek Lim <[email protected]> Committed: Mon May 16 18:08:02 2016 +0900 ---------------------------------------------------------------------- .../test/java/org/apache/storm/solr/topology/SolrTopology.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/928bfe53/external/storm-solr/src/test/java/org/apache/storm/solr/topology/SolrTopology.java ---------------------------------------------------------------------- diff --git a/external/storm-solr/src/test/java/org/apache/storm/solr/topology/SolrTopology.java b/external/storm-solr/src/test/java/org/apache/storm/solr/topology/SolrTopology.java index e0f4dc6..92d90a3 100644 --- a/external/storm-solr/src/test/java/org/apache/storm/solr/topology/SolrTopology.java +++ b/external/storm-solr/src/test/java/org/apache/storm/solr/topology/SolrTopology.java @@ -18,12 +18,12 @@ package org.apache.storm.solr.topology; +import org.apache.solr.client.solrj.SolrClient; +import org.apache.solr.client.solrj.impl.CloudSolrClient; import org.apache.storm.Config; import org.apache.storm.LocalCluster; import org.apache.storm.StormSubmitter; import org.apache.storm.generated.StormTopology; -import org.apache.solr.client.solrj.SolrClient; -import org.apache.solr.client.solrj.impl.CloudSolrClient; import org.apache.storm.solr.config.SolrCommitStrategy; import org.apache.storm.solr.config.SolrConfig; @@ -39,7 +39,7 @@ public abstract class SolrTopology { if (args.length == 0) { submitTopologyLocalCluster(topology, config); } else { - submitTopologyRemoteCluster(args[1], topology, config); + submitTopologyRemoteCluster(args[0], topology, config); } }
