Guest User

Untitled

a guest
Nov 8th, 2017
851
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.18 KB | None | 0 0
  1. # Hue configuration file
  2. # ===================================
  3. #
  4. # For complete documentation about the contents of this file, run
  5. # $ <hue_root>/build/env/bin/hue config_help
  6. #
  7. # All .ini files under the current directory are treated equally. Their
  8. # contents are merged to form the Hue configuration, which can
  9. # can be viewed on the Hue at
  10. # http://<hue_host>:<port>/dump_config
  11.  
  12.  
  13. ###########################################################################
  14. # General configuration for core Desktop features (authentication, etc)
  15. ###########################################################################
  16.  
  17. [desktop]
  18.  
  19. # Set this to a random string, the longer the better.
  20. # This is used for secure hashing in the session store.
  21. secret_key=
  22.  
  23. # Execute this script to produce the Django secret key. This will be used when
  24. # 'secret_key' is not set.
  25. ## secret_key_script=
  26.  
  27. # Webserver listens on this address and port
  28. http_host=0.0.0.0
  29. http_port=8888
  30.  
  31. # A comma-separated list of available Hue load balancers
  32. ## hue_load_balancer=
  33.  
  34. # Time zone name
  35. time_zone=America/Los_Angeles
  36.  
  37. # Enable or disable Django debug mode.
  38. django_debug_mode=false
  39.  
  40. # Enable or disable database debug mode.
  41. ## database_logging=false
  42.  
  43. # Whether to send debug messages from JavaScript to the server logs.
  44. ## send_dbug_messages=false
  45.  
  46. # Enable or disable backtrace for server error
  47. http_500_debug_mode=false
  48.  
  49. # Enable or disable memory profiling.
  50. ## memory_profiler=false
  51.  
  52. # Server email for internal error messages
  53. ## django_server_email='[email protected]'
  54.  
  55. # Email backend
  56. ## django_email_backend=django.core.mail.backends.smtp.EmailBackend
  57.  
  58. # Webserver runs as this user
  59. ## server_user=hue
  60. ## server_group=hue
  61.  
  62. # This should be the Hue admin and proxy user
  63. ## default_user=hue
  64.  
  65. # This should be the hadoop cluster admin
  66. ## default_hdfs_superuser=hdfs
  67.  
  68. # If set to false, runcpserver will not actually start the web server.
  69. # Used if Apache is being used as a WSGI container.
  70. ## enable_server=yes
  71.  
  72. # Number of threads used by the CherryPy web server
  73. ## cherrypy_server_threads=40
  74.  
  75. # This property specifies the maximum size of the receive buffer in bytes in thrift sasl communication (default 2 MB).
  76. ## sasl_max_buffer=2 * 1024 * 1024
  77.  
  78. # Filename of SSL Certificate
  79. ## ssl_certificate=
  80.  
  81. # Filename of SSL RSA Private Key
  82. ## ssl_private_key=
  83.  
  84. # Filename of SSL Certificate Chain
  85. ## ssl_certificate_chain=
  86.  
  87. # SSL certificate password
  88. ## ssl_password=
  89.  
  90. # Execute this script to produce the SSL password. This will be used when 'ssl_password' is not set.
  91. ## ssl_password_script=
  92.  
  93. # X-Content-Type-Options: nosniff This is a HTTP response header feature that helps prevent attacks based on MIME-type confusion.
  94. ## secure_content_type_nosniff=true
  95.  
  96. # X-Xss-Protection: \"1; mode=block\" This is a HTTP response header feature to force XSS protection.
  97. ## secure_browser_xss_filter=true
  98.  
  99. # X-Content-Type-Options: nosniff This is a HTTP response header feature that helps prevent attacks based on MIME-type confusion.
  100. ## secure_content_security_policy="script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google-analytics.com *.doubleclick.net data:;img-src 'self' *.google-analytics.com *.doubleclick.net http://*.tile.osm.org *.tile.osm.org *.gstatic.com data:;style-src 'self' 'unsafe-inline' fonts.googleapis.com;connect-src 'self';child-src 'self' data: *.vimeo.com;object-src 'none'"
  101.  
  102. # Strict-Transport-Security HTTP Strict Transport Security(HSTS) is a policy which is communicated by the server to the user agent via HTTP response header field name “Strict-Transport-Security”. HSTS policy specifies a period of time during which the user agent(browser) should only access the server in a secure fashion(https).
  103. ## secure_ssl_redirect=False
  104. ## secure_redirect_host=0.0.0.0
  105. ## secure_redirect_exempt=[]
  106. ## secure_hsts_seconds=31536000
  107. ## secure_hsts_include_subdomains=true
  108.  
  109. # List of allowed and disallowed ciphers in cipher list format.
  110. # See http://www.openssl.org/docs/apps/ciphers.html for more information on
  111. # cipher list format. This list is from
  112. # https://wiki.mozilla.org/Security/Server_Side_TLS v3.7 intermediate
  113. # recommendation, which should be compatible with Firefox 1, Chrome 1, IE 7,
  114. # Opera 5 and Safari 1.
  115. ## ssl_cipher_list=ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS:!DH:!ADH
  116.  
  117. # Path to default Certificate Authority certificates.
  118. ## ssl_cacerts=/etc/hue/cacerts.pem
  119.  
  120. # Choose whether Hue should validate certificates received from the server.
  121. ## validate=true
  122.  
  123. # Default LDAP/PAM/.. username and password of the hue user used for authentications with other services.
  124. # Inactive if password is empty.
  125. # e.g. LDAP pass-through authentication for HiveServer2 or Impala. Apps can override them individually.
  126. ## auth_username=hue
  127. ## auth_password=
  128.  
  129. # Default encoding for site data
  130. ## default_site_encoding=utf-8
  131.  
  132. # Help improve Hue with anonymous usage analytics.
  133. # Use Google Analytics to see how many times an application or specific section of an application is used, nothing more.
  134. ## collect_usage=true
  135.  
  136. # Tile layer server URL for the Leaflet map charts
  137. # Read more on http://leafletjs.com/reference.html#tilelayer
  138. # Make sure you add the tile domain to the img-src section of the 'secure_content_security_policy' configuration parameter as well.
  139. ## leaflet_tile_layer=http://{s}.tile.osm.org/{z}/{x}/{y}.png
  140.  
  141. # The copyright message for the specified Leaflet maps Tile Layer
  142. ## leaflet_tile_layer_attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
  143.  
  144. # X-Frame-Options HTTP header value. Use 'DENY' to deny framing completely
  145. ## http_x_frame_options=SAMEORIGIN
  146.  
  147. # Enable X-Forwarded-Host header if the load balancer requires it.
  148. ## use_x_forwarded_host=false
  149.  
  150. # Support for HTTPS termination at the load-balancer level with SECURE_PROXY_SSL_HEADER.
  151. ## secure_proxy_ssl_header=false
  152.  
  153. # Comma-separated list of Django middleware classes to use.
  154. # See https://docs.djangoproject.com/en/1.4/ref/middleware/ for more details on middlewares in Django.
  155. ## middleware=desktop.auth.backend.LdapSynchronizationBackend
  156.  
  157. # Comma-separated list of regular expressions, which match the redirect URL.
  158. # For example, to restrict to your local domain and FQDN, the following value can be used:
  159. # ^\/.*$,^http:\/\/www.mydomain.com\/.*$
  160. ## redirect_whitelist=^(\/[a-zA-Z0-9]+.*|\/)$
  161.  
  162. # Comma separated list of apps to not load at server startup.
  163. # e.g.: pig,zookeeper
  164. ## app_blacklist=
  165.  
  166. # Choose whether to show the new SQL editor.
  167. ## use_new_editor=true
  168.  
  169. # Choose whether to show the improved assist panel and the right context panel
  170. ## use_new_side_panels=false
  171.  
  172. # Editor autocomplete timeout (ms) when fetching columns, fields, tables etc.
  173. # To disable this type of autocompletion set the value to 0
  174. ## editor_autocomplete_timeout=10000
  175.  
  176. # Enable saved default configurations for Hive, Impala, Spark, and Oozie.
  177. ## use_default_configuration=false
  178.  
  179. # The directory where to store the auditing logs. Auditing is disable if the value is empty.
  180. # e.g. /var/log/hue/audit.log
  181. ## audit_event_log_dir=
  182.  
  183. # Size in KB/MB/GB for audit log to rollover.
  184. ## audit_log_max_file_size=100MB
  185.  
  186. # A json file containing a list of log redaction rules for cleaning sensitive data
  187. # from log files. It is defined as:
  188. #
  189. # {
  190. # "version": 1,
  191. # "rules": [
  192. # {
  193. # "description": "This is the first rule",
  194. # "trigger": "triggerstring 1",
  195. # "search": "regex 1",
  196. # "replace": "replace 1"
  197. # },
  198. # {
  199. # "description": "This is the second rule",
  200. # "trigger": "triggerstring 2",
  201. # "search": "regex 2",
  202. # "replace": "replace 2"
  203. # }
  204. # ]
  205. # }
  206. #
  207. # Redaction works by searching a string for the [TRIGGER] string. If found,
  208. # the [REGEX] is used to replace sensitive information with the
  209. # [REDACTION_MASK]. If specified with 'log_redaction_string', the
  210. # 'log_redaction_string' rules will be executed after the
  211. # 'log_redaction_file' rules.
  212. #
  213. # For example, here is a file that would redact passwords and social security numbers:
  214.  
  215. # {
  216. # "version": 1,
  217. # "rules": [
  218. # {
  219. # "description": "Redact passwords",
  220. # "trigger": "password",
  221. # "search": "password=\".*\"",
  222. # "replace": "password=\"???\""
  223. # },
  224. # {
  225. # "description": "Redact social security numbers",
  226. # "trigger": "",
  227. # "search": "\d{3}-\d{2}-\d{4}",
  228. # "replace": "XXX-XX-XXXX"
  229. # }
  230. # ]
  231. # }
  232. ## log_redaction_file=
  233.  
  234. # Comma separated list of strings representing the host/domain names that the Hue server can serve.
  235. # e.g.: localhost,domain1,*
  236. ## allowed_hosts="*"
  237.  
  238. # Administrators
  239. # ----------------
  240. [[django_admins]]
  241. ## [[[admin1]]]
  242. ## name=john
  243.  
  244. # UI customizations
  245. # -------------------
  246. [[custom]]
  247.  
  248. # Top banner HTML code
  249. # e.g. <H4>Test Lab A2 Hue Services</H4>
  250. ## banner_top_html=
  251.  
  252. # Login splash HTML code
  253. # e.g. WARNING: You are required to have authorization before you proceed
  254. ## login_splash_html=<h4>GetHue.com</h4><br/><br/>WARNING: You have accessed a computer managed by GetHue. You are required to have authorization from GetHue before you proceed.
  255.  
  256. # Cache timeout in milliseconds for the assist, autocomplete, etc.
  257. # defaults to 86400000 (1 day), set to 0 to disable caching
  258. ## cacheable_ttl=86400000
  259.  
  260. # SVG code to replace the default Hue logo in the top bar and sign in screen
  261. # e.g. <image xlink:href="/static/desktop/art/hue-logo-mini-white.png" x="0" y="0" height="40" width="160" />
  262. ## logo_svg=
  263.  
  264. # Configuration options for user authentication into the web application
  265. # ------------------------------------------------------------------------
  266. [[auth]]
  267.  
  268. # Authentication backend. Common settings are:
  269. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  270. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  271. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  272. # (Default. Relies on Django and user manager, after the first login)
  273. # - desktop.auth.backend.LdapBackend
  274. # - desktop.auth.backend.PamBackend
  275. # - desktop.auth.backend.SpnegoDjangoBackend
  276. # - desktop.auth.backend.RemoteUserDjangoBackend
  277. # - libsaml.backend.SAML2Backend
  278. # - libopenid.backend.OpenIDBackend
  279. # - liboauth.backend.OAuthBackend
  280. # (New oauth, support Twitter, Facebook, Google+ and Linkedin
  281. # Multiple Authentication backends are supported by specifying a comma-separated list in order of priority.
  282. # However, in order to enable OAuthBackend, it must be the ONLY backend configured.
  283. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  284.  
  285. # Class which defines extra accessor methods for User objects.
  286. ## user_aug=desktop.auth.backend.DefaultUserAugmentor
  287.  
  288. # The service to use when querying PAM.
  289. ## pam_service=login
  290.  
  291. # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  292. # the normalized name of the header that contains the remote user.
  293. # The HTTP header in the request is converted to a key by converting
  294. # all characters to uppercase, replacing any hyphens with underscores
  295. # and adding an HTTP_ prefix to the name. So, for example, if the header
  296. # is called Remote-User that would be configured as HTTP_REMOTE_USER
  297. #
  298. # Defaults to HTTP_REMOTE_USER
  299. ## remote_user_header=HTTP_REMOTE_USER
  300.  
  301. # Ignore the case of usernames when searching for existing users.
  302. # Supported in remoteUserDjangoBackend and SpnegoDjangoBackend
  303. ## ignore_username_case=true
  304.  
  305. # Forcibly cast usernames to lowercase, takes precedence over force_username_uppercase
  306. # Supported in remoteUserDjangoBackend and SpnegoDjangoBackend
  307. ## force_username_lowercase=true
  308.  
  309. # Forcibly cast usernames to uppercase, cannot be combined with force_username_lowercase
  310. ## force_username_uppercase=false
  311.  
  312. # Users will expire after they have not logged in for 'n' amount of seconds.
  313. # A negative number means that users will never expire.
  314. ## expires_after=-1
  315.  
  316. # Apply 'expires_after' to superusers.
  317. ## expire_superusers=true
  318.  
  319. # Users will automatically be logged out after 'n' seconds of inactivity.
  320. # A negative number means that idle sessions will not be timed out.
  321. idle_session_timeout=-1
  322.  
  323. # Force users to change password on first login with desktop.auth.backend.AllowFirstUserDjangoBackend
  324. ## change_default_password=false
  325.  
  326. # Number of login attempts allowed before a record is created for failed logins
  327. ## login_failure_limit=3
  328.  
  329. # After number of allowed login attempts are exceeded, do we lock out this IP and optionally user agent?
  330. ## login_lock_out_at_failure=false
  331.  
  332. # If set, defines period of inactivity in seconds after which failed logins will be forgotten
  333. ## login_cooloff_time=60
  334.  
  335. # If True, lock out based on an IP address AND a user agent.
  336. # This means requests from different user agents but from the same IP are treated differently.
  337. ## login_lock_out_use_user_agent=false
  338.  
  339. # If True, lock out based on IP and user
  340. ## login_lock_out_by_combination_user_and_ip=false
  341.  
  342. # If True, it will look for the IP address from the header defined at reverse_proxy_header.
  343. ## behind_reverse_proxy=false
  344.  
  345. # If behind_reverse_proxy is True, it will look for the IP address from this header. Default: HTTP_X_FORWARDED_FOR
  346. ## reverse_proxy_header=HTTP_X_FORWARDED_FOR
  347.  
  348. # Configuration options for connecting to LDAP and Active Directory
  349. # -------------------------------------------------------------------
  350. [[ldap]]
  351.  
  352. # The search base for finding users and groups
  353. ## base_dn="DC=mycompany,DC=com"
  354.  
  355. # URL of the LDAP server
  356. ## ldap_url=ldap://auth.mycompany.com
  357.  
  358. # The NT domain used for LDAP authentication
  359. ## nt_domain=mycompany.com
  360.  
  361. # A PEM-format file containing certificates for the CA's that
  362. # Hue will trust for authentication over TLS.
  363. # The certificate for the CA that signed the
  364. # LDAP server certificate must be included among these certificates.
  365. # See more here http://www.openldap.org/doc/admin24/tls.html.
  366. ## ldap_cert=
  367. ## use_start_tls=true
  368.  
  369. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  370. # supports anonymous searches
  371. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  372.  
  373. # Password of the bind user -- not necessary if the LDAP server supports
  374. # anonymous searches
  375. ## bind_password=
  376.  
  377. # Execute this script to produce the bind user password. This will be used
  378. # when 'bind_password' is not set.
  379. ## bind_password_script=
  380.  
  381. # Pattern for searching for usernames -- Use <username> for the parameter
  382. # For use when using LdapBackend for Hue authentication
  383. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  384.  
  385. # Create users in Hue when they try to login with their LDAP credentials
  386. # For use when using LdapBackend for Hue authentication
  387. ## create_users_on_login = true
  388.  
  389. # Synchronize a users groups when they login
  390. ## sync_groups_on_login=false
  391.  
  392. # Ignore the case of usernames when searching for existing users in Hue.
  393. ## ignore_username_case=true
  394.  
  395. # Force usernames to lowercase when creating new users from LDAP.
  396. # Takes precedence over force_username_uppercase
  397. ## force_username_lowercase=true
  398.  
  399. # Force usernames to uppercase, cannot be combined with force_username_lowercase
  400. ## force_username_uppercase=false
  401.  
  402. # Use search bind authentication.
  403. ## search_bind_authentication=true
  404.  
  405. # Choose which kind of subgrouping to use: nested or suboordinate (deprecated).
  406. ## subgroups=suboordinate
  407.  
  408. # Define the number of levels to search for nested members.
  409. ## nested_members_search_depth=10
  410.  
  411. # Whether or not to follow referrals
  412. ## follow_referrals=false
  413.  
  414. # Enable python-ldap debugging.
  415. ## debug=false
  416.  
  417. # Sets the debug level within the underlying LDAP C lib.
  418. ## debug_level=255
  419.  
  420. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  421. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  422. ## trace_level=0
  423.  
  424. [[[users]]]
  425.  
  426. # Base filter for searching for users
  427. ## user_filter="objectclass=*"
  428.  
  429. # The username attribute in the LDAP schema
  430. ## user_name_attr=sAMAccountName
  431.  
  432. [[[groups]]]
  433.  
  434. # Base filter for searching for groups
  435. ## group_filter="objectclass=*"
  436.  
  437. # The group name attribute in the LDAP schema
  438. ## group_name_attr=cn
  439.  
  440. # The attribute of the group object which identifies the members of the group
  441. ## group_member_attr=members
  442.  
  443. [[[ldap_servers]]]
  444.  
  445. ## [[[[mycompany]]]]
  446.  
  447. # The search base for finding users and groups
  448. ## base_dn="DC=mycompany,DC=com"
  449.  
  450. # URL of the LDAP server
  451. ## ldap_url=ldap://auth.mycompany.com
  452.  
  453. # The NT domain used for LDAP authentication
  454. ## nt_domain=mycompany.com
  455.  
  456. # A PEM-format file containing certificates for the CA's that
  457. # Hue will trust for authentication over TLS.
  458. # The certificate for the CA that signed the
  459. # LDAP server certificate must be included among these certificates.
  460. # See more here http://www.openldap.org/doc/admin24/tls.html.
  461. ## ldap_cert=
  462. ## use_start_tls=true
  463.  
  464. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  465. # supports anonymous searches
  466. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  467.  
  468. # Password of the bind user -- not necessary if the LDAP server supports
  469. # anonymous searches
  470. ## bind_password=
  471.  
  472. # Execute this script to produce the bind user password. This will be used
  473. # when 'bind_password' is not set.
  474. ## bind_password_script=
  475.  
  476. # Pattern for searching for usernames -- Use <username> for the parameter
  477. # For use when using LdapBackend for Hue authentication
  478. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  479.  
  480. ## Use search bind authentication.
  481. ## search_bind_authentication=true
  482.  
  483. # Whether or not to follow referrals
  484. ## follow_referrals=false
  485.  
  486. # Enable python-ldap debugging.
  487. ## debug=false
  488.  
  489. # Sets the debug level within the underlying LDAP C lib.
  490. ## debug_level=255
  491.  
  492. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  493. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  494. ## trace_level=0
  495.  
  496. ## [[[[[users]]]]]
  497.  
  498. # Base filter for searching for users
  499. ## user_filter="objectclass=Person"
  500.  
  501. # The username attribute in the LDAP schema
  502. ## user_name_attr=sAMAccountName
  503.  
  504. ## [[[[[groups]]]]]
  505.  
  506. # Base filter for searching for groups
  507. ## group_filter="objectclass=groupOfNames"
  508.  
  509. # The username attribute in the LDAP schema
  510. ## group_name_attr=cn
  511.  
  512. # Configuration options for specifying the Source Version Control.
  513. # ----------------------------------------------------------------
  514. [[vcs]]
  515.  
  516. ## [[[git-read-only]]]
  517. ## Base URL to Remote Server
  518. # remote_url=https://github.com/cloudera/hue/tree/master
  519.  
  520. ## Base URL to Version Control API
  521. # api_url=https://api.github.com
  522. ## [[[github]]]
  523.  
  524. ## Base URL to Remote Server
  525. # remote_url=https://github.com/cloudera/hue/tree/master
  526.  
  527. ## Base URL to Version Control API
  528. # api_url=https://api.github.com
  529.  
  530. # These will be necessary when you want to write back to the repository.
  531. ## Client ID for Authorized Application
  532. # client_id=
  533.  
  534. ## Client Secret for Authorized Application
  535. # client_secret=
  536. ## [[[svn]]
  537. ## Base URL to Remote Server
  538. # remote_url=https://github.com/cloudera/hue/tree/master
  539.  
  540. ## Base URL to Version Control API
  541. # api_url=https://api.github.com
  542.  
  543. # These will be necessary when you want to write back to the repository.
  544. ## Client ID for Authorized Application
  545. # client_id=
  546.  
  547. ## Client Secret for Authorized Application
  548. # client_secret=
  549.  
  550. # Configuration options for specifying the Desktop Database. For more info,
  551. # see http://docs.djangoproject.com/en/1.4/ref/settings/#database-engine
  552. # ------------------------------------------------------------------------
  553. [[database]]
  554. # Database engine is typically one of:
  555. # postgresql_psycopg2, mysql, sqlite3 or oracle.
  556. #
  557. # Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name
  558. # Note for Oracle, options={"threaded":true} must be set in order to avoid crashes.
  559. # Note for Oracle, you can use the Oracle Service Name by setting "host=" and "port=" and then "name=<host>:<port>/<service_name>".
  560. # Note for MariaDB use the 'mysql' engine.
  561. ## engine=sqlite3
  562. ## host=
  563. ## port=
  564. ## user=
  565. ## password=
  566. # conn_max_age option to make database connection persistent value in seconds
  567. # https://docs.djangoproject.com/en/1.9/ref/databases/#persistent-connections
  568. ## conn_max_age=0
  569. # Execute this script to produce the database password. This will be used when 'password' is not set.
  570. ## password_script=/path/script
  571. ## name=desktop/desktop.db
  572. ## options={}
  573. # Database schema, to be used only when public schema is revoked in postgres
  574. ## schema=public
  575.  
  576. # Configuration options for specifying the Desktop session.
  577. # For more info, see https://docs.djangoproject.com/en/1.4/topics/http/sessions/
  578. # ------------------------------------------------------------------------
  579. [[session]]
  580. # The cookie containing the users' session ID will expire after this amount of time in seconds.
  581. # Default is 2 weeks.
  582. ## ttl=1209600
  583.  
  584. # The cookie containing the users' session ID and csrf cookie will be secure.
  585. # Should only be enabled with HTTPS.
  586. ## secure=false
  587.  
  588. # The cookie containing the users' session ID and csrf cookie will use the HTTP only flag.
  589. ## http_only=true
  590.  
  591. # Use session-length cookies. Logs out the user when she closes the browser window.
  592. ## expire_at_browser_close=false
  593.  
  594.  
  595. # Configuration options for connecting to an external SMTP server
  596. # ------------------------------------------------------------------------
  597. [[smtp]]
  598.  
  599. # The SMTP server information for email notification delivery
  600. host=localhost
  601. port=25
  602. user=
  603. password=
  604.  
  605. # Whether to use a TLS (secure) connection when talking to the SMTP server
  606. tls=no
  607.  
  608. # Default email address to use for various automated notification from Hue
  609. ## default_from_email=hue@localhost
  610.  
  611.  
  612. # Configuration options for Kerberos integration for secured Hadoop clusters
  613. # ------------------------------------------------------------------------
  614. [[kerberos]]
  615.  
  616. # Path to Hue's Kerberos keytab file
  617. ## hue_keytab=
  618. # Kerberos principal name for Hue
  619. ## hue_principal=hue/hostname.foo.com
  620. # Path to kinit
  621. ## kinit_path=/path/to/kinit
  622.  
  623.  
  624. # Configuration options for using OAuthBackend (Core) login
  625. # ------------------------------------------------------------------------
  626. [[oauth]]
  627. # The Consumer key of the application
  628. ## consumer_key=XXXXXXXXXXXXXXXXXXXXX
  629.  
  630. # The Consumer secret of the application
  631. ## consumer_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  632.  
  633. # The Request token URL
  634. ## request_token_url=https://api.twitter.com/oauth/request_token
  635.  
  636. # The Access token URL
  637. ## access_token_url=https://api.twitter.com/oauth/access_token
  638.  
  639. # The Authorize URL
  640. ## authenticate_url=https://api.twitter.com/oauth/authorize
  641.  
  642. # Configuration options for Metrics
  643. # ------------------------------------------------------------------------
  644. [[metrics]]
  645.  
  646. # Enable the metrics URL "/desktop/metrics"
  647. ## enable_web_metrics=True
  648.  
  649. # If specified, Hue will write metrics to this file.
  650. ## location=/var/log/hue/metrics.json
  651.  
  652. # Time in milliseconds on how frequently to collect metrics
  653. ## collection_interval=30000
  654.  
  655.  
  656. ###########################################################################
  657. # Settings to configure the snippets available in the Notebook
  658. ###########################################################################
  659.  
  660. [notebook]
  661.  
  662. ## Show the notebook menu or not
  663. # show_notebooks=true
  664.  
  665. ## Flag to enable the bulk submission of queries as a background task through Oozie.
  666. # enable_batch_execute=true
  667.  
  668. ## Flag to enable the SQL query builder of the table assist.
  669. # enable_query_builder=true
  670.  
  671. ## Flag to enable the creation of a coordinator for the current SQL query.
  672. # enable_query_scheduling=false
  673.  
  674. ## Main flag to override the automatic starting of the DBProxy server.
  675. enable_dbproxy_server=true
  676.  
  677. ## Classpath to be appended to the default DBProxy server classpath.
  678. dbproxy_extra_classpath=/opt/presto/presto-jdbc42-1.0.14.1022.jar
  679.  
  680. ## Comma separated list of interpreters that should be shown on the wheel. This list takes precedence over the
  681. ## order in which the interpreter entries appear. Only the first 5 interpreters will appear on the wheel.
  682. # interpreters_shown_on_wheel=
  683.  
  684. # One entry for each type of snippet.
  685. [[interpreters]]
  686. # Define the name and how to connect and execute the language.
  687.  
  688. [[[presto]]]
  689. name=Presto
  690. interface=jdbc
  691. options='{"url": "jdbc:presto://phwxedwhddp001.datawarehouse.expecn.com:8285/hive/default", "driver": "com.teradata.presto.jdbc42.Driver", "user": "", "password": ""}'
  692.  
  693. [[[hive]]]
  694. # The name of the snippet.
  695. name=Hive
  696. # The backend connection to use to communicate with the server.
  697. interface=hiveserver2
  698.  
  699. [[[impala]]]
  700. name=Impala
  701. interface=hiveserver2
  702.  
  703. # [[[sparksql]]]
  704. # name=SparkSql
  705. # interface=hiveserver2
  706.  
  707. [[[spark]]]
  708. name=Scala
  709. interface=livy
  710.  
  711. [[[pyspark]]]
  712. name=PySpark
  713. interface=livy
  714.  
  715. [[[r]]]
  716. name=R
  717. interface=livy
  718.  
  719. [[[jar]]]
  720. name=Spark Submit Jar
  721. interface=livy-batch
  722.  
  723. [[[py]]]
  724. name=Spark Submit Python
  725. interface=livy-batch
  726.  
  727. [[[pig]]]
  728. name=Pig
  729. interface=oozie
  730.  
  731. [[[text]]]
  732. name=Text
  733. interface=text
  734.  
  735. [[[markdown]]]
  736. name=Markdown
  737. interface=text
  738.  
  739. [[[mysql]]]
  740. name = MySQL
  741. interface=rdbms
  742.  
  743. [[[sqlite]]]
  744. name = SQLite
  745. interface=rdbms
  746.  
  747. [[[postgresql]]]
  748. name = PostgreSQL
  749. interface=rdbms
  750.  
  751. [[[oracle]]]
  752. name = Oracle
  753. interface=rdbms
  754.  
  755. [[[solr]]]
  756. name = Solr SQL
  757. interface=solr
  758. ## Name of the collection handler
  759. # options='{"collection": "default"}'
  760.  
  761. [[[java]]]
  762. name=Java
  763. interface=oozie
  764.  
  765. [[[spark2]]]
  766. name=Spark
  767. interface=oozie
  768.  
  769. [[[mapreduce]]]
  770. name=MapReduce
  771. interface=oozie
  772.  
  773. [[[sqoop1]]]
  774. name=Sqoop1
  775. interface=oozie
  776.  
  777. [[[distcp]]]
  778. name=Distcp
  779. interface=oozie
  780.  
  781. [[[shell]]]
  782. name=Shell
  783. interface=oozie
  784.  
  785. # [[[mysql]]]
  786. # name=MySql JDBC
  787. # interface=jdbc
  788. # ## Specific options for connecting to the server.
  789. # ## The JDBC connectors, e.g. mysql.jar, need to be in the CLASSPATH environment variable.
  790. # ## If 'user' and 'password' are omitted, they will be prompted in the UI.
  791. # options='{"url": "jdbc:mysql://localhost:3306/hue", "driver": "com.mysql.jdbc.Driver", "user": "root", "password": "root"}'
  792.  
  793.  
  794. ###########################################################################
  795. # Settings to configure your Analytics Dashboards
  796. ###########################################################################
  797.  
  798. [dashboard]
  799.  
  800. ## Activate the Dashboard link in the menu.
  801. # is_enabled=true
  802.  
  803. ## Activate the SQL Dashboard (beta).
  804. # has_sql_enabled=false
  805.  
  806. [[engines]]
  807.  
  808. # [[[solr]]]
  809. ## Requires Solr 6+
  810. # analytics=false
  811. # nesting=false
  812.  
  813. # [[[sql]]]
  814. # analytics=true
  815. # nesting=false
  816.  
  817.  
  818. ###########################################################################
  819. # Settings to configure your Hadoop cluster.
  820. ###########################################################################
  821.  
  822. [hadoop]
  823.  
  824. # Configuration for HDFS NameNode
  825. # ------------------------------------------------------------------------
  826. [[hdfs_clusters]]
  827. # HA support by using HttpFs
  828.  
  829. [[[default]]]
  830. # Enter the filesystem uri
  831. fs_defaultfs=hdfs://localhost:8020
  832.  
  833. # NameNode logical name.
  834. ## logical_name=
  835.  
  836. # Use WebHdfs/HttpFs as the communication mechanism.
  837. # Domain should be the NameNode or HttpFs host.
  838. # Default port is 14000 for HttpFs.
  839. ## webhdfs_url=http://localhost:50070/webhdfs/v1
  840.  
  841. # Change this if your HDFS cluster is Kerberos-secured
  842. ## security_enabled=false
  843.  
  844. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  845. # have to be verified against certificate authority
  846. ## ssl_cert_ca_verify=True
  847.  
  848. # Directory of the Hadoop configuration
  849. ## hadoop_conf_dir=$HADOOP_CONF_DIR when set or '/etc/hadoop/conf'
  850.  
  851. # Configuration for YARN (MR2)
  852. # ------------------------------------------------------------------------
  853. [[yarn_clusters]]
  854.  
  855. [[[default]]]
  856. # Enter the host on which you are running the ResourceManager
  857. ## resourcemanager_host=localhost
  858.  
  859. # The port where the ResourceManager IPC listens on
  860. ## resourcemanager_port=8032
  861.  
  862. # Whether to submit jobs to this cluster
  863. submit_to=True
  864.  
  865. # Resource Manager logical name (required for HA)
  866. ## logical_name=
  867.  
  868. # Change this if your YARN cluster is Kerberos-secured
  869. ## security_enabled=false
  870.  
  871. # URL of the ResourceManager API
  872. ## resourcemanager_api_url=http://localhost:8088
  873.  
  874. # URL of the ProxyServer API
  875. ## proxy_api_url=http://localhost:8088
  876.  
  877. # URL of the HistoryServer API
  878. ## history_server_api_url=http://localhost:19888
  879.  
  880. # URL of the Spark History Server
  881. ## spark_history_server_url=http://localhost:18088
  882.  
  883. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  884. # have to be verified against certificate authority
  885. ## ssl_cert_ca_verify=True
  886.  
  887. # HA support by specifying multiple clusters.
  888. # Redefine different properties there.
  889. # e.g.
  890.  
  891. # [[[ha]]]
  892. # Resource Manager logical name (required for HA)
  893. ## logical_name=my-rm-name
  894.  
  895. # Un-comment to enable
  896. ## submit_to=True
  897.  
  898. # URL of the ResourceManager API
  899. ## resourcemanager_api_url=http://localhost:8088
  900.  
  901. # ...
  902.  
  903. # Configuration for MapReduce (MR1)
  904. # ------------------------------------------------------------------------
  905. [[mapred_clusters]]
  906.  
  907. [[[default]]]
  908. # Enter the host on which you are running the Hadoop JobTracker
  909. ## jobtracker_host=localhost
  910.  
  911. # The port where the JobTracker IPC listens on
  912. ## jobtracker_port=8021
  913.  
  914. # JobTracker logical name for HA
  915. ## logical_name=
  916.  
  917. # Thrift plug-in port for the JobTracker
  918. ## thrift_port=9290
  919.  
  920. # Whether to submit jobs to this cluster
  921. submit_to=False
  922.  
  923. # Change this if your MapReduce cluster is Kerberos-secured
  924. ## security_enabled=false
  925.  
  926. # HA support by specifying multiple clusters
  927. # e.g.
  928.  
  929. # [[[ha]]]
  930. # Enter the logical name of the JobTrackers
  931. ## logical_name=my-jt-name
  932.  
  933.  
  934. ###########################################################################
  935. # Settings to configure Beeswax with Hive
  936. ###########################################################################
  937.  
  938. [beeswax]
  939.  
  940. # Host where HiveServer2 is running.
  941. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  942. hive_server_host=phwxedwhdu007.bigdata.expecn.com
  943.  
  944. # Port where HiveServer2 Thrift server runs on.
  945. hive_server_port=10001
  946.  
  947. # Hive configuration directory, where hive-site.xml is located
  948. ## hive_conf_dir=/etc/hive/conf
  949.  
  950. # Timeout in seconds for thrift calls to Hive service
  951. ## server_conn_timeout=120
  952.  
  953. # Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
  954. # If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
  955. ## use_get_log_api=false
  956.  
  957. # Limit the number of partitions that can be listed.
  958. ## list_partitions_limit=10000
  959.  
  960. # The maximum number of partitions that will be included in the SELECT * LIMIT sample query for partitioned tables.
  961. ## query_partitions_limit=10
  962.  
  963. # A limit to the number of rows that can be downloaded from a query before it is truncated.
  964. # A value of -1 means there will be no limit.
  965. ## download_row_limit=100000
  966.  
  967. # Hue will try to close the Hive query when the user leaves the editor page.
  968. # This will free all the query resources in HiveServer2, but also make its results inaccessible.
  969. ## close_queries=false
  970.  
  971. # Hue will use at most this many HiveServer2 sessions per user at a time.
  972. ## max_number_of_sessions=1
  973.  
  974. # Thrift version to use when communicating with HiveServer2.
  975. # New column format is from version 7.
  976. ## thrift_version=7
  977.  
  978. # A comma-separated list of white-listed Hive configuration properties that users are authorized to set.
  979. ## config_whitelist=hive.map.aggr,hive.exec.compress.output,hive.exec.parallel,hive.execution.engine,mapreduce.job.queuename
  980.  
  981. # Override the default desktop username and password of the hue user used for authentications with other services.
  982. # e.g. Used for LDAP/PAM pass-through authentication.
  983. ## auth_username=hue
  984. ## auth_password=
  985.  
  986. [[ssl]]
  987. # Path to Certificate Authority certificates.
  988. ## cacerts=/etc/hue/cacerts.pem
  989.  
  990. # Choose whether Hue should validate certificates received from the server.
  991. ## validate=true
  992.  
  993.  
  994. ###########################################################################
  995. # Settings to configure Metastore
  996. ###########################################################################
  997.  
  998. [metastore]
  999. # Flag to turn on the new version of the create table wizard.
  1000. ## enable_new_create_table=true
  1001.  
  1002.  
  1003. ###########################################################################
  1004. # Settings to configure Impala
  1005. ###########################################################################
  1006.  
  1007. [impala]
  1008. # Host of the Impala Server (one of the Impalad)
  1009. ## server_host=localhost
  1010.  
  1011. # Port of the Impala Server
  1012. ## server_port=21050
  1013.  
  1014. # Kerberos principal
  1015. ## impala_principal=impala/hostname.foo.com
  1016.  
  1017. # Turn on/off impersonation mechanism when talking to Impala
  1018. ## impersonation_enabled=False
  1019.  
  1020. # Number of initial rows of a result set to ask Impala to cache in order
  1021. # to support re-fetching them for downloading them.
  1022. # Set to 0 for disabling the option and backward compatibility.
  1023. ## querycache_rows=50000
  1024.  
  1025. # Timeout in seconds for thrift calls
  1026. ## server_conn_timeout=120
  1027.  
  1028. # Hue will try to close the Impala query when the user leaves the editor page.
  1029. # This will free all the query resources in Impala, but also make its results inaccessible.
  1030. ## close_queries=true
  1031.  
  1032. # If > 0, the query will be timed out (i.e. cancelled) if Impala does not do any work
  1033. # (compute or send back results) for that query within QUERY_TIMEOUT_S seconds.
  1034. ## query_timeout_s=600
  1035.  
  1036. # If > 0, the session will be timed out (i.e. cancelled) if Impala does not do any work
  1037. # (compute or send back results) for that session within QUERY_TIMEOUT_S seconds (default 1 hour).
  1038. ## session_timeout_s=3600
  1039.  
  1040. # Override the desktop default username and password of the hue user used for authentications with other services.
  1041. # e.g. Used for LDAP/PAM pass-through authentication.
  1042. ## auth_username=hue
  1043. ## auth_password=
  1044.  
  1045. # A comma-separated list of white-listed Impala configuration properties that users are authorized to set.
  1046. # config_whitelist=debug_action,explain_level,mem_limit,optimize_partition_key_scans,query_timeout_s,request_pool
  1047.  
  1048. # Path to the impala configuration dir which has impalad_flags file
  1049. ## impala_conf_dir=${HUE_CONF_DIR}/impala-conf
  1050.  
  1051. [[ssl]]
  1052. # SSL communication enabled for this server.
  1053. ## enabled=false
  1054.  
  1055. # Path to Certificate Authority certificates.
  1056. ## cacerts=/etc/hue/cacerts.pem
  1057.  
  1058. # Choose whether Hue should validate certificates received from the server.
  1059. ## validate=true
  1060.  
  1061.  
  1062. ###########################################################################
  1063. # Settings to configure the Spark application.
  1064. ###########################################################################
  1065.  
  1066. [spark]
  1067. # Host address of the Livy Server.
  1068. ## livy_server_host=localhost
  1069.  
  1070. # Port of the Livy Server.
  1071. ## livy_server_port=8998
  1072.  
  1073. # Configure Livy to start in local 'process' mode, or 'yarn' workers.
  1074. ## livy_server_session_kind=yarn
  1075.  
  1076. # Whether Livy requires client to perform Kerberos authentication.
  1077. ## security_enabled=false
  1078.  
  1079. # Host of the Sql Server
  1080. ## sql_server_host=localhost
  1081.  
  1082. # Port of the Sql Server
  1083. ## sql_server_port=10000
  1084.  
  1085.  
  1086. ###########################################################################
  1087. # Settings to configure the Oozie app
  1088. ###########################################################################
  1089.  
  1090. [oozie]
  1091. # Location on local FS where the examples are stored.
  1092. ## local_data_dir=..../examples
  1093.  
  1094. # Location on local FS where the data for the examples is stored.
  1095. ## sample_data_dir=...thirdparty/sample_data
  1096.  
  1097. # Location on HDFS where the oozie examples and workflows are stored.
  1098. # Parameters are $TIME and $USER, e.g. /user/$USER/hue/workspaces/workflow-$TIME
  1099. ## remote_data_dir=/user/hue/oozie/workspaces
  1100.  
  1101. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  1102. ## oozie_jobs_count=50
  1103.  
  1104. # Use Cron format for defining the frequency of a Coordinator instead of the old frequency number/unit.
  1105. ## enable_cron_scheduling=true
  1106.  
  1107. ## Flag to enable the saved Editor queries to be dragged and dropped into a workflow.
  1108. # enable_document_action=false
  1109.  
  1110. ## Flag to enable Oozie backend filtering instead of doing it at the page level in Javascript. Requires Oozie 4.3+.
  1111. # enable_oozie_backend_filtering=true
  1112.  
  1113. ## Flag to enable the Impala action.
  1114. # enable_impala_action=false
  1115.  
  1116.  
  1117. ###########################################################################
  1118. # Settings to configure the Filebrowser app
  1119. ###########################################################################
  1120.  
  1121. [filebrowser]
  1122. # Location on local filesystem where the uploaded archives are temporary stored.
  1123. ## archive_upload_tempdir=/tmp
  1124.  
  1125. # Show Download Button for HDFS file browser.
  1126. ## show_download_button=false
  1127.  
  1128. # Show Upload Button for HDFS file browser.
  1129. ## show_upload_button=false
  1130.  
  1131. # Flag to enable the extraction of a uploaded archive in HDFS.
  1132. ## enable_extract_uploaded_archive=false
  1133.  
  1134.  
  1135. ###########################################################################
  1136. # Settings to configure Pig
  1137. ###########################################################################
  1138.  
  1139. [pig]
  1140. # Location of piggybank.jar on local filesystem.
  1141. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  1142.  
  1143. # Location piggybank.jar will be copied to in HDFS.
  1144. ## remote_data_dir=/user/hue/pig/examples
  1145.  
  1146.  
  1147. ###########################################################################
  1148. # Settings to configure Sqoop2
  1149. ###########################################################################
  1150.  
  1151. [sqoop]
  1152. # For autocompletion, fill out the librdbms section.
  1153.  
  1154. # Sqoop server URL
  1155. ## server_url=http://localhost:12000/sqoop
  1156.  
  1157. # Path to configuration directory
  1158. ## sqoop_conf_dir=/etc/sqoop2/conf
  1159.  
  1160.  
  1161. ###########################################################################
  1162. # Settings to configure Proxy
  1163. ###########################################################################
  1164.  
  1165. [proxy]
  1166. # Comma-separated list of regular expressions,
  1167. # which match 'host:port' of requested proxy target.
  1168. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  1169.  
  1170. # Comma-separated list of regular expressions,
  1171. # which match any prefix of 'host:port/path' of requested proxy target.
  1172. # This does not support matching GET parameters.
  1173. ## blacklist=
  1174.  
  1175.  
  1176. ###########################################################################
  1177. # Settings to configure HBase Browser
  1178. ###########################################################################
  1179.  
  1180. [hbase]
  1181. # Comma-separated list of HBase Thrift servers for clusters in the format of '(name|host:port)'.
  1182. # Use full hostname with security.
  1183. # If using Kerberos we assume GSSAPI SASL, not PLAIN.
  1184. ## hbase_clusters=(Cluster|localhost:9090)
  1185.  
  1186. # HBase configuration directory, where hbase-site.xml is located.
  1187. ## hbase_conf_dir=/etc/hbase/conf
  1188.  
  1189. # Hard limit of rows or columns per row fetched before truncating.
  1190. ## truncate_limit = 500
  1191.  
  1192. # 'buffered' is the default of the HBase Thrift Server and supports security.
  1193. # 'framed' can be used to chunk up responses,
  1194. # which is useful when used in conjunction with the nonblocking server in Thrift.
  1195. ## thrift_transport=buffered
  1196.  
  1197.  
  1198. ###########################################################################
  1199. # Settings to configure Solr Search
  1200. ###########################################################################
  1201.  
  1202. [search]
  1203.  
  1204. # URL of the Solr Server
  1205. ## solr_url=http://localhost:8983/solr/
  1206.  
  1207. # Requires FQDN in solr_url if enabled
  1208. ## security_enabled=false
  1209.  
  1210. ## Query sent when no term is entered
  1211. ## empty_query=*:*
  1212.  
  1213.  
  1214. ###########################################################################
  1215. # Settings to configure Solr API lib
  1216. ###########################################################################
  1217.  
  1218. [libsolr]
  1219.  
  1220. # Choose whether Hue should validate certificates received from the server.
  1221. ## ssl_cert_ca_verify=true
  1222.  
  1223. # Default path to Solr in ZooKeeper.
  1224. ## solr_zk_path=/solr
  1225.  
  1226.  
  1227. ###########################################################################
  1228. # Settings to configure Solr Indexer
  1229. ###########################################################################
  1230.  
  1231. [indexer]
  1232.  
  1233. # Location of the solrctl binary.
  1234. ## solrctl_path=/usr/bin/solrctl
  1235.  
  1236. # Flag to turn on the morphline based Solr indexer.
  1237. ## enable_new_indexer=false
  1238.  
  1239. # Oozie workspace template for indexing.
  1240. ## config_indexer_libs_path=/tmp/smart_indexer_lib
  1241.  
  1242. # Flag to turn on the new metadata importer.
  1243. ## enable_new_importer=false
  1244.  
  1245.  
  1246. ###########################################################################
  1247. # Settings to configure Job Designer
  1248. ###########################################################################
  1249.  
  1250. [jobsub]
  1251.  
  1252. # Location on local FS where examples and template are stored.
  1253. ## local_data_dir=..../data
  1254.  
  1255. # Location on local FS where sample data is stored
  1256. ## sample_data_dir=...thirdparty/sample_data
  1257.  
  1258.  
  1259. ###########################################################################
  1260. # Settings to configure Job Browser.
  1261. ###########################################################################
  1262.  
  1263. [jobbrowser]
  1264. # Share submitted jobs information with all users. If set to false,
  1265. # submitted jobs are visible only to the owner and administrators.
  1266. ## share_jobs=true
  1267.  
  1268. # Whether to disalbe the job kill button for all users in the jobbrowser
  1269. ## disable_killing_jobs=false
  1270.  
  1271. # Offset in bytes where a negative offset will fetch the last N bytes for the given log file (default 1MB).
  1272. ## log_offset=-1000000
  1273.  
  1274. # Show the version 2 of app which unifies all the past browsers into one.
  1275. ## enable_v2=false
  1276.  
  1277.  
  1278. ###########################################################################
  1279. # Settings to configure Sentry / Security App.
  1280. ###########################################################################
  1281.  
  1282. [security]
  1283.  
  1284. # Use Sentry API V1 for Hive.
  1285. ## hive_v1=true
  1286.  
  1287. # Use Sentry API V2 for Hive.
  1288. ## hive_v2=false
  1289.  
  1290. # Use Sentry API V2 for Solr.
  1291. ## solr_v2=true
  1292.  
  1293.  
  1294. ###########################################################################
  1295. # Settings to configure the Zookeeper application.
  1296. ###########################################################################
  1297.  
  1298. [zookeeper]
  1299.  
  1300. [[clusters]]
  1301.  
  1302. [[[default]]]
  1303. # Zookeeper ensemble. Comma separated list of Host/Port.
  1304. # e.g. localhost:2181,localhost:2182,localhost:2183
  1305. ## host_ports=localhost:2181
  1306.  
  1307. # The URL of the REST contrib service (required for znode browsing).
  1308. ## rest_url=http://localhost:9998
  1309.  
  1310. # Name of Kerberos principal when using security.
  1311. ## principal_name=zookeeper
  1312.  
  1313.  
  1314. ###########################################################################
  1315. # Settings for the User Admin application
  1316. ###########################################################################
  1317.  
  1318. [useradmin]
  1319. # Default home directory permissions
  1320. ## home_dir_permissions=0755
  1321.  
  1322. # The name of the default user group that users will be a member of
  1323. ## default_user_group=default
  1324.  
  1325. [[password_policy]]
  1326. # Set password policy to all users. The default policy requires password to be at least 8 characters long,
  1327. # and contain both uppercase and lowercase letters, numbers, and special characters.
  1328.  
  1329. ## is_enabled=false
  1330. ## pwd_regex="^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W_]){1,}).{8,}$"
  1331. ## pwd_hint="The password must be at least 8 characters long, and must contain both uppercase and lowercase letters, at least one number, and at least one special character."
  1332. ## pwd_error_message="The password must be at least 8 characters long, and must contain both uppercase and lowercase letters, at least one number, and at least one special character."
  1333.  
  1334.  
  1335. ###########################################################################
  1336. # Settings to configure liboozie
  1337. ###########################################################################
  1338.  
  1339. [liboozie]
  1340. # The URL where the Oozie service runs on. This is required in order for
  1341. # users to submit jobs. Empty value disables the config check.
  1342. ## oozie_url=http://localhost:11000/oozie
  1343.  
  1344. # Requires FQDN in oozie_url if enabled
  1345. ## security_enabled=false
  1346.  
  1347. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  1348. ## remote_deployement_dir=/user/hue/oozie/deployments
  1349.  
  1350.  
  1351. ###########################################################################
  1352. # Settings for the AWS lib
  1353. ###########################################################################
  1354.  
  1355. [aws]
  1356. [[aws_accounts]]
  1357. # Default AWS account
  1358. ## [[[default]]]
  1359. # AWS credentials
  1360. ## access_key_id=
  1361. ## secret_access_key=
  1362. ## security_token=
  1363.  
  1364. # Execute this script to produce the AWS access key ID.
  1365. ## access_key_id_script=/path/access_key_id.sh
  1366.  
  1367. # Execute this script to produce the AWS secret access key.
  1368. ## secret_access_key_script=/path/secret_access_key.sh
  1369.  
  1370. # Allow to use either environment variables or
  1371. # EC2 InstanceProfile to retrieve AWS credentials.
  1372. ## allow_environment_credentials=yes
  1373.  
  1374. # AWS region to use
  1375. ## region=us-east-1
  1376.  
  1377. # Endpoint overrides
  1378. ## proxy_address=
  1379. ## proxy_port=
  1380.  
  1381. # Secure connections are the default, but this can be explicitly overridden:
  1382. ## is_secure=true
  1383.  
  1384. # The default calling format uses https://<bucket-name>.s3.amazonaws.com but
  1385. # this may not make sense if DNS is not configured in this way for custom endpoints.
  1386. # e.g. Use boto.s3.connection.OrdinaryCallingFormat for https://s3.amazonaws.com/<bucket-name>
  1387. ## calling_format=boto.s3.connection.S3Connection.DefaultCallingFormat
  1388.  
  1389.  
  1390. ###########################################################################
  1391. # Settings for the Sentry lib
  1392. ###########################################################################
  1393.  
  1394. [libsentry]
  1395. # Hostname or IP of server.
  1396. ## hostname=localhost
  1397.  
  1398. # Port the sentry service is running on.
  1399. ## port=8038
  1400.  
  1401. # Sentry configuration directory, where sentry-site.xml is located.
  1402. ## sentry_conf_dir=/etc/sentry/conf
  1403.  
  1404. # Number of seconds when the privilege list of a user is cached.
  1405. ## privilege_checker_caching=30
  1406.  
  1407.  
  1408. ###########################################################################
  1409. # Settings to configure the ZooKeeper Lib
  1410. ###########################################################################
  1411.  
  1412. [libzookeeper]
  1413. # ZooKeeper ensemble. Comma separated list of Host/Port.
  1414. # e.g. localhost:2181,localhost:2182,localhost:2183
  1415. ## ensemble=localhost:2181
  1416.  
  1417. # Name of Kerberos principal when using security.
  1418. ## principal_name=zookeeper
  1419.  
  1420.  
  1421. ###########################################################################
  1422. # Settings for the RDBMS application
  1423. ###########################################################################
  1424.  
  1425. [librdbms]
  1426. # The RDBMS app can have any number of databases configured in the databases
  1427. # section. A database is known by its section name
  1428. # (IE sqlite, mysql, psql, and oracle in the list below).
  1429.  
  1430. [[databases]]
  1431. # sqlite configuration.
  1432. ## [[[sqlite]]]
  1433. # Name to show in the UI.
  1434. ## nice_name=SQLite
  1435.  
  1436. # For SQLite, name defines the path to the database.
  1437. ## name=/tmp/sqlite.db
  1438.  
  1439. # Database backend to use.
  1440. ## engine=sqlite
  1441.  
  1442. # Database options to send to the server when connecting.
  1443. # https://docs.djangoproject.com/en/1.4/ref/databases/
  1444. ## options={}
  1445.  
  1446. # mysql, oracle, or postgresql configuration.
  1447. ## [[[mysql]]]
  1448. # Name to show in the UI.
  1449. ## nice_name="My SQL DB"
  1450.  
  1451. # For MySQL and PostgreSQL, name is the name of the database.
  1452. # For Oracle, Name is instance of the Oracle server. For express edition
  1453. # this is 'xe' by default.
  1454. ## name=mysqldb
  1455.  
  1456. # Database backend to use. This can be:
  1457. # 1. mysql
  1458. # 2. postgresql
  1459. # 3. oracle
  1460. ## engine=mysql
  1461.  
  1462. # IP or hostname of the database to connect to.
  1463. ## host=localhost
  1464.  
  1465. # Port the database server is listening to. Defaults are:
  1466. # 1. MySQL: 3306
  1467. # 2. PostgreSQL: 5432
  1468. # 3. Oracle Express Edition: 1521
  1469. ## port=3306
  1470.  
  1471. # Username to authenticate with when connecting to the database.
  1472. ## user=example
  1473.  
  1474. # Password matching the username to authenticate with when
  1475. # connecting to the database.
  1476. ## password=example
  1477.  
  1478. # Database options to send to the server when connecting.
  1479. # https://docs.djangoproject.com/en/1.4/ref/databases/
  1480. ## options={}
  1481.  
  1482.  
  1483. ###########################################################################
  1484. # Settings to configure SAML
  1485. ###########################################################################
  1486.  
  1487. [libsaml]
  1488. # Xmlsec1 binary path. This program should be executable by the user running Hue.
  1489. ## xmlsec_binary=/usr/local/bin/xmlsec1
  1490.  
  1491. # Entity ID for Hue acting as service provider.
  1492. # Can also accept a pattern where '<base_url>' will be replaced with server URL base.
  1493. ## entity_id="<base_url>/saml2/metadata/"
  1494.  
  1495. # Create users from SSO on login.
  1496. ## create_users_on_login=true
  1497.  
  1498. # Required attributes to ask for from IdP.
  1499. # This requires a comma separated list.
  1500. ## required_attributes=uid
  1501.  
  1502. # Optional attributes to ask for from IdP.
  1503. # This requires a comma separated list.
  1504. ## optional_attributes=
  1505.  
  1506. # IdP metadata in the form of a file. This is generally an XML file containing metadata that the Identity Provider generates.
  1507. ## metadata_file=
  1508.  
  1509. # Private key to encrypt metadata with.
  1510. ## key_file=
  1511.  
  1512. # Signed certificate to send along with encrypted metadata.
  1513. ## cert_file=
  1514.  
  1515. # Path to a file containing the password private key.
  1516. ## key_file_password=/path/key
  1517.  
  1518. # Execute this script to produce the private key password. This will be used when 'key_file_password' is not set.
  1519. ## key_file_password_script=/path/pwd.sh
  1520.  
  1521. # A mapping from attributes in the response from the IdP to django user attributes.
  1522. ## user_attribute_mapping={'uid': ('username', )}
  1523.  
  1524. # Have Hue initiated authn requests be signed and provide a certificate.
  1525. ## authn_requests_signed=false
  1526.  
  1527. # Have Hue initiated logout requests be signed and provide a certificate.
  1528. ## logout_requests_signed=false
  1529.  
  1530. # Username can be sourced from 'attributes' or 'nameid'.
  1531. ## username_source=attributes
  1532.  
  1533. # Performs the logout or not.
  1534. ## logout_enabled=true
  1535.  
  1536.  
  1537. ###########################################################################
  1538. # Settings to configure OpenID
  1539. ###########################################################################
  1540.  
  1541. [libopenid]
  1542. # (Required) OpenId SSO endpoint url.
  1543. ## server_endpoint_url=https://www.google.com/accounts/o8/id
  1544.  
  1545. # OpenId 1.1 identity url prefix to be used instead of SSO endpoint url
  1546. # This is only supported if you are using an OpenId 1.1 endpoint
  1547. ## identity_url_prefix=https://app.onelogin.com/openid/your_company.com/
  1548.  
  1549. # Create users from OPENID on login.
  1550. ## create_users_on_login=true
  1551.  
  1552. # Use email for username
  1553. ## use_email_for_username=true
  1554.  
  1555.  
  1556. ###########################################################################
  1557. # Settings to configure OAuth
  1558. ###########################################################################
  1559.  
  1560. [liboauth]
  1561. # NOTE:
  1562. # To work, each of the active (i.e. uncommented) service must have
  1563. # applications created on the social network.
  1564. # Then the "consumer key" and "consumer secret" must be provided here.
  1565. #
  1566. # The addresses where to do so are:
  1567. # Twitter: https://dev.twitter.com/apps
  1568. # Google+ : https://cloud.google.com/
  1569. # Facebook: https://developers.facebook.com/apps
  1570. # Linkedin: https://www.linkedin.com/secure/developer
  1571. #
  1572. # Additionnaly, the following must be set in the application settings:
  1573. # Twitter: Callback URL (aka Redirect URL) must be set to http://YOUR_HUE_IP_OR_DOMAIN_NAME/oauth/social_login/oauth_authenticated
  1574. # Google+ : CONSENT SCREEN must have email address
  1575. # Facebook: Sandbox Mode must be DISABLED
  1576. # Linkedin: "In OAuth User Agreement", r_emailaddress is REQUIRED
  1577.  
  1578. # The Consumer key of the application
  1579. ## consumer_key_twitter=
  1580. ## consumer_key_google=
  1581. ## consumer_key_facebook=
  1582. ## consumer_key_linkedin=
  1583.  
  1584. # The Consumer secret of the application
  1585. ## consumer_secret_twitter=
  1586. ## consumer_secret_google=
  1587. ## consumer_secret_facebook=
  1588. ## consumer_secret_linkedin=
  1589.  
  1590. # The Request token URL
  1591. ## request_token_url_twitter=https://api.twitter.com/oauth/request_token
  1592. ## request_token_url_google=https://accounts.google.com/o/oauth2/auth
  1593. ## request_token_url_linkedin=https://www.linkedin.com/uas/oauth2/authorization
  1594. ## request_token_url_facebook=https://graph.facebook.com/oauth/authorize
  1595.  
  1596. # The Access token URL
  1597. ## access_token_url_twitter=https://api.twitter.com/oauth/access_token
  1598. ## access_token_url_google=https://accounts.google.com/o/oauth2/token
  1599. ## access_token_url_facebook=https://graph.facebook.com/oauth/access_token
  1600. ## access_token_url_linkedin=https://api.linkedin.com/uas/oauth2/accessToken
  1601.  
  1602. # The Authenticate URL
  1603. ## authenticate_url_twitter=https://api.twitter.com/oauth/authorize
  1604. ## authenticate_url_google=https://www.googleapis.com/oauth2/v1/userinfo?access_token=
  1605. ## authenticate_url_facebook=https://graph.facebook.com/me?access_token=
  1606. ## authenticate_url_linkedin=https://api.linkedin.com/v1/people/~:(email-address)?format=json&oauth2_access_token=
  1607.  
  1608. # Username Map. Json Hash format.
  1609. # Replaces username parts in order to simplify usernames obtained
  1610. # Example: {"@sub1.domain.com":"_S1", "@sub2.domain.com":"_S2"}
  1611. # converts '[email protected]' to 'email_S1'
  1612. ## username_map={}
  1613.  
  1614. # Whitelisted domains (only applies to Google OAuth). CSV format.
  1615. ## whitelisted_domains_google=
  1616.  
  1617.  
  1618. ###########################################################################
  1619. # Settings to configure Metadata
  1620. ###########################################################################
  1621.  
  1622. [metadata]
  1623.  
  1624. [[optimizer]]
  1625. # Cache timeout in milliseconds for the Optimizer metadata used in assist, autocomplete, etc.
  1626. # defaults to 432000000 (5 days), set to 0 to disable caching
  1627. # cacheable_ttl=432000000
  1628.  
  1629. # Base URL to Optimizer API.
  1630. ## api_url=https://optimizer.cloudera.com
  1631.  
  1632. # Aka workload or tenant id, keep commented and it will be guessed from the email.
  1633. ## product_name=e0819f3a-1e6f-4904-be69-5b704bacd1244
  1634.  
  1635. # A secret passphrase associated with the account.
  1636. ## product_secret=e0819f3a-1e6f-4904-be69-5b704bacd1245
  1637.  
  1638. # A secret key passphrase associated with the account.
  1639. ## product_auth_secret='-----BEGIN PRIVATE KEY....'
  1640.  
  1641. # The email of the Optimizer account you want to associate with the Product.
  1642.  
  1643. # Perform Sentry privilege filtering.
  1644. # Default to true automatically if the cluster is secure.
  1645. ## apply_sentry_permissions=False
  1646.  
  1647. # Automatically upload queries after their execution in order to improve recommendations.
  1648. ## auto_upload_queries=true
  1649.  
  1650. # Allow admins to upload the last N executed queries in the quick start wizard. Use 0 to disable.
  1651. ## query_history_upload_limit=10000
  1652.  
  1653. # In secure mode (HTTPS), if Optimizer SSL certificates have to be verified against certificate authority.
  1654. ## ssl_cert_ca_verify=True
  1655.  
  1656. [[navigator]]
  1657. # Navigator API URL (without version suffix).
  1658. ## api_url=http://localhost:7187/api
  1659.  
  1660. # Which authentication to use: CM or external via LDAP or SAML.
  1661. ## navmetadataserver_auth_type=CMDB
  1662.  
  1663. # Username of the CM user used for authentication.
  1664. ## navmetadataserver_cmdb_user=hue
  1665. # CM password of the user used for authentication.
  1666. ## navmetadataserver_cmdb_password=
  1667. # Execute this script to produce the CM password. This will be used when the plain password is not set.
  1668. # navmetadataserver_cmdb_password_script=
  1669.  
  1670. # Username of the LDAP user used for authentication.
  1671. ## navmetadataserver_ldap_user=hue
  1672. # LDAP password of the user used for authentication.
  1673. ## navmetadataserver_ldap_ppassword=
  1674. # Execute this script to produce the LDAP password. This will be used when the plain password is not set.
  1675. ## navmetadataserver_ldap_password_script=
  1676.  
  1677. # Username of the SAML user used for authentication.
  1678. ## navmetadataserver_saml_user=hue
  1679. ## SAML password of the user used for authentication.
  1680. # navmetadataserver_saml_password=
  1681. # Execute this script to produce the SAML password. This will be used when the plain password is not set.
  1682. ## navmetadataserver_saml_password_script=
  1683.  
  1684. # Perform Sentry privilege filtering.
  1685. # Default to true automatically if the cluster is secure.
  1686. ## apply_sentry_permissions=False
  1687.  
  1688. # Max number of items to fetch in one call in object search.
  1689. ## fetch_size_search=450
  1690.  
  1691. # Max number of items to fetch in one call in object search autocomplete.
  1692. ## fetch_size_search_interactive=450
  1693.  
  1694. # If metadata search is enabled, also show the search box in the left assist.
  1695. ## enable_file_search=false
Advertisement
Add Comment
Please, Sign In to add comment