You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2017/05/25 16:28:04 UTC

[jira] [Commented] (TEZ-3744) Findbug warnings after TEZ-3334 merge

    [ https://issues.apache.org/jira/browse/TEZ-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16024968#comment-16024968 ] 

Jason Lowe commented on TEZ-3744:
---------------------------------

{noformat}
DC 	Possible exposure of partially initialized object in org.apache.tez.runtime.library.common.TezRuntimeUtils.getHttpConnectionParams(Configuration)

Bug type DC_PARTIALLY_CONSTRUCTED
In class org.apache.tez.runtime.library.common.TezRuntimeUtils
In method org.apache.tez.runtime.library.common.TezRuntimeUtils.getHttpConnectionParams(Configuration)
On field org.apache.tez.runtime.library.common.TezRuntimeUtils.sslFactory
At TezRuntimeUtils.java:[line 225]
Stored at TezRuntimeUtils.java:[line 222]

Dm 	org.apache.tez.runtime.library.common.shuffle.Fetcher$MapOutputStat.toString() invokes inefficient new String(String) constructor

Bug type DM_STRING_CTOR
In class org.apache.tez.runtime.library.common.shuffle.Fetcher$MapOutputStat
In method org.apache.tez.runtime.library.common.shuffle.Fetcher$MapOutputStat.toString()
At Fetcher.java:[line 829]

Dm 	org.apache.tez.runtime.library.common.shuffle.orderedgrouped.FetcherOrderedGrouped$MapOutputStat.toString() invokes inefficient new String(String) constructor

Bug type DM_STRING_CTOR
In class org.apache.tez.runtime.library.common.shuffle.orderedgrouped.FetcherOrderedGrouped$MapOutputStat
In method org.apache.tez.runtime.library.common.shuffle.orderedgrouped.FetcherOrderedGrouped$MapOutputStat.toString()
At FetcherOrderedGrouped.java:[line 420]

Dm 	org.apache.tez.auxservices.ShuffleHandler$Range.toString() invokes inefficient new String(String) constructor

Bug type DM_STRING_CTOR
In class org.apache.tez.auxservices.ShuffleHandler$Range
In method org.apache.tez.auxservices.ShuffleHandler$Range.toString()
At ShuffleHandler.java:[line 831]

RCN 	Redundant nullcheck of info, which is known to be non-null in org.apache.tez.auxservices.IndexCache.removeMap(String)

Bug type RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
In class org.apache.tez.auxservices.IndexCache
In method org.apache.tez.auxservices.IndexCache.removeMap(String)
Value loaded from info
Return value of java.util.concurrent.ConcurrentHashMap.get(Object) of type Object
Redundant null check at IndexCache.java:[line 191]
{noformat}


> Findbug warnings after TEZ-3334 merge
> -------------------------------------
>
>                 Key: TEZ-3744
>                 URL: https://issues.apache.org/jira/browse/TEZ-3744
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Jason Lowe
>            Assignee: Kuhu Shukla
>
> There are findbug warnings in precommit builds that appear to be caused by the recent TEZ-3334 merge.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)