免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库

动态

2016-04-07

  • waq1012030438 发表了新话题 2016-04-07 10:11
    kafka topic leader none
    大家好: 我创建了一个topic,查看topic的描述,情况如下: Topic:deng3 PartitionCount:2 ReplicationFactor:2 Configs: Topic: deng3 Partition: 0 Leader: ...

2015-12-24

  • waq1012030438 发表了新话题 2015-12-24 10:18
    shell test参数
    b="" if [ -n $b ];then echo "b不为空" else echo "b 为空" fi if [ -z $b ];then echo "b 为空" fi 执行结果: b不为空 b 为空 问 ...

2015-05-05

  • waq1012030438 发表了新话题 2015-05-05 21:28
    ContainerExecutor失败
    今天在cdh5.3.0的集群中配置了cgroup资源管理,但是执行任务时报错: Application application_1430818499449_0011 failed 2 times due to AM Container for ...

2015-01-09

  • waq1012030438 发表了新话题 2015-01-09 17:18
    使用expect send一个空格
    想生成ssh公钥的时候使用expect,怎样send输出空格呢,我现在的代码不能实现回车,也就是说生成了.ssh目录,但没有生成公钥文件 Generating public/private ...

2014-11-20

  • waq1012030438 发表了新话题 2014-11-20 16:03
    zookeeper出错
    今天,发现hbase的HMaster挂掉了,然后发现是zookeeper的问题,解决过程中重启了zookeeper,然后启动HDFS的时候发现:no zkfc to stop (resourcemanage无法启动 ...

2014-10-23

  • waq1012030438 发表了新话题 2014-10-23 09:27
    使用python统计求和
    文件如下: log: 2014 1 189mail 2014 2 189mail 2014 2 reader 2014 1 cloud 2014 2 cloud 2014 3 189mail 最后想得到一个文件,文件内容为: 189ma ...

2014-09-17

  • waq1012030438 发表了新话题 2014-09-17 08:44
    shell处理文件
    有一个文件,如下: file1: 11 haha 11 hh 22 re 01 vv 01 hehe 01 g 01 02 02 02 02 03 03 13 13 13 现在想用shell命令将文件分割,分割 ...

2014-08-26

  • waq1012030438 发表了新话题 2014-08-26 22:29
    awk合并两个文本
    file1: 183042048:183107583:北京 183107584:183173119:上海 183173120:183238655:广州 1031929856:1031995391:深圳 3683909632:3683975167:西安 19403898 ...