[
https://issues.apache.org/jira/browse/RANGER-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang updated RANGER-1232:
--------------------------------
Description:
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
was:
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
> 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
> Priority: Minor
>
> 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)