#im

time zone list

GMTUTCWETWETCETCETMETCETECTCETEETEETMITPacific/ApiaHSTPacific/HonoluluASTAmerica/AnchoragePSTAmerica/Los_AngelesMSTAmerica/DenverPNTAmerica/PhoenixCSTAmerica/Ch...
代码星球 代码星球·2020-04-05

sqoop import mysql to hive table:GC overhead limit exceeded

1.ScenariodescriptionwhenIusesqooptoimportmysqltableintohive,Igotthefollowingerror:19/07/1215:41:35WARNhcat.SqoopHCatUtilities:TheSqoopjobcanfailiftypesarenotas...

avro-1.8.1 serialize BigDecimal and Short error fix.

1.createmysqltablelikeCREATETABLE`test`(`a`tinyint(4)NOTNULLDEFAULT'0',`b`decimal(12,0)DEFAULTNULL,`c`decimal(5,0)DEFAULTNULL)ENGINE=InnoDBDEFAULTCHARSET=utf8CO...

The usage of docker image wurstmeister/kafka

 Thedockerimage wurstmeister/kafkaisthemoststaredimageforkafkainhub.docker.com,buttheuseageisrare,so inthispost,Iwouldtakesometimetotalkabouttheu...
代码星球 代码星球·2020-04-05

robotframework(rf)中对时间操作的datetime库常用关键字

1、对固定日期进行操作,增加或减去单位时间或者时间段2、对两个时间段进行操作3、对时间格式转化,获取时间戳。4、从完整时间中取指定年月日等5、对时间类型进行格式化6、获取当前时间或者指定时区时间并处理7、计算两个时间点之间的差,对现有时间做减法8、计算两个时间段差  (转自:https://blog...

Python Error: “ImportError: No module named six”,用自动安装解决依赖问题

在初次运行带有matplotlib包的程序时,被告知了缺少模块(如标题所示)。搜索调查后发现在自己安装的python中确实缺少此安装包,接下来,进行了下载、安装、运行,又少了一个模块,再下载、再运行,......  如果只有一两个依赖模块还好说,但若是达到一个数量级,相信谁也受不了。再加上python的模块库中大部分模...

上传时excel类型accept的MIMI类型

1.excel文件类型accept='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel'2.zip文件类型accept='.zip'通过文件的type属性比较file.type==='ap...

SpringMVC 拦截器(interceptors)对样式(css),JavaScript(js),图片(images)链接的拦截

因为在web.xml配置了<servlet-mapping><servlet-name>appServlet</servlet-name><url-pattern>/</url-pattern></servlet-mapping>导致对所有连接都会...

LeetCode 70. Climbing Stairs

题意:走楼梯,你一共要走n个阶梯才能到达楼顶。你每次只能走一个阶梯或者两个阶梯,请问你有多少种走法。 思路:动态规划,d[n]代表走n个阶梯的总共走法:走到第n个阶梯有两种可能,那就是从第n-1个阶梯走一个阶梯就到了,或者从第n-2个阶梯走两个阶梯就到了。   所以d[n]=d[n-1]+d[n-2...
代码星球 代码星球·2020-04-05

Android Studio:Unable to add window android.view.ViewRootImpl$W@5e2d85a -- permission denied for this window 第一行代码

学习《第一行代码》的时候,出现的错误。 java.lang.RuntimeException:Unabletostartreceivercom.example.sevenun.littledemo.receiver.ForceOfflineReceiver:android.view.WindowManager...

Imply.io单机安装

wgethttps://static.imply.io/release/imply-2.5.15.tar.gztarzxvfimply-2.5.15.tar.gz-C/usr/local/cdimply-2.5.15nohupbin/supervise-cconf/supervise/quickstart.conf&g...
代码星球 代码星球·2020-04-05

8 ways to improve ASP.NET Web API performance

ASP.NETWebAPIisagreatpieceoftechnology.WritingWebAPIissoeasythatmanydevelopersdon’ttakethetimetostructuretheirapplicationsforgreatperformance.Inthisarticl...

kudu和kudu-impala的安装流程

第一步:下载rpm包http://archive.cloudera.com/kudu/redhat/6/x86_64/kudu/5.11.0/RPMS/x86_64/第二步:安装rpm包[root@hadoop5kudu]#yum-yinstallcyrus-sasl-plainlsbntp [root@ha...

linux vim 配置 go 开发环境

安装vim-go插件vim暂时对golang还不支持语法高亮,如果用户希望使用vim开发golang程序,还需要给vim安装对应的插件 首先需要安装一个vim-pathogen vim插件管理工具mkdir-p~/.vim/autoload~/.vim/bundlecurl-LSso~/.vim/a...

ubuntu 14 安装XML::Simple 模块

最近需要用到perl来解析xml文件,从网上搜索了一下,大部分都建议使用XML::Simple模块来解析,这里记录一下安装过程 方法一:直接使用CPAN来安装模块$perl-MCPAN-eshellcpan>installXML::Simplecpan>quit 方法二:执行ubuntu...
首页上一页...192193194195196...下一页尾页