
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 · 6828 阅读 · 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 · 9186 阅读 · 0 评论