当hive在执行大数据量的统计查询语句时,经常会出现下面OOM错误,具体错误提示如下:Possible error: Out of memory due to hash maps used in map-side aggregation.Solution: Currently hive.map.ag...
分类:
其他好文 时间:
2014-07-18 11:37:23
阅读次数:
305
可以根据城市+车牌号+发动机号查询违章信息列表;
违章实体类
package org.wx.xhelper.model;
/**
* 违章实体类
* @author wangxw
* @version 1.0
* @date Jul 11, 2014 3:25:34 PM
*/
public class ViolRegu {
// 违章时间
privat...
分类:
Windows程序 时间:
2014-07-18 11:33:47
阅读次数:
1051
根据手机号码查询用户的卡类型、运营商、归属地、区域等信息。
手机归属地实体类
package org.wx.xhelper.model;
/**
* 手机归属地
* @author wangxw
* @version 1.0
* @date Jul 9, 2014 4:03:04 PM
*/
public class PhoneBelong {
// 电话号...
分类:
移动开发 时间:
2014-07-18 11:29:56
阅读次数:
460
long sd=1345185923140L;
Date dat=new Date(sd);
GregorianCalendar gc = new GregorianCalendar();
gc.setTime(dat);
java.text.SimpleDateFormat format =...
分类:
编程语言 时间:
2014-07-18 11:29:20
阅读次数:
188
ylbtech-JavaScript-util:util.date.js日期处理工具1.A,JS-效果图返回顶部 1.B,JS-Source Code(源代码)返回顶部1.B.1, m.yintaiDate.prototype.format = function(format){ var o ...
分类:
Web程序 时间:
2014-07-18 10:25:14
阅读次数:
301
使用date命令转换基础时间秒为年月日:命令为:date -d @1281161747注意一定不要忘记符号“@” #date 获取当前时间 #date -d "-1 week" +%Y%m%d 获取上周日期(day,month,year,hour) #date --date="-24 hour".....
分类:
其他好文 时间:
2014-07-18 00:26:36
阅读次数:
240
ExtJs 3 自定义combotree/** * 自定义下拉树,支持初始化值时自动定位树节点。 * 还没有考虑性能问题。继承自Ext.form.ComboBox也很浪费。 * 代码中的cu.get()是自定义的异步请求方法。 * @author Linzongxue * @create_date ...
分类:
Web程序 时间:
2014-07-17 23:09:16
阅读次数:
486
linux调整系统时区: 找到相应的时区文件/usr/share/zoneinfo/Asia/Shanghai 用这个文件替换当前的/etc/localtime文件 这时date一下应该是CST时间了 如果还不行,那就要修改一下TZ环境变量的值了。 许多程序和命令都会用到这个变量的值,TZ的值可以有...
分类:
系统相关 时间:
2014-07-17 23:00:45
阅读次数:
378
1 2014-06-11 15:19:17.167 ***[930:707] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN....
分类:
移动开发 时间:
2014-07-17 22:12:30
阅读次数:
340
昨天接到了一个测试接口的任务,接口的请求参数和返回结果均是JSON字符串,先是使用了函数web_submit_date,执行时报错,查询资料没找到原因,不知道是不是不支持JSON串,有兴趣的可以自己试下。然后尝试用web_custom_request函数,执行后返回的结果都正确,ok,就它了。web_cu..
分类:
Web程序 时间:
2014-07-17 21:13:24
阅读次数:
594