Quantcast
Channel: CodeSection,代码区,数据库(综合) - CodeSec
Viewing all articles
Browse latest Browse all 6262

setup gpdb with gphdfs and kerberos in Cloudera VM

$
0
0
Setup gphdfs environment If you need a stand alone hdfs distribution, find the fastest mirror here . If you need a running hdfs service. Please refer to (hdfs)[../1.html] If you need to setup gphdfs with stand alone hdfs service, please refer to (Peifeng and Haozhou’s blog)[http://gpdb.rocks/tools/2016/10/24/gphdfs-format.html]

In following section we record tips on how to setup gphdfs on Cloudera VM.

echo "export JAVA_HOME=/usr/java/jdk1.7.0.xxx" >> ~/.bashrc echo "export HADOOP_HOME=/usr/lib/hadoop/client" >> ~/.bashrc source ~/.bashrc gpstop -arf psql postgres

in gpdb

set gp_hadoop_home '/usr/lib/hadoop/client'; set gp_hadoop_target_version 'gphd-2.0'; create external table r (src text) location ('gphdfs://quickstart.cloudera:8082/gpdb/') format 'text'; select * from r; Setup kerberos environment

TBD


Viewing all articles
Browse latest Browse all 6262

Trending Articles