Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1003

[C++] Hdfs and java dlls fail to load when built for Windows with MSVC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • C++
    • Windows, MSVC

    Description

      If I build the cpp library with MSVC for windows and try to use the hdfs io interface, the dynamic library loads fail.

      The reason is that in file hdfs-internal.cc on two occasions the __WIN32 define is checked instead of _WIN32. The former is not set by MSVC. I checked that these are the only two locations in the arrow library where the flag __WIN32 is used, so all we need to do is replace these two references in hdfs-internal.cc.

      Attachments

        Activity

          People

            bgosztonyi Balázs Gosztonyi
            bgosztonyi Balázs Gosztonyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified