You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Íñigo Goiri (Jira)" <ji...@apache.org> on 2021/08/17 16:51:00 UTC

[jira] [Resolved] (HDFS-16174) Refactor TempFile and TempDir in libhdfs++

     [ https://issues.apache.org/jira/browse/HDFS-16174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Íñigo Goiri resolved HDFS-16174.
--------------------------------
    Fix Version/s: 3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> Refactor TempFile and TempDir in libhdfs++
> ------------------------------------------
>
>                 Key: HDFS-16174
>                 URL: https://issues.apache.org/jira/browse/HDFS-16174
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs++
>    Affects Versions: 3.4.0
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> In C++, we generally do the declaration in the header files and the corresponding implementation in the .cc files. Here we see that the implementation of TempFile and TempDir are done in configuration_test.h itself. This offers no benefit and the compilation of TempFile and TempDir classes are duplicated for every #include of the configuration_test.h header. Thus, we need to implement it in separate cc files to avoid this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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