上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页
摘要: 缺少了winutil.exe 点击打开链接 阅读全文
posted @ 2017-12-29 16:55 crr121 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 看了很多博客,对于这个问题的解决,但是最后都没有成功后来我重新在官网下载了一个Hadoop安装包配置好环境变量将Hadoop相关的jar包加入到项目里面重新编译就可以了注意这里加入的jar包来自于由于这里面的jar包包含了sources包和tests包我们把他分离出来... 阅读全文
posted @ 2017-12-29 16:55 crr121 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 看了很多博客,对于这个问题的解决,但是最后都没有成功后来我重新在官网下载了一个Hadoop安装包配置好环境变量将Hadoop相关的jar包加入到项目里面重新编译就可以了注意这里加入的jar包来自于由于这里面的jar包包含了sources包和tests包我们把他分离出来... 阅读全文
posted @ 2017-12-29 16:55 crr121 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 新建Java工程package com.cr.java;import org.apache.hadoop.fs.FsUrlStreamHandlerFactory;import org.junit.Test;import javax.print.DocFlavor;i... 阅读全文
posted @ 2017-12-29 16:54 crr121 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: 新建Java工程package com.cr.java;import org.apache.hadoop.fs.FsUrlStreamHandlerFactory;import org.junit.Test;import javax.print.DocFlavor;i... 阅读全文
posted @ 2017-12-29 16:54 crr121 阅读(3209) 评论(0) 推荐(0) 编辑
摘要: 1、version_1 /** * 通过Hadoop API访问HDFS * @throws IOException */ @Test public void readFileByAPI() throws IOException {... 阅读全文
posted @ 2017-12-29 16:53 crr121 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1、version_1 /** * 通过Hadoop API访问HDFS * @throws IOException */ @Test public void readFileByAPI() throws IOException {... 阅读全文
posted @ 2017-12-29 16:53 crr121 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 1、读取文件 /** * 测试读取文件 * @throws IOException */ @Test public void testSave() throws IOException { Configuratio... 阅读全文
posted @ 2017-12-29 16:53 crr121 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1、读取文件 /** * 测试读取文件 * @throws IOException */ @Test public void testSave() throws IOException { Configuratio... 阅读全文
posted @ 2017-12-29 16:53 crr121 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1、查看镜像文件[xiaoqiu@s150 /home/xiaoqiu/hadoop_tmp/dfs/name/current]$ ls -h |grep fsimagefsimage_0000000000000000000fsimage_00000000000000... 阅读全文
posted @ 2017-12-29 16:53 crr121 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页