stackabletech / stackablectl

Commandline tool to interact with a Stackable Data Platform
Other
8 stars 1 forks source link

Set HADOOP_USER_NAME in the hbase-hdfs-load-cycling-data demo #292

Closed siegfriedweber closed 10 months ago

siegfriedweber commented 10 months ago

Description

Set the environment variable HADOOP_USER_NAME to "stackable" in the hbase-hdfs-load-cycling-data demo.

This is required on OpenShift because the chosen user ID has not the required access rights.

Without this change, the job distcp-cycling-data fails with:

mkdir: Permission denied: user=1000720000, access=WRITE, inode="/":stackable:supergroup:drwxr-xr-x

And the job create-hfile-and-import-to-hbase fails with:

Exception in thread "main" org.apache.hadoop.security.AccessControlException: Permission denied: user=1000720000, access=WRITE, inode="/":stackable:supergroup:drwxr-xr-x