发布时间:2014-07-07 10:36:44
1. 时间 前一小时 prehour = datetime.datetime.now() - datetime.timedelta(hours=1) logdate = prehour.strftime("%F") loghour = prehour.strftime("%H") &nbs.........【阅读全文】
发布时间:2014-05-12 14:56:42
# yum install puppetLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package puppet.noarch 0:2.7.9-1.el6.rf will be installed--> Finished Dependency Resolution--> Processing .........【阅读全文】
发布时间:2014-04-27 18:13:16
grep -r deprecated ~/hadoop/bin//home/hd/hadoop/bin/hadoop-config.sh: echo "Warning: \$HADOOP_HOME is deprecated." 1>&2于这个警告问题,解决方法如下: 1.注释掉hadoop-config.sh里的上面给出的这段if fi配置(不推荐)2.在当前用户home/.bash_profile里增加一个环境变量:expor.........【阅读全文】
发布时间:2014-04-27 17:54:25
1. 总的默认的Xmx是1000M 在hadoop启动脚本里 JAVA_HEAP_MAX=-Xmx1000m2. 改 这个文件也可以改总的Xmx ~/hadoop/conf/hadoop-env.sh # The maximum amount of heap to use, in MB. Default is 1000. # export HADOOP.........【阅读全文】