- 博客(22)
- 收藏
- 关注
原创 快速创建git 仓库
Quick setup — if you've done this kind of thing beforevia HTTPCreate a new repository from the command linetouch README.mdgit initgit add README.mdgit commit -m "first commit"git r...
2018-08-31 15:56:34 379
原创 工作流表删除顺序
drop table act_evt_log;drop table act_hi_actinst;drop table act_hi_attachment;drop table act_hi_comment;drop table act_hi_detail;drop table act_hi_identitylink;drop table act_hi_procinst;...
2018-06-14 10:01:48 618
原创 idea 巨坑
intellij idea 省电模式会造成关键字不高亮,错误代码不提示等等。解决:点击idea 的file 再次点击power save mode 禁用
2017-08-24 21:20:02 171
原创 liunx 常用命令
1、关键字: whereis 例如:whereis hive 则是找出hive 环境变量配置在哪。2、$PATH 在shell 变量中,不能出现$PATH 定义,不然会将系统环境变量PATH 覆盖,导致其他命令找不到。3、赋权 chmod +x xx.sh4、shell 读取文件行数 $file_path =text.txtf...
2017-07-06 10:16:24 113
原创 mysql 常用函数group_concat
mysql之group_concat函数详解group_concat( [DISTINCT] 要连接的字段 [Order BY 排序字段 ASC/DESC] [Separator '分隔符'] )下面举例说明:select * from goods; +------+------+| id| price|+------+------+|1 |...
2017-06-21 22:12:35 108
原创 springboot 1.5.2 集成hive 报错。
[ https://issues.apache.org/jira/browse/HIVE-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545973#comment-13545973 ] Nicolas Fouché commented on H...
2017-06-14 20:52:25 295
原创 sqoop 数据导出,hive -->mysql
命令导出:sqoop export --connect jdbc:mysql://localhost:3306/test --username root --password root --table test --export-dir '/user/hive/warehouse/test' --fields-terminated-by '\001' --input-nul...
2017-06-13 16:59:12 101
原创 spring boot 1.5.2 读取配置文件
@Component@PropertySource("classpath:hive.properties")//与之前版本差异。@ConfigurationProperties(prefix = "hive")public class HiveConfig { public String host; public String url; pub...
2017-06-09 16:13:27 94
原创 前端react 发布到nginx
1、拷贝前端文件,去除node_modules。并打包root.zip2、上传liunx 解压,定位到解压文件根目录。如root/ 3、安装,cnpm -install .完成。4、配置nginx.conf . location / { root html;//可以是绝对路径 index index.ht...
2017-05-26 11:00:00 552
原创 react
1、语法onClick={this.handleOk} 与onClick={this.handleOk()}后面加括号表示直接调用。错误提示:Cannot update during an existing state transition (such as within `render` or another component's constructor).Rend...
2017-05-25 16:39:32 81
原创 struts2
Unable to load configuration. - bean - jar:file:/D:/javaProgramFiles/tomcat-6.0.20/webapps/zoyeo Exception starting filter struts2Unable to load configuration. - bean - jar:file:/D:/javaProgramFiles...
2013-07-26 15:57:30 84
原创 org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Config
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean name 'test' is already used in this file.----把spring 中的nama 去掉就行了报错:Caused by: javax.xml.p...
2013-01-22 15:10:07 730
原创 JS table 取特定值
function iteratorTable(tablename){ var total=0; for(var i=1;i
2012-07-03 15:20:09 94
原创 select查询原理
select查询原理 我并非专业DBA,但做为B/S架构的开发人员,总是离不开数据库,一般开发员只会应用SQL的四条经典语句:select ,insert,delete,update。但是我从来没有研究过它们的工作原理,这篇我想说一说select在数据库中的工作原理。B/S架构中最经典的话题无非于三层架构,可以大概分为数据层,业务逻辑层和表示层,而数据层的作用一般都是和数据库交互...
2012-05-31 15:47:01 110
原创 mysql 表名字段与关键字重名解决方法
如 create tableCREATE TABLE `table1` ( `ID` int(8) unsigned NOT NULL AUTO_INCREMENT, `KEY` char(10) DEFAULT NULL, `VALUE` char(10) DEFAULT NULL, PRIMARY KEY (`ID`)) ENGINE=InnoDB AUTO...
2012-05-22 10:01:51 1391
js 对象不支持此属性或方法
遇到一个很奇怪的问题在火狐和google浏览器下都不报JS错误, 唯独在ie8上报“对象不支持此属性或方法”,郁闷了半天 百度了好多次也没有查到解决的方法。 原来是定义变量时有问题 1、 出错的代码: function bye(){ b=$("#id").val().split("@"); b.pop(); ...
2012-04-20 10:14:32 1279
原创 Java中equals和==的区别
java中的数据类型,可分为两类: 1.基本数据类型,也称原始数据类型。byte,short,char,int,long,float,double,boolean 他们之间的比较,应用双等号(==),比较的是他们的值。 2.复合数据类型(类) 当他们用(==)进行比较的时候,比较的是他们在内存中的存放地址,所以,除非是同一个new出来的对象,他们的比较后的结果为true,否...
2012-04-16 11:34:11 68
原创 There is no Action mapped for action name TestAction
There is no Action mapped for action name test. - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) at org.apache.struts2.impl.StrutsActionProxy...
2012-03-30 18:08:30 248
原创 struts2 重定向带参数
1,首先在action代码public class TestAction{ private String name; private String age; public String getName() { return name; } public void setName...
2012-03-30 15:22:54 639
原创 js与ajax页面动态添加表格,避免重复
js与ajax动态添加表格,并避免重复添加 New Document function test(){ var html='AAABBBCCC' $.ajax({ type: 'POST', url: '$path/test!show.do', dataType:'JSON', success:function...
2012-03-28 16:30:07 552
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人