Edit configuration files for users
Cloudera administrators download site configuration files for the services you use. They update the files with Pentaho-specific and user-specific settings. Users then upload the files when they create a named connection.
Named connection files are stored in these locations:
<username>/.pentaho/metastore/pentaho/NamedCluster<username>/.pentaho/metastore/pentaho/NamedCluster/Configs/<connection-name>/config.properties
Save the updated files in a known location for reuse.
Files to provide
config.propertiescore-site.xml(secured CDP only)hive-site.xmlmapred-site.xmlyarn-site.xml
Edit Core site XML file
If you use a secured instance of CDP, update core-site.xml.
Open
core-site.xml.Add or update these properties:
PropertyValuehadoop.proxyuser.oozie.hostsOozie hosts on your CDP cluster.
hadoop.proxyuser.oozie.groupsOozie groups on your CDP cluster.
hadoop.proxyuser.<security_service>.hostsProxy user hosts for other services on your CDP cluster.
hadoop.proxyuser.<security_service>.groupsProxy user groups for other services on your CDP cluster.
fs.s3a.access.keyYour S3 access key, if you access S3 from CDP.
fs.s3a.secret.keyYour S3 secret key, if you access S3 from CDP.
Optional (AWS): If you connect to CDP Public Cloud on AWS and use an S3 bucket outside the CDP environment, update or add these properties:
<property> <name>fs.s3a.delegation.token.binding</name> <value>org.apache.hadoop.fs.s3a.auth.delegation.SessionTokenBinding</value> </property><property> <name>fs.s3a.aws.credentials.provider</name> <value>com.amazonaws.auth.InstanceProfileCredentialsProvider</value> </property>Ensure the gateway node has valid AWS credentials (for example, under
~/.aws/).Optional (Azure): If you connect to CDP Public Cloud on Azure and use a storage account outside the CDP environment:
Remove these properties:
fs.azure.enable.delegation.tokenfs.azure.delegation.token.provider.typefs.azure.account.auth.typefs.azure.account.oauth.provider.type
Add these properties:
fs.azure.account.auth.type.<storage-account-name>.dfs.core.windows.net=SharedKeyfs.azure.account.key.<storage-account-name>.dfs.core.windows.net=<storage-account-key>
Optional (GCP): If you connect to CDP Public Cloud on GCP and use a bucket outside the CDP environment, create a custom role with these permissions:
storage.bucket.get storage.objects.create storage.objects.delete storage.objects.get storage.objects.getIamPolicy storage.objects.list storage.objects.setIamPolicy storage.objects.updateAssign the custom role to the Data Lake and Log service accounts for the bucket.
Save the file.
Edit Hive site XML file
If you use Hive, update hive-site.xml to set the Hive metastore location.
Open
hive-site.xml.Add or update these properties:
PropertyValuehive.metastore.urisSet this to the Hive metastore URI if it differs from your CDP cluster.
hive.server2.enable.impersonationSet to
trueif you use impersonation.hive.server2.enable.doAsSet to
trueif you use impersonation.tez.lib.urisRequired when you use Hive 3 on Tez.
Example:
Save the file.
Edit Mapred site XML file
If you use MapReduce, update mapred-site.xml to set job history logging and allow cross-platform submissions.
Open
mapred-site.xml.Ensure these properties exist. Add them if needed:
PropertyValuemapreduce.jobhistory.addressWhere MapReduce job history logs are stored.
mapreduce.app-submission.cross-platformSet to
trueto allow submissions from Windows clients to Linux servers.Example:
Save the file.
Edit YARN site XML file
If you use YARN, verify your YARN settings in yarn-site.xml.
Open
yarn-site.xml.Add or update these properties:
PropertyValueyarn.application.classpathClasspaths needed to run YARN applications. Use commas to separate multiple paths.
yarn.resourcemanager.hostnameResource Manager host name for your environment.
yarn.resourcemanager.addressResource Manager address and port for your environment.
yarn.resourcemanager.admin.addressResource Manager admin address and port for your environment.
yarn.resourcemanager.proxy-user-privileges.enabledSet to
trueif you use a proxy user.Example:
Save the file.
Last updated
Was this helpful?

