You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/02/01 00:10:00 UTC

[jira] [Work logged] (HADOOP-18100) Change scope of inner classes in InodeTree to make them accessible outside package

     [ https://issues.apache.org/jira/browse/HADOOP-18100?focusedWorklogId=718337&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-718337 ]

ASF GitHub Bot logged work on HADOOP-18100:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Feb/22 00:09
            Start Date: 01/Feb/22 00:09
    Worklog Time Spent: 10m 
      Work Description: omalley commented on a change in pull request #3950:
URL: https://github.com/apache/hadoop/pull/3950#discussion_r796168022



##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java
##########
@@ -102,7 +102,7 @@ protected Path fullPath(final Path path) {
    * @param uri base uri
    * @throws IOException 
    */
-  ChRootedFileSystem(final FileSystem fs, URI uri) throws IOException {
+  public ChRootedFileSystem(final FileSystem fs, URI uri) throws IOException {

Review comment:
       Why is this public instead of protected?

##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java
##########
@@ -102,7 +102,7 @@ protected Path fullPath(final Path path) {
    * @param uri base uri
    * @throws IOException 
    */
-  ChRootedFileSystem(final FileSystem fs, URI uri) throws IOException {
+  public ChRootedFileSystem(final FileSystem fs, URI uri) throws IOException {

Review comment:
       The same applies to the rest of the private to public changes.

##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/FsGetter.java
##########
@@ -20,15 +20,15 @@
 import java.io.IOException;
 import java.net.URI;
 
-import org.apache.hadoop.classification.InterfaceAudience.Private;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 
 /**
  * File system instance getter.
  */
-@Private
-class FsGetter {
+@InterfaceAudience.Public

Review comment:
       I'd be far happier with LimitedPrivate here. Certainly, you should also add an Evolving annotation also.




-- 
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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 718337)
    Time Spent: 20m  (was: 10m)

> Change scope of inner classes in InodeTree to make them accessible outside package
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-18100
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18100
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Abhishek Das
>            Assignee: Abhishek Das
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org