您当前的位置: 首页 >  hadoop

段智华

暂无认证

  • 0浏览

    0关注

    1232博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

第52课:Hadoop链式MapReduce编程实战

段智华 发布时间:2016-02-27 07:49:16 ,浏览量:0

为了解决数据问题,修改tab为逗号,  String[] splited = line.split(",");        int price = Integer.valueOf(splited[1]); 运行ok

[root@master IMFdatatest]#hadoop dfs -cat /library/dataForChain.txt DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead use the hdfs command for it.

16/02/27 04:14:40 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Computer,5000 SmartPhone,3000 Tablet,1500 Tv,50000 Book,18 Clothes,150 Gloves,9 Computer,5000 SmartPhone,3000 Tablet,1500 Tv,50000 Book,18 Clothes,150 Gloves,9 SmartPhone,3000 Tablet,1500

 

[root@master IMFdatatest]#hadoop dfs -cat /library/outputdataForChain9/part-r-00000 DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead use the hdfs com

关注
打赏
1659361485
查看更多评论
立即登录/注册

微信扫码登录

0.0384s