![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hadoop
jiecxy
Be good.
展开
-
[Hadoop] Ubuntu localhost: ssh: connect to host localhost port 22: Connection refused
问题描述在Ubuntu下启动hadoop的hdfs时出现:hadoop@ubuntu:~/hadoop-2.8.1$ sbin/start-dfs.sh Starting namenodes on [localhost]localhost: ssh: connect to host localhost port 22: Connection refusedlocalhost: ssh: con原创 2017-09-16 14:16:34 · 6691 阅读 · 0 评论 -
Hadoop 通过 Maven 用 Java API 对HDFS的读取/写入示例
1. 读写源码注意加注释的地方!!!/** * App.java */package com.jiecxy;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.FSDataInputStream;import org.apache.hadoop.fs.FSDataOutputStream;imp原创 2017-09-17 17:10:04 · 9128 阅读 · 0 评论