SHARE
TWEET

Untitled

a guest Feb 4th, 2016 404 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #####################################
  2. # DEVELOPMENT EDITION
  3. #####################################
  4.  
  5. # Hue configuration file
  6. # ===================================
  7. #
  8. # For complete documentation about the contents of this file, run
  9. #       $ <hue_root>/build/env/bin/hue config_help
  10. #
  11. # All .ini files under the current directory are treated equally.  Their
  12. # contents are merged to form the Hue configuration, which can
  13. # can be viewed on the Hue at
  14. #       http://<hue_host>:<port>/dump_config
  15.  
  16.  
  17. ###########################################################################
  18. # General configuration for core Desktop features (authentication, etc)
  19. ###########################################################################
  20.  
  21. [desktop]
  22.  
  23.   kredentials_dir="/tmp"
  24.  
  25.   send_dbug_messages=1
  26.  
  27.   # To show database transactions, set database_logging to 1
  28.   database_logging=0
  29.  
  30.   # Set this to a random string, the longer the better.
  31.   # This is used for secure hashing in the session store.
  32.   secret_key=jFE93j;2[290-eiw.KEiwN2s3['d;/.q[eIW^y#e=+Iei*@qW5okey
  33.  
  34.   # Webserver listens on this address and port
  35.   http_host=0.0.0.0
  36.   http_port=8000
  37.  
  38.   # Time zone name
  39.   time_zone=America/Los_Angeles
  40.  
  41.   # Turn off debug
  42.   django_debug_mode=1
  43.  
  44.   # Turn off backtrace for server error
  45.   http_500_debug_mode=1
  46.  
  47.   # Server email for internal error messages
  48.   ## django_server_email='hue@localhost.localdomain'
  49.  
  50.   # Email backend
  51.   ## django_email_backend=django.core.mail.backends.smtp.EmailBackend
  52.  
  53.   # Set to true to use CherryPy as the webserver, set to false
  54.   # to use Spawning as the webserver. Defaults to Spawning if
  55.   # key is not specified.
  56.   ## use_cherrypy_server=false
  57.  
  58.   # Webserver runs as this user
  59.   server_user=hue
  60.   server_group=hadoop
  61.  
  62.   # If set to false, runcpserver will not actually start the web server.
  63.   # Used if Apache is being used as a WSGI container.
  64.   ## enable_server=yes
  65.  
  66.   # Number of threads used by the CherryPy web server
  67.   ## cherrypy_server_threads=10
  68.  
  69.   # Filename of SSL Certificate
  70.   ## ssl_certificate=
  71.  
  72.   # Filename of SSL RSA Private Key
  73.   ## ssl_private_key=
  74.  
  75.   # LDAP username and password of the hue user used for LDAP authentications.
  76.   # Set it to use LDAP Authentication with HiveServer2.
  77.   ## ldap_username=hue
  78.   ## ldap_password=hue
  79.  
  80.   # Default encoding for site data
  81.   ## default_site_encoding=utf-8
  82.  
  83.   # Options for X_FRAME_OPTIONS header. Default is SAMEORIGIN
  84.   x_frame_options='ALLOWALL'
  85.  
  86.   [[supervisor]]
  87.     ## celeryd=no
  88.  
  89.   # Administrators
  90.   # ----------------
  91.   [[django_admins]]
  92.     ## [[[admin1]]]
  93.     ## name=john
  94.     ## email=john@doe.com
  95.  
  96.   # UI customizations
  97.   # -------------------
  98.   [[custom]]
  99.  
  100.   # Top banner HTML code
  101.   ## banner_top_html=
  102.  
  103.   # Top about page HTML code
  104.   ## about_top_html='''<div><a href="/dump_config">Visit the Hue Configuration page</a></div>'''
  105.  
  106.   # Configuration options for user authentication into the web application
  107.   # ------------------------------------------------------------------------
  108.   [[auth]]
  109.  
  110.     # Authentication backend. Common settings are:
  111.     # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  112.     # - desktop.auth.backend.AllowAllBackend (allows everyone)
  113.     # - desktop.auth.backend.AllowFirstUserDjangoBackend
  114.     #     (Default. Relies on Django and user manager, after the first login)
  115.     # - desktop.auth.backend.LdapBackend
  116.     # - desktop.auth.backend.PamBackend
  117.     # - desktop.auth.backend.SpnegoDjangoBackend
  118.     # - desktop.auth.backend.RemoteUserDjangoBackend
  119.     backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  120.  
  121.     ## pam_service=login
  122.  
  123.     # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  124.     # the normalized name of the header that contains the remote user.
  125.     # The HTTP header in the request is converted to a key by converting
  126.     # all characters to uppercase, replacing any hyphens with underscores
  127.     # and adding an HTTP_ prefix to the name. So, for example, if the header
  128.     # is called Remote-User that would be configured as HTTP_REMOTE_USER
  129.     #
  130.     # Defaults to HTTP_REMOTE_USER
  131.     ## remote_user_header=HTTP_REMOTE_USER
  132.  
  133.     # Ignore the case of usernames when searching for existing users.
  134.     # Only supported in remoteUserDjangoBackend.
  135.     ## ignore_username_case=false
  136.  
  137.     # Ignore the case of usernames when searching for existing users to authenticate with.
  138.     # Only supported in remoteUserDjangoBackend.
  139.     ## force_username_lowercase=false
  140.  
  141.   # Configuration options for connecting to LDAP and Active Directory
  142.   # -------------------------------------------------------------------
  143.    [[ldap]]
  144.  
  145.     # The search base for finding users and groups
  146.     ## base_dn="DC=mycompany,DC=com"
  147.  
  148.     # URL of the LDAP server
  149.     ## ldap_url=ldap://auth.mycompany.com
  150.  
  151.     # A PEM-format file containing certificates for the CA's that
  152.     # Hue will trust for authentication over TLS.
  153.     # The certificate for the CA that signed the
  154.     # LDAP server certificate must be included among these certificates.
  155.     # See more here http://www.openldap.org/doc/admin24/tls.html.
  156.     ## ldap_cert=
  157.     ## use_start_tls=true
  158.  
  159.     # Distinguished name of the user to bind as -- not necessary if the LDAP server
  160.     # supports anonymous searches
  161.     ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  162.  
  163.     # Password of the bind user -- not necessary if the LDAP server supports
  164.     # anonymous searches
  165.     ## bind_password=
  166.  
  167.     # Pattern for searching for usernames -- Use <username> for the parameter
  168.     # For use when using LdapBackend for Hue authentication
  169.     ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  170.  
  171.     # Create users in Hue when they try to login with their LDAP credentials
  172.     # For use when using LdapBackend for Hue authentication
  173.     ## create_users_on_login = true
  174.  
  175.     # Synchronize a users groups when they login
  176.     ## sync_groups_on_login=false
  177.  
  178.     # Ignore the case of usernames when searching for existing users in Hue.
  179.     ## ignore_username_case=false
  180.  
  181.     # Force usernames to lowercase when creating new users from LDAP.
  182.     ## force_username_lowercase=false
  183.  
  184.     # Use search bind authentication.
  185.     ## search_bind_authentication=true
  186.  
  187.     # Choose which kind of subgrouping to use: nested or suboordinate (deprecated).
  188.     ## subgroups=suboordinate
  189.  
  190.     # Define the number of levels to search for nested members.
  191.     ## nested_members_search_depth=10
  192.  
  193.     [[[users]]]
  194.  
  195.       # Base filter for searching for users
  196.       ## user_filter="objectclass=*"
  197.  
  198.       # The username attribute in the LDAP schema
  199.       ## user_name_attr=sAMAccountName
  200.  
  201.     [[[groups]]]
  202.  
  203.       # Base filter for searching for groups
  204.       ## group_filter="objectclass=*"
  205.  
  206.       # The username attribute in the LDAP schema
  207.       ## group_name_attr=cn
  208.  
  209.     [[[ldap_servers]]]
  210.  
  211.       ## [[[[mycompany]]]]
  212.  
  213.         # The search base for finding users and groups
  214.         ## base_dn="DC=mycompany,DC=com"
  215.  
  216.         # URL of the LDAP server
  217.         ## ldap_url=ldap://auth.mycompany.com
  218.  
  219.         # A PEM-format file containing certificates for the CA's that
  220.         # Hue will trust for authentication over TLS.
  221.         # The certificate for the CA that signed the
  222.         # LDAP server certificate must be included among these certificates.
  223.         # See more here http://www.openldap.org/doc/admin24/tls.html.
  224.         ## ldap_cert=
  225.         ## use_start_tls=true
  226.  
  227.         # Distinguished name of the user to bind as -- not necessary if the LDAP server
  228.         # supports anonymous searches
  229.         ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  230.  
  231.         # Password of the bind user -- not necessary if the LDAP server supports
  232.         # anonymous searches
  233.         ## bind_password=
  234.  
  235.         # Pattern for searching for usernames -- Use <username> for the parameter
  236.         # For use when using LdapBackend for Hue authentication
  237.         ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  238.  
  239.         ## [[[[[users]]]]]
  240.  
  241.           # Base filter for searching for users
  242.           ## user_filter="objectclass=Person"
  243.  
  244.           # The username attribute in the LDAP schema
  245.           ## user_name_attr=sAMAccountName
  246.  
  247.         ## [[[[[groups]]]]]
  248.  
  249.           # Base filter for searching for groups
  250.           ## group_filter="objectclass=groupOfNames"
  251.  
  252.           # The username attribute in the LDAP schema
  253.           ## group_name_attr=cn
  254.  
  255.  
  256.  
  257.   # Configuration options for specifying the Desktop Database.  For more info,
  258.   # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  259.   # ------------------------------------------------------------------------
  260.   [[database]]
  261.     engine=sqlite3
  262.     name=/var/lib/hue/desktop.db
  263.     # Database engine is typically one of:
  264.     # postgresql_psycopg2, mysql, or sqlite3
  265.     #
  266.     # Note that for sqlite3, 'name', below is a filename;
  267.     # for other backends, it is the database name.
  268.     ## engine=sqlite3
  269.     ## host=
  270.     ## port=
  271.     ## user=
  272.     ## password=
  273.     ## name=
  274.  
  275.  
  276.   # Configuration options for connecting to an external SMTP server
  277.   # ------------------------------------------------------------------------
  278.   [[smtp]]
  279.  
  280.     # The SMTP server information for email notification delivery
  281.     host=localhost
  282.     port=25
  283.     user=
  284.     password=
  285.  
  286.     # Whether to use a TLS (secure) connection when talking to the SMTP server
  287.     tls=no
  288.  
  289.     # Default email address to use for various automated notification from Hue
  290.     ## default_from_email=hue@localhost
  291.  
  292.  
  293.   # Configuration options for Kerberos integration for secured Hadoop clusters
  294.   # ------------------------------------------------------------------------
  295.   [[kerberos]]
  296.  
  297.     # Path to Hue's Kerberos keytab file
  298.     ## hue_keytab=/etc/security/keytabs/hue.service.keytab
  299.  
  300.     # Kerberos principal name for Hue
  301.     ## hue_principal=hue/FQDN@REALM
  302.  
  303.     # Path to kinit
  304.     ## kinit_path=/usr/bin/kinit
  305.  
  306.     ## Frequency in seconds with which Hue will renew its keytab. Default 1h.
  307.     ## reinit_frequency=3600
  308.  
  309.     ## Path to keep Kerberos credentials cached.
  310.     ## ccache_path=/tmp/hue_krb5_ccache
  311.  
  312.  
  313. ###########################################################################
  314. # Settings to configure your Hadoop cluster.
  315. ###########################################################################
  316.  
  317. [hadoop]
  318.  
  319.   # Configuration for HDFS NameNode
  320.   # ------------------------------------------------------------------------
  321.   [[hdfs_clusters]]
  322.  
  323.     [[[default]]]
  324.       # Enter the filesystem uri
  325.       #fs_defaultfs=hdfs://localhost:8020
  326.       fs_defaultfs=hdfs://testnnhasvc
  327.  
  328.       # Use WebHdfs/HttpFs as the communication mechanism. To fallback to
  329.       # using the Thrift plugin (used in Hue 1.x), this must be uncommented
  330.       # and explicitly set to the empty value.
  331.       #webhdfs_url=http://localhost:50070/webhdfs/v1/
  332.       webhdfs_url=http://falbdcdq0003v.farmersinsurance.com:50070/webhdfs/v1/
  333.  
  334.       ## security_enabled=true
  335.  
  336.       # Default umask for file and directory creation, specified in an octal value.
  337.       ## umask=022
  338.  
  339.   [[yarn_clusters]]
  340.  
  341.     [[[default]]]
  342.       # Whether to submit jobs to this cluster
  343.       submit_to=true
  344.  
  345.       ## security_enabled=false
  346.  
  347.       # Resource Manager logical name (required for HA)
  348.       ## logical_name=
  349.  
  350.       # URL of the ResourceManager webapp address (yarn.resourcemanager.webapp.address)
  351.       resourcemanager_api_url=http://falbdcdq0002v.farmersinsurance.com:8088
  352.  
  353.       # URL of Yarn RPC adress (yarn.resourcemanager.address)
  354.       resourcemanager_rpc_url=http://falbdcdq0002v.farmersinsurance.com:8050
  355.  
  356.       # URL of the ProxyServer API
  357.       proxy_api_url=http://falbdcdq0002v.farmersinsurance.com:8088
  358.  
  359.       # URL of the HistoryServer API
  360.       history_server_api_url=http://falbdcdq0003v.farmersinsurance.com:19888
  361.  
  362.       # URL of the AppTimelineServer API
  363.       app_timeline_server_api_url=http://falbdcdq0003v.farmersinsurance.com:8188
  364.  
  365.       # URL of the NodeManager API
  366.       node_manager_api_url=http://falbdcdq0003v.farmersinsurance.com:8042
  367.  
  368.       # HA support by specifying multiple clusters
  369.       # e.g.
  370.  
  371.       # [[[ha]]]
  372.     # Enter the host on which you are running the failover Resource Manager
  373.         resourcemanager_api_url=http://falbdcdq0003v.farmersinsurance.com:8088
  374.         logical_name=failover
  375.         submit_to=True
  376.  
  377. ###########################################################################
  378. # Settings to configure liboozie
  379. ###########################################################################
  380.  
  381. [liboozie]
  382.   # The URL where the Oozie service runs on. This is required in order for
  383.   # users to submit jobs.
  384.   oozie_url=http://falbdcdq0003v.farmersinsurance.com:11000/oozie
  385.  
  386.   ## security_enabled=true
  387.  
  388.   # Location on HDFS where the workflows/coordinator are deployed when submitted.
  389.   ## remote_deployement_dir=/user/hue/oozie/deployments
  390.  
  391.  
  392. ###########################################################################
  393. # Settings to configure the Oozie app
  394. ###########################################################################
  395.  
  396. [oozie]
  397.   # Location on local FS where the examples are stored.
  398.   ## local_data_dir=..../examples
  399.  
  400.   # Location on local FS where the data for the examples is stored.
  401.   ## sample_data_dir=...thirdparty/sample_data
  402.  
  403.   # Location on HDFS where the oozie examples and workflows are stored.
  404.   ## remote_data_dir=/user/hue/oozie/workspaces
  405.  
  406.   # Share workflows and coordinators information with all users. If set to false,
  407.   # they will be visible only to the owner and administrators.
  408.   ## share_jobs=true
  409.  
  410.   # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  411.   ## oozie_jobs_count=100
  412.  
  413.   # Comma separated list of parameters which should be obfuscated in Oozie job configuration.
  414.   ## oozie_obfuscate_params=password,pwd
  415.  
  416.   # Maximum count of actions of Oozie coodinators to be shown on the one page.
  417.   ## oozie_job_actions_count=50
  418.  
  419.  
  420. ###########################################################################
  421. # Settings to configure Beeswax
  422. ###########################################################################
  423.  
  424. [beeswax]
  425.  
  426.   # Host where Hive server Thrift daemon is running.
  427.   # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  428.   hive_server_host=falbdcdq0002v.farmersinsurance.com
  429.  
  430.   # Port where HiveServer2 Thrift server runs on.
  431.   hive_server_port=10000
  432.  
  433.   # Hive configuration directory, where hive-site.xml is located
  434.    hive_conf_dir=/etc/hive/conf
  435.  
  436.   # Timeout in seconds for thrift calls to Hive service
  437.    server_conn_timeout=120
  438.  
  439.   # Set a LIMIT clause when browsing a partitioned table.
  440.   # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
  441.   ## browse_partitioned_table_limit=250
  442.  
  443.   # A limit to the number of rows that can be downloaded from a query.
  444.   # A value of -1 means there will be no limit.
  445.   # A maximum of 65,000 is applied to XLS downloads.
  446.   ## download_row_limit=1000000
  447.  
  448.   # Hue will try to close the Hive query when the user leaves the editor page.
  449.   # This will free all the query resources in HiveServer2, but also make its results inaccessible.
  450.   ## close_queries=false
  451.  
  452.   # Option to show execution engine choice.
  453.   ## show_execution_engine=False
  454.  
  455.   # "Go to column pop up on query result page. Set to false to disable"
  456.   ## go_to_column=true
  457.  
  458.   [[ssl]]
  459.     # SSL communication enabled for this server.
  460.     ## enabled=false
  461.  
  462.     # Path to Certificate Authority certificates.
  463.     ## cacerts=/etc/hue/cacerts.pem
  464.  
  465.     # Path to the private key file.
  466.     ## key=/etc/hue/key.pem
  467.  
  468.     # Path to the public certificate file.
  469.     ## cert=/etc/hue/cert.pem
  470.  
  471.     # Choose whether Hue should validate certificates received from the server.
  472.     ## validate=true
  473.  
  474.  
  475.  
  476. ###########################################################################
  477. # Settings to configure Job Designer
  478. ###########################################################################
  479.  
  480. [jobsub]
  481.   # Location on HDFS where the jobsub examples and templates are stored.
  482.   ## remote_data_dir=/user/hue/jobsub
  483.  
  484.   # Location on local FS where examples and template are stored.
  485.   ## local_data_dir=..../data
  486.  
  487.   # Location on local FS where sample data is stored
  488.   ## sample_data_dir=...thirdparty/sample_data
  489.  
  490.  
  491. ###########################################################################
  492. # Settings to configure Job Browser
  493. ###########################################################################
  494.  
  495. [jobbrowser]
  496.   # Share submitted jobs information with all users. If set to false,
  497.   # submitted jobs are visible only to the owner and administrators.
  498.   ## share_jobs=true
  499.  
  500.  
  501. ###########################################################################
  502. # Settings for the User Admin application
  503. ###########################################################################
  504.  
  505. [useradmin]
  506.   # The name of the default user group that users will be a member of
  507.   default_user_group=hadoop
  508.   default_username=hue
  509.   default_user_password=1111
  510.  
  511.  
  512. [hcatalog]
  513.   templeton_url=http://falbdcdq0002v.farmersinsurance.com:50111/templeton/v1/
  514.   security_enabled=false
  515.  
  516. [about]
  517.   tutorials_installed=false
  518.  
  519. [pig]
  520.   udf_path="/tmp/udfs"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top