V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Kamitora
V2EX  ›  问与答

开发时连接远程服务器 HDFS, 本地也需要安装 Hadoop 吗?

  •  1
     
  •   Kamitora · Jul 27, 2019 · 1629 views
    This topic created in 2474 days ago, the information mentioned may be changed or developed.
    17:15:18.025 [main] DEBUG org.apache.hadoop.util.Shell - Failed to detect a valid hadoop home directory
    java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset.
    

    随后就是几块关于 Connection Refused 的信息

    1 replies    2019-07-28 12:13:11 +08:00
    zsam
        1
    zsam  
       Jul 28, 2019
    windows 的话,需要配 path,需要用到专门编译的 hdfs 客户端。你搜一下 winutils,git-hub: https://github.com/steveloughran/winutils
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2483 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 87ms · UTC 15:40 · PVG 23:40 · LAX 08:40 · JFK 11:40
    ♥ Do have faith in what you're doing.