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

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • hdfs-client
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            anatoli.shein Anatoli Shein
            anatoli.shein Anatoli Shein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment