Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1232

Spelling error for StromTopologyName, should be StormTopologyName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6.2
    • 0.7.0
    • Ranger

    Description

      It should be 'StormTopologyName', not 'StromTopologyName'.

      public static List<String> getStormResources(String serviceName, Map<String, String> configs,ResourceLookupContext context) {
      String userInput = context.getUserInput();
      Map<String, List<String>> resourceMap = context.getResources();
      List<String> resultList = null;
      List<String> StormTopologyList = null;
      String StromTopologyName = null;

      if ( resourceMap != null && !resourceMap.isEmpty() &&
      resourceMap.get(TOPOLOGY) != null )

      { StromTopologyName = userInput; StormTopologyList = resourceMap.get(TOPOLOGY); }

      else

      { StromTopologyName = userInput; }

      if (configs == null || configs.isEmpty())

      { LOG.error("Connection Config is empty"); }

      else

      { String url = configs.get("nimbus.url"); String username = configs.get("username"); String password = configs.get("password"); String lookupPrincipal = configs.get("lookupprincipal"); String lookupKeytab = configs.get("lookupkeytab"); String nameRules = configs.get("namerules"); resultList = getStormResources(url, username, password,lookupPrincipal, lookupKeytab, nameRules, StromTopologyName,StormTopologyList); }

      return resultList;
      }

      Attachments

        Activity

          People

            zhangqiang2 Qiang Zhang
            zhangqiang2 Qiang Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: