[/map {"- map/map "}) [/map/topicref {"- map/topicref "}) [/map/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicmeta/navtitle {"- topic/navtitle "}) Administering a Big Data Discovery Cluster (navtitle][/map/topicref/topicmeta/linktext {"- map/linktext "}) Administering a Big Data Discovery Cluster (linktext][/map/topicref/topicmeta/shortdesc {"- map/shortdesc "}) This section describes how to perform different administrative tasks for your BDD cluster deployment as a whole, such as backing it up and updating its configuration. (shortdesc] (topicmeta][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Updating the BDD configuration (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Updating the BDD configuration (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can update BDD's configuration by editing bdd.conf then running the bdd-admin script to distribute your changes to the rest of the cluster. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Configuration properties that can be modified (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Configuration properties that can be modified (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The table below describes the properties in bdd.conf that you can modify. Be sure to read this information carefully before making changes to bdd.conf. Don't update any other properties in this file, as this could have negative effects on your cluster. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Backing up BDD (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Backing up BDD (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) Because Big Data Discovery doesn't perform automatic backups, you must back up your system manually. Oracle recommends that, at a minimum, you back up your cluster immediately after deployment. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Restoring BDD (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Restoring BDD (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can restore your cluster from a backup TAR file by running the bdd-admin script with the restore command. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Updating BDD's Hadoop configuration (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Updating BDD's Hadoop configuration (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can update your BDD cluster's Hadoop configuration with the bdd-admin script. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Updating the Hadoop client configuration files (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Updating the Hadoop client configuration files (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If you update your Hadoop client configuration files, you can publish your changes to BDD with the bdd-admin script. This distributes the Hadoop client configuration files to all BDD nodes and updates the relevant properties in BDD's configuration files. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Setting the Hue URI (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Setting the Hue URI (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If you have an HDP cluster, you can use the bdd-admin script to update the URI of the node running Hue in bdd.conf. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Upgrading Hadoop (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Upgrading Hadoop (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If you want to upgrade to a new version of your Hadoop distribution, you need to update your BDD cluster to integrate with it. You can do this using the bdd-admin script. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Updating BDD's Kerberos configuration (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Updating BDD's Kerberos configuration (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can update your BDD cluster's Kerberos configuration with the bdd-admin script. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Enabling Kerberos (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Enabling Kerberos (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) BDD supports Kerberos 5+ to authenticate its communications with Hadoop. You can enable this for BDD to improve the security of your cluster and data. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Changing the location of the Kerberos krb5.conf file (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Changing the location of the Kerberos krb5.conf file (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If you want to change the location of the krb5.conf file, you can use the bdd-admin script to update BDD's configuration accordingly. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Updating the Kerberos keytab file (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Updating the Kerberos keytab file (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If you update BDD's current keytab file or create a new one, you can use the bdd-admin script to publish the new or updated file to the rest of the cluster. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Updating the Kerberos principal (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Updating the Kerberos principal (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If you edit the BDD principal or create a new one, you can use the bdd-admin script to publish your changes to the rest of the cluster. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Adding new nodes to the BDD cluster (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Adding new nodes to the BDD cluster (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The following sections describe how to add new nodes to your BDD cluster. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Adding new Dgraph nodes (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Adding new Dgraph nodes (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can add new Dgraph nodes to BDD to expand your Dgraph cluster. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Adding new Data Processing nodes (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Adding new Data Processing nodes (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can add new Data Processing nodes to your BDD cluster to increase your processing power. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Refreshing TLS/SSL certificates (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Refreshing TLS/SSL certificates (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If you have TLS/SSL enabled for BDD, you can use the bdd-admin script to refresh your certificates, when needed. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref {"- map/topicref "}) [/map/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicmeta/navtitle {"- topic/navtitle "}) The bdd-admin Script Reference (navtitle][/map/topicref/topicmeta/linktext {"- map/linktext "}) The bdd-admin Script Reference (linktext][/map/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can use the bdd-admin script to administer your BDD cluster from the command line. This section describes the script and its commands. (shortdesc] (topicmeta][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) About the bdd-admin script (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) About the bdd-admin script (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The bdd-admin script includes a number of commands that perform different administrative tasks for your cluster, like starting components and updating BDD's configuration. The script is located in the $BDD_HOME/BDD_manager/bin directory. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Lifecycle management commands (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Lifecycle management commands (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can use the bdd-admin script's lifecycle management commands to perform such operations as starting and stopping BDD components. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) start (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) start (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The start command starts components. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) stop (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) stop (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The stop command stops components. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) restart (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) restart (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The restart command restarts components regardless of whether they're currently running or stopped. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) System management commands (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) System management commands (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can use the bdd-admin script's system management commands to perform such operations as backing up your cluster and updating BDD's configuration. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) autostart (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) autostart (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The autostart command enables and disables autostart for components. Components that have autostart enabled restart automatically after their hosts are rebooted. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) backup (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) backup (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The backup command creates a backup of the cluster's data and metadata. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) restore (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) restore (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The restore command restores your cluster from an existing backup TAR file. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) publish-config (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) publish-config (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The publish-config command publishes configuration changes to your BDD cluster. (shortdesc] (topicmeta][/map/topicref/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) bdd (navtitle][/map/topicref/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) bdd (linktext][/map/topicref/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The bdd configuration type publishes an updated version of bdd.conf to all BDD nodes. This updates the configuration of the entire cluster. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) hadoop (navtitle][/map/topicref/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) hadoop (linktext][/map/topicref/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The hadoop configuration type makes changes to BDD's Hadoop configuration. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) kerberos (navtitle][/map/topicref/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) kerberos (linktext][/map/topicref/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The kerberos configuration type updates to BDD's Kerberos configuration. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) cert (navtitle][/map/topicref/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) cert (linktext][/map/topicref/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The cert configuration type refreshes the TLS/SSL certificates for the HDFS, YARN, Hive, and KMS services. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) update-model (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) update-model (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The update-model command updates or resets the models used by some of the Data Enrichment modules. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) flush (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) flush (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The flush command flushes component caches. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) add-nodes (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) add-nodes (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The add-nodes command adds new nodes to your BDD cluster. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) enable-components (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) enable-components (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The enable-components command enables components that are currently disabled. Note that this command can only be used for certain components. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) disable-components (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) disable-components (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The disable-components command disables specific components that are currently enabled. Note that this can only be used on components that were enabled by the enable-components command. (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Diagnostics commands (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Diagnostics commands (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can use the bdd-admin script's diagnostics commands to perform such operations as checking the status of your cluster and retrieving component log files. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) get-blackbox (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) get-blackbox (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The get-blackbox command generates the Dgraph's on-demand tracing blackbox file and returns the name and location of the file. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) status (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) status (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The status command checks component statuses and the overall health of the BDD cluster. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) get-stats (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) get-stats (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The get-stats command obtains Dgraph statistics. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) reset-stats (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) reset-stats (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The reset-stats command resets the Dgraph statistics. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) get-log-levels (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) get-log-levels (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The get-log-levels command returns the list of component logs and their current levels. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) set-log-levels (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) set-log-levels (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The set-log-levels command sets component log levels and updates their configuration files so that the changes persist when the components are restarted. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) get-logs (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) get-logs (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The get-logs command collects requested log files and compresses them to a single zip file. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) rotate-logs (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) rotate-logs (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The rotate-logs command rotates component logs. (shortdesc] (topicmeta] (topicref] (topicref] (topicref] [/map/topicref {"- map/topicref "}) [/map/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicmeta/navtitle {"- topic/navtitle "}) Administering the Dgraph (navtitle][/map/topicref/topicmeta/linktext {"- map/linktext "}) Administering the Dgraph (linktext][/map/topicref/topicmeta/shortdesc {"- map/shortdesc "}) This section describes the Dgraph component in BDD, its administrative operations, and flags. It also describes various Dgraph characteristics and behavior, such as memory consumption, Dgraph cache, and managing the Dgraph core dump files. (shortdesc] (topicmeta][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) About the Dgraph (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) About the Dgraph (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The Dgraph is a component of Big Data Discovery that runs search analytical processing of the data sets. It handles query requests users make to data sets. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Memory consumption by the Dgraph (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Memory consumption by the Dgraph (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) This topic discusses the logic used by the Dgraph to control its memory consumption. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Tips for setting the Dgraph cache size (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Tips for setting the Dgraph cache size (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) Set the Dgraph cache size to be large enough to let the Dgraph operate smoothly under normal query load. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Changing the Dgraph memory limit (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Changing the Dgraph memory limit (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) It is possible to specify the custom memory limit the Dgraph is allowed to use for processing. If you change the memory limit, this overrides the default memory consumption setting in the Dgraph that is set to 80% of the machine's available RAM. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Setting up cgroups for the Dgraph (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Setting up cgroups for the Dgraph (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) Control groups, or cgroups, is a Linux kernel feature that enables you to allocate resources like CPU time and system memory to specific processes or groups of processes. If you need to host the Dgraph on nodes running Spark, you must use cgroups to ensure sufficient resources are available to it. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Moving the Dgraph databases to HDFS (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Moving the Dgraph databases to HDFS (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) If your Dgraph databases are currently stored on an NFS, you can move them to HDFS. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Appointing a new Dgraph leader (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Appointing a new Dgraph leader (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) You can use the appointNewDgraphLeader.sh script to appoint a new Dgraph leader for a database. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) About using Linux ulimit settings for merges (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) About using Linux ulimit settings for merges (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) For purposes of merging generation files for the internal Dgraph databases (indexes), it is recommended that you set the Linux option ulimit -v and -m parameters to unlimited. You should also set the -n parameter to 65536. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Tips for storing Dgraph core dump files (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Tips for storing Dgraph core dump files (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) In the rare case of a Dgraph crash, the Dgraph writes its core dump files on disk. It is recommended to use the ulimit -c unlimited setting for the Dgraph core dump files. Non-limited core files contain all Dgraph data that is resident in memory. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) About Dgraph statistics (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) About Dgraph statistics (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The Dgraph statistics page provides information such as startup time, host, port, and process information, data and log paths, and so on. This information is useful to help to tune your Dgraph and useful for Oracle Support. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Dgraph flags (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Dgraph flags (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) Dgraph flags modify the Dgraph's configuration and behavior. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Dgraph HDFS Agent flags (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Dgraph HDFS Agent flags (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) This topic describes the flags used by the Dgraph HDFS Agent. (shortdesc] (topicmeta] (topicref] (topicref] (map]