摘要:
hive.exec.mode.local.auto 决定 Hive 是否应该自动地根据输入文件大小,在本地运行(在GateWay运行) true hive.exec.mode.local.auto.inputbytes.max 如果 hive.exec.mode.local.auto 为 true,当输入文件大小小于此阈值时可以自动在本地模式运行,默认是 128兆。 134217728L hive.exec.mode.local.auto.tasks.max 如果 hive.exec.mode.local.a... 阅读全文
阅读排行榜
ubuntu 批量替换
2013-04-10 00:01 by java20130722, 339 阅读, 收藏,
摘要:
ubuntu 批量替换在~/test/test 文件里面有把这个文件里面的 替换成daniel命令1:perl -pi -e 's||daniel|g' `find ./ -type f` -pi -e 参数 's||daniel|g' 将 替换成 daniel `find ./ -type f` 此命令是显示当前目录下所有的文件命令2:sed -i "s//daniel/g" `grep -rl ./` -i 参数 "s//daniel/g" 将 替换成 daniel `grep -rl ./` grep---UNIX工 阅读全文
[Android]应用语言切换的三种方法
2011-12-01 10:26 by java20130722, 339 阅读, 收藏,
摘要:
Android对国际化与多语言切换已经做得不错了,一个应用只要命名相应语系的values-[language]文件夹,通过“设置”→“语言&键盘”→“选择语言”即可实现应用多种语言的切换。 但如何在应用里自己实现?搜索过发现网上有如下的做法:view plainResourcesres=getResources();Configurationconfig=res.getConfiguration();config.locale=locale;DisplayMetricsdm=res.getDisplayMetrics();res.updateConfiguration(config,d 阅读全文
maven setting 文件
2013-05-15 23:24 by java20130722, 338 阅读, 收藏,
摘要:
usr/local/maven true false false org.codehaus.mojo myproxy true http proxy.somewhere.com 8080 proxyuser somepassword *.google.com|ibiblio.org server001 my_login my_password ${usr.home}/.ssh/id_dsa some_passphrase 664 775 planetmirror.com PlanetMirror Aust... 阅读全文
编译android源码四(常见错误)
2013-04-11 13:13 by java20130722, 338 阅读, 收藏,
摘要:
运行如下命令:$ emulator1.错误信息: emulator: WARNING: system partition size adjusted to match image file(205 MB > 200 MB)解决方法:emulator -partition-size 3002. 错误信息: SDL init failure, reason is: No available video device2.1 安装libsdl1.2debian:i386.I added the sitehttp://archive.canonical.com/to the list of rep 阅读全文
浙公网安备 33010602011771号