[
https://issues.apache.org/jira/browse/HADOOP-17862?focusedWorklogId=643183&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-643183
]
ASF GitHub Bot logged work on HADOOP-17862:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 29/Aug/21 11:41
Start Date: 29/Aug/21 11:41
Worklog Time Spent: 10m
Work Description: sumangala-patki commented on a change in pull request
#3331:
URL: https://github.com/apache/hadoop/pull/3331#discussion_r698002067
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsListResult.java
##########
@@ -0,0 +1,52 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.fs.azurebfs.services;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.Iterator;
+
+import org.apache.hadoop.fs.FileStatus;
+
+public class AbfsListResult {
Review comment:
added
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 643183)
Time Spent: 1h 10m (was: 1h)
> ABFS: Fix unchecked cast compiler warning for AbfsListStatusRemoteIterator
> --------------------------------------------------------------------------
>
> Key: HADOOP-17862
> URL: https://issues.apache.org/jira/browse/HADOOP-17862
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.3.1
> Reporter: Sumangala Patki
> Assignee: Sumangala Patki
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Hadoop yetus run shows a java compiler warning for unchecked casting of
> Object to Iterator<FileStatus> in a method of AbfsListStatusRemoteIterator
> class. This can be resolved by introducing a new class to hold the iterator
> and exception thrown when applicable.
>
> hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsListStatusRemoteIterator.java:97:38:[unchecked]
> unchecked cast
>
> This task will also add logging to facilitate better investigation of the
> transient failure tracked in HADOOP-17797.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]