[ https://issues.apache.org/jira/browse/HDDS-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539331#comment-16539331 ]
Bharat Viswanadham commented on HDDS-250: ----------------------------------------- Hi [~hanishakoneru] I think we can completely remove the containerPath from ContainerData. And when returning readContainerResponse, to return containerPath, we can change the containerPath to KeyValueContainerData.java: Line 229: builder.setContainerPath(this.getMetadataPath().getParent()); > Cleanup ContainerData > --------------------- > > Key: HDDS-250 > URL: https://issues.apache.org/jira/browse/HDDS-250 > Project: Hadoop Distributed Data Store > Issue Type: Improvement > Reporter: Hanisha Koneru > Assignee: Hanisha Koneru > Priority: Major > Fix For: 0.2.1 > > Attachments: HDDS-250.000.patch > > > The following functions in ContainerData are redundant. MetadataPath and > ChunksPath are specific to KeyValueContainerData. > ContainerPath is the common path in ContainerData which points to the base > dir of the container. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org