[
https://issues.apache.org/jira/browse/HADOOP-11381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Li Lu updated HADOOP-11381:
---------------------------
Attachment: HADOOP-11381-120914.patch
In this patch I addressed findbugs 3 warnings in hadoop-distcp, -aws, -azure,
and -openstack. Most warnings are encoding or new line formatting related, but
one warning in hadoop-azure may cause a race. In my understanding,
SelfRenewingLease(CloudBlobWrapper) in SelfRenewingLease.java may be called
concurrently (threadNumber was volatile), and the previous threadNumber++
operation is not atomic. I replaced it with AtomicInteger.
> Fix findbugs warnings in hadoop-distcp, hadoop-aws, hadoop-azure, and
> hadoop-openstack
> --------------------------------------------------------------------------------------
>
> Key: HADOOP-11381
> URL: https://issues.apache.org/jira/browse/HADOOP-11381
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Li Lu
> Assignee: Li Lu
> Labels: findbugs
> Attachments: HADOOP-11381-120914.patch
>
>
> When locally run findbugs 3.0, there are new warnings generated. This Jira
> aims to address the new warnings in hadoop-distcp, hadoop-aws, hadoop-azure,
> and hadoop-openstack.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)