[ https://issues.apache.org/jira/browse/KNOX-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16319033#comment-16319033 ]
ASF subversion and git services commented on KNOX-1141: ------------------------------------------------------- Commit 7d42ffd065c66d810a52a90f8c2dace55f3aceed in knox's branch refs/heads/KNOX-998-Package_Restructuring from [~pzampino] [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=7d42ffd ] KNOX-1141 > Coverity Issues Reported For AmbariConfigurationMonitor > ------------------------------------------------------- > > Key: KNOX-1141 > URL: https://issues.apache.org/jira/browse/KNOX-1141 > Project: Apache Knox > Issue Type: Bug > Components: Server > Affects Versions: 0.14.0 > Reporter: Phil Zampino > Assignee: Phil Zampino > Fix For: 1.0.0, 0.14.1 > > Attachments: KNOX-1141.patch > > > *** CID 1383538: Null pointer dereferences (NULL_RETURNS) > /gateway-discovery-ambari/src/main/java/org/apache/hadoop/gateway/topology/discovery/ambari/AmbariConfigurationMonitor.java: > 436 in > org.apache.hadoop.gateway.topology.discovery.ambari.AmbariConfigurationMonitor.getUpdatedConfigVersions(java.lang.String, > java.lang.String)() > *** CID 1383537: Resource leaks (RESOURCE_LEAK) > /gateway-discovery-ambari/src/main/java/org/apache/hadoop/gateway/topology/discovery/ambari/AmbariConfigurationMonitor.java: > 211 in > org.apache.hadoop.gateway.topology.discovery.ambari.AmbariConfigurationMonitor.persist(java.util.Properties, > java.io.File)() > *** CID 1383536: Null pointer dereferences (NULL_RETURNS) > /gateway-discovery-ambari/src/main/java/org/apache/hadoop/gateway/topology/discovery/ambari/AmbariConfigurationMonitor.java: > 148 in > org.apache.hadoop.gateway.topology.discovery.ambari.AmbariConfigurationMonitor.loadClusterVersionData()() > *** CID 1383535: Resource leaks (RESOURCE_LEAK) > /gateway-discovery-ambari/src/main/java/org/apache/hadoop/gateway/topology/discovery/ambari/AmbariConfigurationMonitor.java: > 119 in > org.apache.hadoop.gateway.topology.discovery.ambari.AmbariConfigurationMonitor.loadDiscoveryConfiguration()() > *** CID 1383534: Resource leaks (RESOURCE_LEAK) > /gateway-discovery-ambari/src/main/java/org/apache/hadoop/gateway/topology/discovery/ambari/AmbariConfigurationMonitor.java: > 152 in > org.apache.hadoop.gateway.topology.discovery.ambari.AmbariConfigurationMonitor.loadClusterVersionData()() -- This message was sent by Atlassian JIRA (v6.4.14#64029)