spark jdbc分支源码下载地址 https://github.com/apache/spark/tree/branch-1.0-jdbc编译spark jdbc ./make-distribution.sh --hadoop 2.3.0-cdh5.0.0 --with-yarn --wit.....
分类:
数据库 时间:
2014-07-16 21:04:35
阅读次数:
306
出处:http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed4fece7631046893b4c4380146d96864968d4e414c42246091d21a8e07b770703a79b273b46e5540faab66d2369543de1c...
分类:
系统相关 时间:
2014-07-13 12:14:06
阅读次数:
234
举一个容易犯错的例子class Date{private: int month; int day; int year;public:Date(int month,int day,int year){ this->month = month; ... }}//wrong exampleDa...
分类:
编程语言 时间:
2014-07-12 00:13:54
阅读次数:
235
在Make.config 文件里将DEBUG=1的注释去掉,再make。可以用IDE如eclipse来import makefile工程。必要时按照IDE的提示将源文件cpp和对应的bin文件对应。
分类:
其他好文 时间:
2014-07-11 23:01:32
阅读次数:
1192
Now the security has a trend to become more and more important in our daily work, hence I did some researches on some of the topics, and hope to do mo...
分类:
其他好文 时间:
2014-07-11 19:20:52
阅读次数:
283
使用的是一款Broadcom的芯片,现在上面运行wifidog实现认证上网的功能。由于不是openwrt平台,所以就没了make menuconfig 勾选就能自动编译到版本中的。所以想使用交叉编译的方法将wifidog移植到该平台上。下面写下步骤吧,不是很复杂,但是开始也破费周折。下载源码到htt...
分类:
其他好文 时间:
2014-07-11 18:33:36
阅读次数:
177
最近编译 Linux Kernel 被 header 所在的文件骗了,使用命令如下
cd /usr/src/linux-headers-3.11.0-24-generic/
make menuconfig
make
make menuconfig都还是正常
make的时候就缺很多文件,headers 文件夹下面缺很多 src文件
后来经过同事指点,使用了下面的步骤,成功了
sud...
分类:
系统相关 时间:
2014-07-11 08:08:50
阅读次数:
448
在运行项目的时候,eclipse弹出提示框“Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.”
在终端输入:netstat -ano ...
分类:
其他好文 时间:
2014-07-10 23:03:07
阅读次数:
432
Coin Change
Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given amount of money.
For example, if ...
分类:
其他好文 时间:
2014-07-10 21:12:39
阅读次数:
158
由于实验室rpm包都被过滤掉,导致centos里面的yum无法下载安装软件。使用make编译各种软件源码发现没有gcc,g++。只好采用离线方式进行安装。话说yum无法下载rpm包,在下面的地址居然可以下载rpm压缩包。我这菜鸟没弄明白为什么。在网上搜索资料安装成功,gcc和g++的rpm包下载地..
分类:
其他好文 时间:
2014-07-10 19:22:52
阅读次数:
177