You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2016/11/25 08:24:58 UTC

[jira] [Assigned] (RANGER-1232) spelling error for StromTopologyName in

     [ https://issues.apache.org/jira/browse/RANGER-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Qiang Zhang reassigned RANGER-1232:
-----------------------------------

    Assignee: Qiang Zhang

>  spelling  error for  StromTopologyName in 
> -------------------------------------------
>
>                 Key: RANGER-1232
>                 URL: https://issues.apache.org/jira/browse/RANGER-1232
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.6.2
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>
> package org.apache.ranger.services.storm.client;
>  public class StormResourceMgr {
> 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;  ---------should be modify to  StormTopologyName
> if ( resourceMap != null && !resourceMap.isEmpty() &&
>    resourceMap.get(TOPOLOGY) != null ) {
>    StromTopologyName = userInput; -------------should be modify to  StormTopologyName           
>    StormTopologyList = resourceMap.get(TOPOLOGY);
> } else {
>    StromTopologyName = userInput; ---------------- should be modify to  StormTopologyName



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)