1.软件包

 

版本: hadoop-3.2.0

链接:https://pan.baidu.com/s/1wo8ysbGcHw5haOfKyKaEKA  密码:ygxj

 

 

2.环境准备:

 

        * Unix System
        * JDK 1.8
        * Maven 3.3 or later
        * ProtocolBuffer 2.5.0     --必须是这个版本
        * CMake 3.1 or newer (if compiling native code)   --必须是3.1版本 
        * Zlib devel (if compiling native code)
        * Cyrus SASL devel (if compiling native code)
        * One of the compilers that support thread_local storage: GCC 4.8.1 or later, Visual Studio,
          Clang (community version), Clang (version for iOS 9 and later) (if compiling native code)
        * openssl devel (if compiling native hadoop-pipes and to get the best HDFS encryption performance)
        * Linux FUSE (Filesystem in Userspace) version 2.6 or above (if compiling fuse_dfs)
        * Jansson C XML parsing library ( if compiling libwebhdfs )
        * Doxygen ( if compiling libhdfspp and generating the documents )
        * Internet connection for first build (to fetch all Maven and Hadoop dependencies)
        * python (for releasedocs)
        * bats (for shell code testing)
        * Node.js / bower / Ember-cli (for YARN UI v2 building)

 

3. 解压

tar -xzvf hadoop-3.2.0-src.tar.gz

 

 

 

 

4. 编译

$ mvn package -Psrc -DskipTests

 

 

5.导入 idea. 完成.

 

 

 

 

 

 

 

 

相关文章:

  • 2021-10-08
  • 2021-05-26
  • 2021-08-28
  • 2021-08-15
  • 2021-06-05
  • 2021-05-16
  • 2021-11-06
  • 2021-12-12
猜你喜欢
  • 2021-12-21
  • 2021-05-19
  • 2021-09-04
  • 2021-04-22
  • 2021-07-03
  • 2021-12-06
相关资源
相似解决方案