-
Notifications
You must be signed in to change notification settings - Fork 71
/
hue-overrides.ini
403 lines (297 loc) · 11.5 KB
/
hue-overrides.ini
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# Lightweight Hue configuration file
# ==================================
[desktop]
# Set this to a random string, the longer the better.
secret_key=kasdlfjknasdfl3hbaksk3bwkasdfkasdfba23asdf
# Webserver listens on this address and port
http_host=0.0.0.0
http_port=8888
# Time zone name
time_zone=America/Los_Angeles
# Enable or disable debug mode.
django_debug_mode=false
# Enable or disable backtrace for server error
http_500_debug_mode=false
app_blacklist=search,hbase,security
# Configuration options for specifying the Desktop Database. For more info,
# see http://docs.djangoproject.com/en/1.11/ref/settings/#database-engine
# ------------------------------------------------------------------------
[[database]]
# Database engine is typically one of:
# postgresql_psycopg2, mysql, sqlite3 or oracle.
#
# Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name
# Note for Oracle, options={"threaded":true} must be set in order to avoid crashes.
# Note for Oracle, you can use the Oracle Service Name by setting "host=" and "port=" and then "name=<host>:<port>/<service_name>".
# Note for MariaDB use the 'mysql' engine.
engine=postgresql_psycopg2
host=huedb
port=5432
user=hue
password=hue
name=hue
# engine=mysql
# host=database
# port=3306
# user=root
# password=secret
# name=hue
###########################################################################
# Settings to configure the snippets available in the Notebook
###########################################################################
# [notebook]
# One entry for each type of snippet.
# [[interpreters]]
# Define the name and how to connect and execute the language.
# https://docs.gethue.com/administrator/configuration/editor/
# Example for Docker compose
# [[[mysql]]]
# name = MySQL
# interface=sqlalchemy
# ## https://docs.sqlalchemy.org/en/latest/dialects/mysql.html
# options='{"url": "mysql://root:secret@database:3306/hue"}'
# ## options='{"url": "mysql://${USER}:${PASSWORD}@localhost:3306/hue"}'
# [[[hive]]]
# name=Hive
# interface=hiveserver2
# [[[impala]]]
# name=Impala
# interface=hiveserver2
# [[[sql]]]
# name=SparkSql
# interface=livy
# [[[spark]]]
# name=Scala
# interface=livy
# [[[pyspark]]]
# name=PySpark
# interface=livy
# [[[r]]]
# name=R
# interface=livy
# [[jar]]]
# name=Spark Submit Jar
# interface=livy-batch
# [[[py]]]
# name=Spark Submit Python
# interface=livy-batch
# [[[text]]]
# name=Text
# interface=text
# [[[markdown]]]
# name=Markdown
# interface=text
# [[[sqlite]]]
# name = SQLite
# interface=rdbms
# [[[postgresql]]]
# name = PostgreSQL
# interface=rdbms
# [[[oracle]]]
# name = Oracle
# interface=rdbms
# [[[solr]]]
# name = Solr SQL
# interface=solr
# ## Name of the collection handler
# # options='{"collection": "default"}'
# [[[pig]]]
# name=Pig
# interface=oozie
# [[[java]]]
# name=Java
# interface=oozie
# [[[spark2]]]
# name=Spark
# interface=oozie
# [[[mapreduce]]]
# name=MapReduce
# interface=oozie
# [[[sqoop1]]]
# name=Sqoop1
# interface=oozie
# [[[distcp]]]
# name=Distcp
# interface=oozie
# [[[shell]]]
# name=Shell
# interface=oozie
# [[[presto]]]
# name=Presto SQL
# interface=presto
# ## Specific options for connecting to the Presto server.
# ## The JDBC driver presto-jdbc.jar need to be in the CLASSPATH environment variable.
# ## If 'user' and 'password' are omitted, they will be prompted in the UI.
# options='{"url": "jdbc:presto://localhost:8080/catalog/schema", "driver": "io.prestosql.jdbc.PrestoDriver", "user": "root", "password": "root"}'
# [[[clickhouse]]]
# name=ClickHouse
# interface=jdbc
# ## Specific options for connecting to the ClickHouse server.
# ## The JDBC driver clickhouse-jdbc.jar and its related jars need to be in the CLASSPATH environment variable.
# options='{"url": "jdbc:clickhouse://localhost:8123", "driver": "ru.yandex.clickhouse.ClickHouseDriver", "user": "readonly", "password": ""}'
[dashboard]
# Activate the SQL Dashboard (beta).
has_sql_enabled=true
[hadoop]
# Configuration for HDFS NameNode
# ------------------------------------------------------------------------
[[hdfs_clusters]]
# HA support by using HttpFs
[[[default]]]
# Enter the filesystem uri
#fs_defaultfs=hdfs://localhost:8020
# Use WebHdfs/HttpFs as the communication mechanism.
# Domain should be the NameNode or HttpFs host.
# Default port is 14000 for HttpFs.
webhdfs_url=http://namenode:50070/webhdfs/v1
# Configuration for YARN (MR2)
# ------------------------------------------------------------------------
[[yarn_clusters]]
[[[default]]]
# Enter the host on which you are running the ResourceManager
resourcemanager_host=http://resourcemanager
# The port where the ResourceManager IPC listens on
resourcemanager_port=8032
# URL of the ResourceManager API
resourcemanager_api_url=http://resourcemanager:8088
# URL of the ProxyServer API
proxy_api_url=http://resourcemanager:8088
# URL of the HistoryServer API
history_server_api_url=http://historyserver:8188
# URL of the Spark History Server
## spark_history_server_url=http://localhost:18088
###########################################################################
# Settings to configure Beeswax with Hive
###########################################################################
[beeswax]
# Host where HiveServer2 is running.
# If Kerberos security is enabled, use fully-qualified domain name (FQDN).
hive_server_host=hive-server #jdbc:hive2://hive-server
# Port where HiveServer2 Thrift server runs on.
hive_server_port=10000
thrift_version=7
###########################################################################
# Settings to configure Impala
###########################################################################
[impala]
# Host of the Impala Server (one of the Impalad)
## server_host=localhost
# Port of the Impala Server
## server_port=21050
###########################################################################
# Settings to configure the Spark application.
###########################################################################
[spark]
# The Livy Server URL.
## livy_server_url=http://localhost:8998
# Configure Livy to start in local 'process' mode, or 'yarn' workers.
## livy_server_session_kind=yarn
# Whether Livy requires client to perform Kerberos authentication.
## security_enabled=false
# Host of the Sql Server
## sql_server_host=localhost
# Port of the Sql Server
## sql_server_port=10000
# Choose whether Hue should validate certificates received from the server.
## ssl_cert_ca_verify=true
###########################################################################
# Settings to configure HBase Browser
###########################################################################
[hbase]
# Comma-separated list of HBase Thrift servers for clusters in the format of '(name|host:port)'.
## hbase_clusters=(Cluster|localhost:9090)
###########################################################################
# Settings to configure Solr Search
###########################################################################
[search]
# URL of the Solr Server
## solr_url=http://localhost:8983/solr/
###########################################################################
# Settings to configure liboozie
###########################################################################
[liboozie]
# The URL where the Oozie service runs on. This is required in order for
# users to submit jobs. Empty value disables the config check.
## oozie_url=http://localhost:11000/oozie
###########################################################################
# Settings for the AWS lib
###########################################################################
[aws]
[[aws_accounts]]
# Default AWS account
## [[[default]]]
# AWS credentials
## access_key_id=
## secret_access_key=
## security_token=
# Execute this script to produce the AWS access key ID.
## access_key_id_script=/path/access_key_id.sh
# Execute this script to produce the AWS secret access key.
## secret_access_key_script=/path/secret_access_key.sh
# Allow to use either environment variables or
# EC2 InstanceProfile to retrieve AWS credentials.
## allow_environment_credentials=yes
# AWS region to use, if no region is specified, will attempt to connect to standard s3.amazonaws.com endpoint
## region=us-east-1
# Endpoint overrides
## host=
# Proxy address and port
## proxy_address=
## proxy_port=8080
## proxy_user=
## proxy_pass=
# Secure connections are the default, but this can be explicitly overridden:
## is_secure=true
###########################################################################
# Settings for the Azure lib
###########################################################################
[azure]
[[azure_accounts]]
# Default Azure account
[[[default]]]
# Azure credentials
## client_id=
# Execute this script to produce the ADLS client id.
## client_id_script=/path/client_id.sh
## client_secret=
# Execute this script to produce the ADLS client secret.
## client_secret_script=/path/client_secret.sh
## tenant_id=
# Execute this script to produce the ADLS tenant id.
## tenant_id_script=/path/tenant_id.sh
[[adls_clusters]]
# Default ADLS cluster
[[[default]]]
## fs_defaultfs=adl://<account_name>.azuredatalakestore.net
## webhdfs_url=https://<account_name>.azuredatalakestore.net/webhdfs/v1
###########################################################################
# Settings to configure the ZooKeeper Lib
###########################################################################
[libzookeeper]
# ZooKeeper ensemble. Comma separated list of Host/Port.
# e.g. localhost:2181,localhost:2182,localhost:2183
## ensemble=localhost:2181
###########################################################################
# Settings to configure Kafka
###########################################################################
[kafka]
[[kafka]]
# Enable the Kafka integration.
## is_enabled=false
# Base URL of Kafka REST API.
## api_url=http://localhost:8082
###########################################################################
# Settings to configure Metadata
###########################################################################
[metadata]
[[navigator]]
# Navigator API URL (without version suffix).
## api_url=http://localhost:7187/api
# Which authentication to use: CM or external via LDAP or SAML.
## navmetadataserver_auth_type=CMDB
# Username of the CM user used for authentication.
## navmetadataserver_cmdb_user=hue
# CM password of the user used for authentication.
## navmetadataserver_cmdb_password=
# Execute this script to produce the CM password. This will be used when the plain password is not set.
# navmetadataserver_cmdb_password_script=