Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8707 Implement an async pure c++ HDFS client
  3. HDFS-10874

libhdfs++: Public API headers should not depend on internal implementation

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      Public headers need to do some combination of the following: stop including parts of the implementation, forward declare bits of the implementation where absolutely needed, or pull the implementation into include/hdfspp if it's inseparable.

      Example:
      If you want to use the C++ API and only stick include/hdfspp in the include path you'll get an error when you include include/hdfspp/options.h because that goes and includes common/uri.h.

      Related to the work described in HDFS-10787.

        Attachments

        1. HDFS-10874.HDFS-8707.000.patch
          15 kB
          James Clampffer
        2. HDFS-10874.HDFS-8707.001.patch
          67 kB
          James Clampffer
        3. HDFS-10874.HDFS-8707.002.patch
          73 kB
          James Clampffer

          Activity

            People

            • Assignee:
              James C James Clampffer
              Reporter:
              James C James Clampffer
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: