1在src下面新建file名为log4j.properties内容如下:# Configure logging for testing: optionally with log filelog4j.rootLogger=WARN, stdout# log4j.rootLogger=WARN, std...
分类:
移动开发 时间:
2014-06-27 17:31:34
阅读次数:
217
问题描述:1 当hbase自己运行时,没有问题,可以正常启动2 当搭建完hadoop环境后,再启动报异常:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/util/HBaseConf...
分类:
其他好文 时间:
2014-06-27 14:59:21
阅读次数:
268
Undefined symbols for architecturei386:“_OBJC_CLASS_$_XXX”,referenced from:objc-class-ref in XXXld: symbol(s) not found for architecture i386clang: er...
分类:
移动开发 时间:
2014-06-26 17:28:20
阅读次数:
1816
11. View the Exhibit and examine the structure of the PRODUCTS table.All products have a list price.You issue the following command to display the tot...
分类:
其他好文 时间:
2014-06-26 15:01:01
阅读次数:
326
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
You are given a target value to search. If found in the array retur...
分类:
其他好文 时间:
2014-06-26 13:58:53
阅读次数:
203
I used to see my senior developers use WITH (NOLOCK) when querying in SQL Server and wonder why they use. Now i explored it and found thatit's useful ...
分类:
数据库 时间:
2014-06-26 12:51:12
阅读次数:
265
MAC COCOA call command 调用终端控制台程序
STEP 1
先写一个C++ DOS程序
STEP2
使用NSTask来执行,然后用NSPipe和
NSData来接受执行的结果字符串。
先写一个函数:
/*******************************
Function : NSTask Class + Terminal(=Windows Co...
分类:
其他好文 时间:
2014-06-26 10:17:56
阅读次数:
212
??
oracle 10g/11g 命令对比,日志目录对比
oracle 11g 中不再建议使用的命令
Deprecated Command
Replacement Commands
crs_stat
crsctl check cluster -all...
分类:
数据库 时间:
2014-06-26 07:42:07
阅读次数:
530
说来惭愧,MySQL一直处于只会用,不怎么理解的阶段。甚至是一些较为深层次的管理,都不怎么熟悉,得加强啊!近日,系统测试,使用MySQL数据库,需要在某个表上创建触发器,数据库是在本机安装。但是,无论如何都无法创建触发器,后台错误信息如下:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: TRIGGER command denie...
分类:
数据库 时间:
2014-06-26 07:11:40
阅读次数:
234
Solr4.6的管理界面上,如果不配置数据导入的功能,将看不到清除数据的按钮。我表示很遗憾,正好我们线上没有配置数据导入的功能。
网上搜到的各种清理solr数据的HTTP请求,拿到我的solr4.6上测试,报service not found。看了这些请求都是在solr4之前的版本上运行的。找到了个Solr4.2的Http请求,改了改参数,才可以用。
http://solr1....
分类:
其他好文 时间:
2014-06-26 06:45:10
阅读次数:
198