Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15385

Upgrade boost library to 1.72

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: build, libhdfs++
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Boost 1.72 is required when building native code.

      Description

      The version of the boost library that's currently being used in HDFS is 1.10.2. It is VERY old. It's from a time when it perhaps the name "boost" wasn't even conceived. Going by the name of the library, it was probably just called as "asio".

      From https://www.boost.org/users/history/ website, the earliest available version,1.10.3 is more than 2 decades old as it was released in 1999 -

      This really poses a big hurdle when it comes to upgrading to newer compiler versions as, some the programming constructs that are used in asio-1.10.2 which were mere warnings back then, get flagged as outright errors with modern compilers. (I tried to compile Hadoop with Visual Studio 2019 and saw plenty of such errors).

      In the interest of keeping the Hadoop project modern and live, I would like to propose the idea of upgrading the boost library with the latest.

        Attachments

        1. image-2020-06-03-21-41-49-397.png
          8 kB
          Gautham Banasandra

          Issue Links

            Activity

              People

              • Assignee:
                gautham Gautham Banasandra
                Reporter:
                gautham Gautham Banasandra
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: