Github user abhishekagarwal87 commented on a diff in the pull request:
https://github.com/apache/storm/pull/1597#discussion_r72604873
--- Diff: storm-core/src/jvm/org/apache/storm/command/GetErrors.java ---
@@ -0,0 +1,59 @@
+package org.apache.storm.command;
+
+import org.apache.storm.generated.ErrorInfo;
+import org.apache.storm.generated.GetInfoOptions;
+import org.apache.storm.generated.Nimbus;
+import org.apache.storm.generated.NumErrorsChoice;
+import org.apache.storm.generated.TopologyInfo;
+import org.apache.storm.utils.NimbusClient;
+import org.apache.storm.utils.Utils;
+import org.json.simple.JSONValue;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class GetErrors {
+ public static void main(String[] args) throws Exception {
+ final String name = args[0];
--- End diff --
It would be nice to have a check on args length here and throw "Topology
name not passed" exception in case args is empty.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---