hue.ini 58 KB

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