Created
September 9, 2015 18:35
-
-
Save jthelin/aa9fa5fafde49596b83e to your computer and use it in GitHub Desktop.
hadoop-native-2.6.0-VS2013.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.gitignore b/.gitignore | |
index 8b132cb..1acc80f 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -21,3 +21,4 @@ hadoop-common-project/hadoop-common/src/test/resources/contract-test-options.xml | |
hadoop-tools/hadoop-openstack/src/test/resources/contract-test-options.xml | |
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/tla/yarnregistry.toolbox | |
yarnregistry.pdf | |
+hadoop-common-project/hadoop-common/src/main/winutils/x64/ | |
diff --git a/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj b/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj | |
index 2d60e56..fde3066 100644 | |
--- a/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj | |
+++ b/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj | |
@@ -17,7 +17,7 @@ | |
limitations under the License. | |
--> | |
-<Project DefaultTargets="CheckRequireSnappy;Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
+<Project DefaultTargets="CheckRequireSnappy;Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup Label="ProjectConfigurations"> | |
<ProjectConfiguration Include="Release|x64"> | |
<Configuration>Release</Configuration> | |
@@ -35,6 +35,7 @@ | |
<UseDebugLibraries>false</UseDebugLibraries> | |
<WholeProgramOptimization>true</WholeProgramOptimization> | |
<CharacterSet>Unicode</CharacterSet> | |
+ <PlatformToolset>v120</PlatformToolset> | |
</PropertyGroup> | |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
<ImportGroup Label="ExtensionSettings"> | |
diff --git a/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj.filters b/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj.filters | |
index 2c94f43..1575c5c 100644 | |
--- a/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj.filters | |
+++ b/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj.filters | |
@@ -63,6 +63,9 @@ | |
<ClCompile Include="src\org\apache\hadoop\security\JniBasedUnixGroupsMappingWin.c"> | |
<Filter>Source Files</Filter> | |
</ClCompile> | |
+ <ClCompile Include="src\org\apache\hadoop\yarn\server\nodemanager\windows_secure_container_executor.c"> | |
+ <Filter>Source Files</Filter> | |
+ </ClCompile> | |
</ItemGroup> | |
<ItemGroup> | |
<ClInclude Include="..\src\org\apache\hadoop\util\crc32_zlib_polynomial_tables.h"> | |
@@ -86,5 +89,20 @@ | |
<ClInclude Include="src\org_apache_hadoop.h"> | |
<Filter>Header Files</Filter> | |
</ClInclude> | |
+ <ClInclude Include="src\org\apache\hadoop\io\compress\snappy\org_apache_hadoop_io_compress_snappy.h"> | |
+ <Filter>Header Files</Filter> | |
+ </ClInclude> | |
+ <ClInclude Include="src\org\apache\hadoop\io\compress\zlib\org_apache_hadoop_io_compress_zlib_ZlibCompressor.h"> | |
+ <Filter>Header Files</Filter> | |
+ </ClInclude> | |
+ <ClInclude Include="src\org\apache\hadoop\io\compress\zlib\org_apache_hadoop_io_compress_zlib_ZlibDecompressor.h"> | |
+ <Filter>Header Files</Filter> | |
+ </ClInclude> | |
+ <ClInclude Include="src\org\apache\hadoop\io\compress\zlib\org_apache_hadoop_io_compress_zlib.h"> | |
+ <Filter>Header Files</Filter> | |
+ </ClInclude> | |
+ <ClInclude Include="src\org\apache\hadoop\yarn\server\nodemanager\windows_secure_container_executor.h"> | |
+ <Filter>Header Files</Filter> | |
+ </ClInclude> | |
</ItemGroup> | |
</Project> | |
\ No newline at end of file | |
diff --git a/hadoop-common-project/hadoop-common/src/main/winutils/libwinutils.vcxproj b/hadoop-common-project/hadoop-common/src/main/winutils/libwinutils.vcxproj | |
index 37b7f31..a864a7f 100644 | |
--- a/hadoop-common-project/hadoop-common/src/main/winutils/libwinutils.vcxproj | |
+++ b/hadoop-common-project/hadoop-common/src/main/winutils/libwinutils.vcxproj | |
@@ -17,7 +17,7 @@ | |
limitations under the License. | |
--> | |
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup Label="ProjectConfigurations"> | |
<ProjectConfiguration Include="Debug|x64"> | |
<Configuration>Debug</Configuration> | |
@@ -38,12 +38,14 @@ | |
<ConfigurationType>StaticLibrary</ConfigurationType> | |
<UseDebugLibraries>true</UseDebugLibraries> | |
<CharacterSet>Unicode</CharacterSet> | |
+ <PlatformToolset>v120</PlatformToolset> | |
</PropertyGroup> | |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | |
<ConfigurationType>StaticLibrary</ConfigurationType> | |
<UseDebugLibraries>false</UseDebugLibraries> | |
<WholeProgramOptimization>true</WholeProgramOptimization> | |
<CharacterSet>Unicode</CharacterSet> | |
+ <PlatformToolset>v120</PlatformToolset> | |
</PropertyGroup> | |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
<ImportGroup Label="ExtensionSettings"> | |
diff --git a/hadoop-common-project/hadoop-common/src/main/winutils/winutils.vcxproj b/hadoop-common-project/hadoop-common/src/main/winutils/winutils.vcxproj | |
index d736084..2bc6a71 100644 | |
--- a/hadoop-common-project/hadoop-common/src/main/winutils/winutils.vcxproj | |
+++ b/hadoop-common-project/hadoop-common/src/main/winutils/winutils.vcxproj | |
@@ -17,7 +17,7 @@ | |
limitations under the License. | |
--> | |
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup Label="ProjectConfigurations"> | |
<ProjectConfiguration Include="Debug|x64"> | |
<Configuration>Debug</Configuration> | |
@@ -38,12 +38,14 @@ | |
<ConfigurationType>Application</ConfigurationType> | |
<UseDebugLibraries>true</UseDebugLibraries> | |
<CharacterSet>Unicode</CharacterSet> | |
+ <PlatformToolset>v120</PlatformToolset> | |
</PropertyGroup> | |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | |
<ConfigurationType>Application</ConfigurationType> | |
<UseDebugLibraries>false</UseDebugLibraries> | |
<WholeProgramOptimization>true</WholeProgramOptimization> | |
<CharacterSet>Unicode</CharacterSet> | |
+ <PlatformToolset>v120</PlatformToolset> | |
</PropertyGroup> | |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
<ImportGroup Label="ExtensionSettings"> |
Build with commands:
cd hadoop-common-project\hadoop-common
mvn compile
Binaries will be in directory target\bin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For building Hadoop v2.6.0 native libraries for Windows x64 using Visual Studio 2013