Using the Original Information from HDFS
Update or add the following properties to hdfs-site.xml
if you want CTE to use the original user information from HDFS.
-
Add the following properties to
hdfs-site.xml
.<property> <name>dfs.block.access.token.enable</name> <value>true</value> </property> <property> <name>dfs.client.read.shortcircuit</name> <value>false</value> </property> <property> <name>dfs.vte.user.push</name> <value>true</value> </property>
-
Save the file.
-
Restart HDFS NameNode and DataNode services.