`
tongjun_zhou
  • 浏览: 28076 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论
文章列表
Quick setup — if you've done this kind of thing before via HTTP Create a new repository from the command line touch README.md git init git add README.md git commit -m "first commit" git remote add origin http://localhost:8080/git/root/aaa.git git push -u origin master Push an existing ...
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; drop table act_hi_taskinst; drop table act_hi_varinst; drop table act_id_info; drop table act_id_membership ...

idea 巨坑

    博客分类:
  • i
intellij idea  省电模式 会造成关键字不高亮,错误代码不提示等等。 解决: 点击idea 的file 再次点击power save mode 禁用
1、关键字:     whereis  例如:whereis hive 则是找出hive 环境变量配置在哪。 2、$PATH  在shell 变量中,不能出现$PATH 定义,不然会将系统环境变量PATH 覆盖,导致其他命令找不到。 3、赋权 chmod +x   xx.sh 4、shell 读取文件行数    $file_path =text.txt function read(){   while read LINE    do      echo $LINE   done <$file_path }
mysql之group_concat函数详解 group_concat( [DISTINCT]  要连接的字段   [Order BY 排序字段 ASC/DESC]   [Separator '分隔符'] ) 下面举例说明: select * from goods;  +------+------+ | id| price| +------+------+ |1 | 10| |1 | 20| |1 | 20| |2 | 20| |3 | 200 | |3 | 500 | +------+------+ 6 rows in set (0.00 sec) 以id分组,把price字段的值 ...
  [ 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 HIVE-2935: -------------------------------------- Using CDH 4.1.2, which includes this patch. I thi ...
命令 导出: 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-null-string '\\N'  --input-null-non-string '\\N' --input-lines-terminated-by '\n' -m 1 导入 mysql --》hdfs; ...
@Component @PropertySource("classpath:hive.properties")//与之前版本差异。 @ConfigurationProperties(prefix = "hive") public class HiveConfig {     public String host;     public String url;     public String getHost() {         return host;     }     public void setHost(String host) { ...
...
1、拷贝前端文件,去除node_modules。并打包root.zip 2、上传liunx 解压,定位到解压文件根目录。如root/ 3、安装,cnpm -install .完成。 4、配置nginx.conf .   location / {             root   html;//可以是绝对路径             index  index.html index.htm;             try_files $uri /index.html;         } 5、启动  nginx -c nginx.conf

react

1、语法 onClick={this.handleOk} 与onClick={this.handleOk()} 后面加括号表示直接调用。 错误提示: Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern but ca ...

struts2

    博客分类:
  • JAVA
Unable to load configuration. - bean - jar:file:/D:/javaProgramFiles/tomcat-6.0.20/webapps/zoyeo Exception starting filter struts2 Unable to load configuration. - bean - jar:file:/D:/javaProgramFiles/tomcat-6.0.20/webapps/zoyeoa/WEB-INF/lib/struts2-core-2.1.2.jar!/struts-default.xml:46:178 at com.ope ...
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean name 'test' is already used in this file. ----把spring 中的nama 去掉就行了 报错: Caused by: javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces. ...

html两次请求

IE浏览器 img标签 src值为空时,2次请求       
function iteratorTable(tablename){      var   total=0;      for(var i=1;i<tablename.rows.length;i++)      {            //取出第三列值的和 total+=parseFloat(tablename.rows[i].cells[2].innerText)       }       alert(total);       }    function test(){      iteratorTable(document.getElementById("table ...
Global site tag (gtag.js) - Google Analytics