上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 45 下一页
摘要: http://blog.csdn.net/desilting/article/details/45505121 阅读全文
posted @ 2017-06-11 07:59 牵牛花 阅读(78) 评论(0) 推荐(0)
摘要: 首先要启动hdfs, 使用telnet通信就可以做测试,如果是其他机器访问的那么netcat要配置成ip而不是localhost,netcat默认读取字符长度是16个数字,可以设置更大 启动flume 之后 telnet mini2 44444 文件系统 到hdfs 阅读全文
posted @ 2017-06-10 21:49 牵牛花 阅读(165) 评论(0) 推荐(0)
摘要: 下载 http://vault.centos.org/6.6/os/x86_64/Packages/nc-1.84-22.el6.x86_64.rpm rpm -iUv nc-1.84-22.el6.x86_64.rpm http://www.2cto.com/os/201306/220971.ht 阅读全文
posted @ 2017-06-10 21:17 牵牛花 阅读(6601) 评论(0) 推荐(0)
摘要: step1:类放在com.xxx.lobs.manager.impl下面,方法名字是update2,预期结果正常执行,结果正常 step2:将测试类放在这个包中com.xxx.lobs.manager.impl.test 预期结果,不能正常执行,结果报错不能获取事务(org.hibernate.Hi 阅读全文
posted @ 2017-06-09 11:08 牵牛花 阅读(838) 评论(0) 推荐(0)
摘要: 这个问题是由于maven默认的jdk和默认的Dynamic Web Module版本问题引起的。 这个问题断断续续解决了复发了,今天找打了一个方法 第一,首先要在maven中配置这个插件 这样建好的项目 project facet中的Dynamic Web Module 是3.0的 还有buildp 阅读全文
posted @ 2017-06-08 10:52 牵牛花 阅读(209) 评论(0) 推荐(0)
摘要: row format delimited fields terminated by ',' 以','结尾的行格式分隔字段 阅读全文
posted @ 2017-06-06 21:59 牵牛花 阅读(7189) 评论(0) 推荐(0)
摘要: 将代码达成jar包然后上传,其中依赖的函数在hive的压缩包的lib文件夹下面 创建临时函数 create temporary function lowercase2 as 'my.bigdata.udf.ToLowercase'; 使用时和其他函数一样 hive的insert 语句 insert 阅读全文
posted @ 2017-06-06 21:37 牵牛花 阅读(371) 评论(0) 推荐(0)
摘要: Jaxb2 实现JavaBean与xml互转 阅读全文
posted @ 2017-06-06 17:09 牵牛花 阅读(201) 评论(0) 推荐(0)
摘要: 输入cat 命令时,他会从stdin(对通断界面来说,标准输入就是键盘)接受输入,cat < testfile ,现在cat命令会用testfile文件中的行为作为输入,可以使用这种技术将数据输入到任何能从stdin接受数据的shell命令stdout 在终端界面上,标准输出就是终端显示器。ls - 阅读全文
posted @ 2017-06-06 16:42 牵牛花 阅读(534) 评论(0) 推荐(0)
摘要: #!/bin/bash #reading data from a file count=1 cat test1 | while read line do echo "Line $count: $line" count=$[ $count + 1 ] done echo finished processing the file ~ ... 阅读全文
posted @ 2017-06-06 16:23 牵牛花 阅读(3997) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 45 下一页