`
duming115
  • 浏览: 114386 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
2013.09.02   1.http://stackoverflow.com/questions/2329364/how-to-embed-images-in-a-single-html-php-file embed images in a single HTML, 嵌入图像到html页面中.   2.http://webcodertools.com/imagetobase64converter/Create 图片转化为base64编码.   3.范例<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAoAAAA ...
1. http://www.happyfuns.com/happyvod/?url=magnet%3a%3fxt%3durn%3abtih%3a0e2fe983ad21cc55e8c2b5147171635f7c7f5113%26dn%3dBBC%2b%25e5%259c%25b0%25e5%25b9%25b3%25e7%25ba%25bf%2b%25e5%25a4%25a7%25e6%2595%25b0%25e6%258d%25ae%25e6%2597%25b6%25e4%25bb%25a3%2bBBC%2bHorizon%2b(2013)%2bThe%2bAge%2bof%2bBig%2bD ...
写在最前:   1. http://www.swazzy.com/docs/hadoop/index.php可以输入hadoop类, 查看它的UML关系图.   2. https://issues.apache.org/jira/browse/MAPREDUCE-279 Hadoop Map-Reduce 2.0(Yarn)的架构文档,详细说明等. 2013.07.14 LeaseManager--文件写入时中断, 各数据节点需要 ...

MongoDB使用

2012.09.19 1. db.users.find().limit(100); 2. it 可以将其余的显示出来. 3. 查看索引 db.users.getIndexes(); 4. 性能耗时查询 db.setProfilingLevel(2);    db.setProfilingLevel( level , slowms );    db.setProfilingLevel( 1 , 10 );    查询    db.system.profile.find( { millis : { $gt : 5 } } );    db.system.profile.find().sort({ ...
set NLS_LANG=american_america.AL32UTF8

solr 查询参数

2012.02.17   1. q.op=AND 设置分词使用AND或者OR
2011.12.20 1. hadoop 集群环境中对namenode,datanode,jobtracker,tasktracker的监控甚至是debug.   要修改hadoop-env.sh文件: export HADOOP_TASKTRACKER_OPTS=" -Dcom.sun.management.jmxremote.authenticate=false  -Dcom.sun.management.jmxremote.ssl=false  -Dcom.sun.management.jmxremote.port=9051 -Xdebug -Xnoagent -Djava.c ...
2011.11.03   1. HBase 命令的调用类org.apache.hadoop.hbase.mapreduce.Driver hadoop jar hbase-0.90.3-cdh3u1.jar completebulkload /99bec08188cd8083d51d952d81012139 history_cn_lzo 在表不存在是会根据hfile的start key来创建表的及region,但是不能设定table的其它信息. hadoop jar hbase-0.90.3-cdh3u1.jar completebulkload /99bec08188cd8083d51d9 ...
1. Hive 创建表时正则表达式与java代码中一致,RegexSerDe 中用\\来表示反转码 create table inst_cn_3 (   ip string,   time string,   mac string,   lan string,   ver string,   lc string,   pn string,   reg string,   vrf string,   line string) ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.RegexSerDe' WITH SERDEPROPERTIE ...
1. 创建hive表,加载hive生成的数据 CREATE TABLE raw_sequence (line STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' STORED AS INPUTFORMAT 'org.apache.hadoop.chukwa.inputtools.ChukwaInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'; 2. org.apache ...
Date of problem System type/component (e.g., Hadoop namenode) Short description of problem Impact (complete loss of data) Priority/Urgency to Fix (High, medium, low) Date problem solved Man hours required to repair

Nginx

2011.04.26 1.Nginx 控制传递的包大小.
1. 问题: hadoop的客户端运行hadoop命令,但是没有在指定的日志文件中输出,指定的日志文件也不存在目录下.   解决: hadoop的日志输出由conf/log4j.properties控制,log4j.properties文件中指定hadoop.log.dir=. ,运行hadoop时,会由conf/hadoop-env.sh中指定的export HADOOP_LOG_DIR 指定到特定目录下输出,默认为hadoop的logs目录.   如果log4j.logger的级别很高,不生成输出的日志信息,那么日志文件也就不会生成(resin的logs/access.log也是),加入lo ...
1. select from_unixtime(1297426454); --> 2011-02-11 20:14:14 2. select date_format(from_unixtime(1297426454),'%Y-%m-%d %H:%i'); --> 2011-02-11 20:14 2012.02.24   1. 数据库连接池, validationQuery http://confluence.atlassian.com/display/JIRA/Surviving+Connection+Closures   MySQL select 1   Microsoft ...
/usr/sbin/tcpdump -n -x dst host 192.168.0.94 and dst port 9000 > ~/tcpdump.log
Global site tag (gtag.js) - Google Analytics