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

ASF GitHub Bot commented on HDFS-17118:
---------------------------------------

xinglin commented on code in PR #5880:
URL: https://github.com/apache/hadoop/pull/5880#discussion_r1284904488


##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestObserverReadProxyProvider.java:
##########
@@ -367,9 +366,9 @@ public void testGetHAServiceStateWithTimeout() throws 
Exception {
 
     setupProxyProvider(1, NAMENODE_HA_STATE_PROBE_TIMEOUT_SHORT);
     final HAServiceState state = HAServiceState.STANDBY;
-    NNProxyInfo<ClientProtocol> dummyNNProxyInfo =
+    @SuppressWarnings("unchecked") NNProxyInfo<ClientProtocol> 
dummyNNProxyInfo =

Review Comment:
   fixed.





> Fix minor checkstyle warnings in TestObserverReadProxyProvider
> --------------------------------------------------------------
>
>                 Key: HDFS-17118
>                 URL: https://issues.apache.org/jira/browse/HDFS-17118
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.4.0
>            Reporter: Xing Lin
>            Assignee: Xing Lin
>            Priority: Trivial
>              Labels: pull-request-available
>
> We noticed a few checkstyle warnings when backporting HDFS-17030 from trunk 
> to branch-3.3. The yetus build was not stable at that time and we did not 
> notice the newly added checkstyle warnings.
> PR for HDFS-17030 which has been merged into trunk: 
> [https://github.com/apache/hadoop/pull/5700]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to