[ https://issues.apache.org/jira/browse/HADOOP-18690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17708908#comment-17708908 ]
ASF GitHub Bot commented on HADOOP-18690: ----------------------------------------- anujmodi2021 opened a new pull request, #5535: URL: https://github.com/apache/hadoop/pull/5535 ### Description of PR This PR fixes the Unchecked Cast Error/Warning thrown at javac step of yetus checks on PR. Jira ticket: https://issues.apache.org/jira/browse/HADOOP-18690 Fix is to deterministically type cast the return type of the function. Since there is only one return type possible for the function, there is no need to type cast it. > Fix for Javac Error of Unchecked Cast > ------------------------------------- > > Key: HADOOP-18690 > URL: https://issues.apache.org/jira/browse/HADOOP-18690 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/azure > Reporter: Anuj Modi > Assignee: Anuj Modi > Priority: Blocker > Labels: pull-request-available > Fix For: 3.3.0, 3.3.5 > > > This task is to fix javac unchecked cast error on yetus build. > Yetus checks on PR are failing at javac step with the error: > *"hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/security/TokenUtils.java:43:53:[unchecked] > unchecked cast"* > This is blocking other PRs in the branches 3.3.3, 3.3.4, 3.3.2 > This task will fix this error/warning and unblock other PRs. > Blocked PRs: > 1. [Backport HADOOP-18546: ABFS: Disable purging list of in progress reads in > abfs stream closed in 3.3.2 by anujmodi2021 · Pull Request #5529 · > apache/hadoop (github.com)|https://github.com/apache/hadoop/pull/5529] > 2. [Backport HADOOP-18546: ABFS: Disable purging list of in progress reads in > abfs stream closed in 3.3.3 by anujmodi2021 · Pull Request #5530 · > apache/hadoop (github.com)|https://github.com/apache/hadoop/pull/5530] > 3. [Backport HADOOP-18546: ABFS: Disable purging list of in progress reads in > abfs stream closed in 3.3.4 by anujmodi2021 · Pull Request #5531 · > apache/hadoop (github.com)|https://github.com/apache/hadoop/pull/5531] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org