Kamitora
V2EX  ›  问与答

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

  •  1
     
  •   Kamitora · Jul 27, 2019 · 1677 views
    This topic created in 2507 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   ·   987 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:57 · PVG 06:57 · LAX 15:57 · JFK 18:57
    ♥ Do have faith in what you're doing.