Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19016

Unable to build Hadoop in Windows Container due to missing of devenv

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 3.3.4
    • None
    • client-mounts, common
    • None

    Description

      For Windows, Dockerfile and build instructions are provided for building Hadoop. However, when starting to Maven build Hadoop project in the container, it will fail at calling `devenv` to upgrade VS solutions:

      This is caused by win-vs-upgrade.cmd. The script checks whether there's `devenv` command, and if there's not, exit with error.

      The script is called during building Hadoop Common project, set in win-native profile of the POM.

      But within the container the command is not available, so it will always fail at this step.

      If we manually edit the file, removing the check and the call to devenv. The build will still fail, because current sln file within the code repo is based on VS 2010. Because the VS tools installed is 2019(16), the versions do not match.

      I'm not sure if someone has successfully built Hadoop using this Dockerfile before, but currently it doesn't seem to be possible to directly build it just following BUILDING.txt without other change.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wekoms wy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: