Skip to content

Instantly share code, notes, and snippets.

@leapar
Last active November 10, 2017 09:08
Show Gist options
  • Save leapar/c8a54e5327deee2b09e54b1369476d30 to your computer and use it in GitHub Desktop.
Save leapar/c8a54e5327deee2b09e54b1369476d30 to your computer and use it in GitHub Desktop.
Building Apache Hadoop from Source on Windows 10 with Visual Studio 2015

Building Apache Hadoop from Source on Windows 10 with Visual Studio 2015

@leapar
Copy link
Author

leapar commented Nov 10, 2017

hadoop 2.8.2编译不过

@leapar
Copy link
Author

leapar commented Nov 10, 2017

hadoop-2.7.4-src\hadoop-hdfs-project\hadoop-hdfs\pom.xml
把里面的native-test 所在的excute删掉,不然也会报错,naitve的test工程过不去

@leapar
Copy link
Author

leapar commented Nov 10, 2017

C:\dfs\hadoop-2.7.4-src\hadoop-dist\target\hadoop-2.7.4\etc\hadoop\hadoop-env.cmd
set HADOOP_NAMENODE_OPTS=-Xdebug -Xrunjdwp:transport="dt_socket,server=y,suspend=y,address=5000"

http://leveragebigdata.blogspot.com/2017/01/debugging-apache-hadoop.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment