hive使用postgresql启动问题No suitable driver found

环境:CentOS 6.4, hadoop 2.6, hive 1.1,postgresql 9.4

 

在启动hive的时候出现No suitable driver found for jdbc:postgres://xxx.xxx.xxx.xxx:5432/hive

依据提示是说postgresql jdbc包找不到,反复确认包是存在lib文件夹内。

最终发现hive-site.xml中的

<value>jdbc:postgres://xxx.xxx.xxx.xxx:5432/hive</value> 的问题。修改为

value>jdbc:postgresql://xxx.xxx.xxx.xx:5432/hive</value>即可

Micrsoft开源的lightLDA

环境:Ubuntu 14.04

git clone https://github.com/Microsoft/lightlda.git
cd lightlda/

vi build.sh
修改如下:
#git clone https://github.com:Microsoft/multiverso.git
git clone https://github.com/Microsoft/multiverso.git

sh build.sh

cd example

export LD_LIBRARY_PATH=~/lightlda/multiverso/third_party/lib:$LD_LIBRARY_PATH
sh nytimes.sh

How to use WiringPi2 for Python on the Raspberry Pi in Raspbian part 1

http://raspi.tv/2013/how-to-use-wiringpi2-for-python-on-the-raspberry-pi-in-raspbian

 

http://wiringpi.com/wp-content/uploads/2013/03/pins.pdf

 

http://www.element14.com/community/docs/DOC-73950/l/raspberry-pi-2-model-b-gpio-40-pin-block-pinout

 

https://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf

 

http://www.cnblogs.com/sn-dnv-aps/p/4390899.html