-
Notifications
You must be signed in to change notification settings - Fork 84
/
config.inc.php
61 lines (47 loc) · 1.78 KB
/
config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
$configure = array();
/*
The path in system that where phpHiveAdmin put, please do not change it.
phpHiveAdmin所在文件系统路径,自动获取,请不要修改。
*/
$configure['root_path'] = __DIR__;
/*
Setting up hiveserver thrift host and port,
and metastore thrift host and port, if needed.
Please see `hive --service -help` for more help
设置hiveserver的thrift主机IP和端口
如果需要的话,设置metastore访问的主机和端口
请查看 `hive --service -help`获取thrift帮助和metastore帮助
*/
$configure['hive_thrift_host'] = '127.0.0.1';
$configure['hive_thrift_port'] = '10000';
/*
Setting up languages you need in phpHiveAdmin user interface,
now support chinese or english
设置phpHiveAdmin用户界面所使用的语言
目前支持中文(chinese)和英文(english)
*/
$configure['language'] = 'chinese';
/*
Setting up the system environment that used by phpHiveAdmin
设置phpHiveAdmin所使用的系统环境变量
*/
$configure['hadoop_home'] = '/opt/modules/hadoop/hadoop-1.0.3';
$configure['java_home'] = '/usr/java/default';
$configure['hive_home'] = '/opt/modules/hive/hive-0.9.0';
$configure['lang_set'] = 'zh_CN.UTF-8' ;
//Or en_US.UTF-8, if you are in english countries.
//如果你处在英语国家,请使用en_US.UTF-8
$configure['output_seperator'] = "\t";
// The result data columns seperating character.
// 用来分隔结果集数据列的分隔符.
/*
Setting up phpHiveAdmin output path,
please use linux commandline console to chmod these path below to 777
设置phpHiveAdmin的输出路径
请使用Linux命令行终端来将下列路径chmod为777
*/
$configure['etl_path'] = $configure['root_path'] . '/etl/';
$configure['result_path'] = $configure['root_path'] . '/results/';
$configure['log_path'] = $configure['root_path'] . '/logs/';
?>