Bridget's change requested by Daniel Bridget's change per Drill list request
Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/1ae929f5 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/1ae929f5 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/1ae929f5 Branch: refs/heads/gh-pages Commit: 1ae929f53de8ae2983bd26190ef7ccb73aa04b87 Parents: 7a3a8eb Author: Kristine Hahn <[email protected]> Authored: Fri Aug 7 15:38:33 2015 -0700 Committer: Kristine Hahn <[email protected]> Committed: Fri Aug 7 15:39:42 2015 -0700 ---------------------------------------------------------------------- .../075-configuring-user-authentication.md | 19 ++++++++++++------- .../070-hive-storage-plugin.md | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/1ae929f5/_docs/configure-drill/075-configuring-user-authentication.md ---------------------------------------------------------------------- diff --git a/_docs/configure-drill/075-configuring-user-authentication.md b/_docs/configure-drill/075-configuring-user-authentication.md old mode 100755 new mode 100644 index b617adf..eab1027 --- a/_docs/configure-drill/075-configuring-user-authentication.md +++ b/_docs/configure-drill/075-configuring-user-authentication.md @@ -29,18 +29,23 @@ The following image illustrates the user authentication process in Drill: ### Installing and Configuring PAM -Install and configure the provided Drill PAM. Drill only supports the PAM provided here. Optionally, you can [build and implement a custom authenticator]({{ site.baseurl }}/docs/configuring-user-authentication/#implementing-and-configuring-a-custom-authenticator). +Install and configure the provided Drill PAM. Drill only supports the PAM provided here. Optionally, you can [build and implement a custom authenticator]({{ site.baseurl }}/docs/configuring-user-authentication/#implementing-and-configuring-a-custom-authenticator). + +{% include startnote.html %}Do not point to an existing directory where other Hadoop components are installed. Other file system libraries can conflict with the Drill libraries and cause system errors.{% include endnote.html %} Complete the following steps to install and configure PAM for Drill: 1. Download the `tar.gz` file for the Linux platform: [http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/](http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/) -2. Untar the file, and copy the `libjpam.so` file into a directory. +2. Untar the file, and copy the `libjpam.so` file into a directory that does not contain other Hadoop components. Example:` /opt/pam/` -3. Run the following command, and include the directory where you put the `libjpam.so` file: - `export DRILLBIT_JAVA_OPTS=" -Djava.library.path=<directory>"` - Example: `export DRILLBIT_JAVA_OPTS=" -Djava.library.path=/opt/pam/"` -4. Add the following block to `drill.exec` in the `drill-override.conf` file located in `<DRILLINSTALL_HOME>/conf/`: +3. Add the following line to `<DRILL_HOME>/conf/drill-env.sh`, including the directory where the `libjpam.so` file is located: + + `export DRILLBIT_JAVA_OPTS="-Djava.library.path=<directory>"` + + Example: `export DRILLBIT_JAVA_OPTS="-Djava.library.path=/opt/pam/"` + +4. Add the following configuration to the `drill.exec` block in `<DRILL_HOME>/conf/drill-override.conf`: drill.exec { security.user.auth { @@ -128,7 +133,7 @@ Complete the following steps to build and implement a custom authenticator: 2. Add the JAR file that you built to the following directory on each Drill node: ` <DRILLINSTALL_HOME>/jars` -3. Add the following block to the `drill.exec` section in the `drill-override.conf` file located in `<DRILLINSTALL_HOME>/conf/`: +3. Add the following configuration to the `drill.exec` block in the `drill-override.conf` file located in `<DRILLINSTALL_HOME>/conf/`: drill.exec { security.user.auth { http://git-wip-us.apache.org/repos/asf/drill/blob/1ae929f5/_docs/connect-a-data-source/070-hive-storage-plugin.md ---------------------------------------------------------------------- diff --git a/_docs/connect-a-data-source/070-hive-storage-plugin.md b/_docs/connect-a-data-source/070-hive-storage-plugin.md index 83b9e43..0954862 100644 --- a/_docs/connect-a-data-source/070-hive-storage-plugin.md +++ b/_docs/connect-a-data-source/070-hive-storage-plugin.md @@ -43,7 +43,7 @@ To register a remote Hive metastore with Drill: ... 5. Change the default location of files to suit your environment; for example, change `"fs.default.name"` property from `"file:///"` to one of these locations: * `hdfs://` - * `hdfs://<authority>:<port>` + * `hdfs://<hostname>:<port>` 6. If you are running Drill and Hive in a secure MapR cluster, remove the following line from the configuration: `"hive.metastore.sasl.enabled" : "false"` 7. Click **Enable**.
