This topic provides brief overviews of permissions and logging.
The DP CLI script is installed with ownership permission for the person who ran the installer. These permissions can be changed by the owner to allow anyone else to run the script.
hadoop fs -chmod -R 777 /user/bdd/edp/data
j_jones@node1:data-processing/edp_cli $ HADOOP_USER_NAME=bdd ./data_processing_CLI -t myTable
HADOOP_USER_NAME=hdfs hadoop fs -chmod -R 777 /user/bdd/edp/data
The DP CLI logs detailed information about its workflow into the log file defined in the log4j.properties file. This file is located in the $BDD_HOME/dataprocessing/edp_cli/config directory.
The implementation of the BDD Hive Table Detector is based on the DP CLI, so it uses the same logging properties as the DP CLI script. It also produces verbose outputs (on some classes) to stdout/stderr.