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

libhdfs++: PROTOC_IS_COMPATIBLE check fails if protobuf library is built from source

    XMLWordPrintableJSON

    Details

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

      Description

      Looks like the PROTOC_IS_COMPATIBLE check fails when Protobuf library is built from source. This happens because the check if performed during the cmake phase, and the protobuf library needed for this test is build from source only during the make phase, so the check fails with "ld: cannot find -lprotobuf" because it was not built yet. We should probably restrict this test to run only in cases when Protobuf library is already present and not being built from source.

        Attachments

        1. HDFS-12237.HDFS-8707.000.patch
          3 kB
          Anatoli Shein
        2. HDFS-12237.HDFS-8707.001.patch
          3 kB
          Anatoli Shein
        3. HDFS-12237.HDFS-8707.002.patch
          1 kB
          Anatoli Shein

          Activity

            People

            • Assignee:
              anatoli.shein Anatoli Shein
              Reporter:
              anatoli.shein Anatoli Shein
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: