1. Hive operation TMP file viewing content error
Permission denied: user=dr.who, access=READ_EXECUTE, inode="/tmp":hadoopadmin:supergroup:drwx-wx-wx
2. Cause analysis:
In case of insufficient user permissions, you can see that this tmp folder does not have read r permission for other users. The default login user of the page is dr.who users
3. Solution:
1. Change the permissions of TMP
Just execute the code:
hdfs dfs -chmod -R 777 /tmp
2. Modify the default login user of 50070
The core-site.xml can be configured as the user name corresponding to Hadoop
<property>
<name>hadoop.http.staticuser.user</name>
<value>username</value>
</property>
Read More:
- [Solved] Hive Run SQL error: mapreduce failed to initiate a task
- [Solved] Hive On Spark Error: Remote Spark Driver – HiveServer2 connection has been closed
- [Solved] socket failed: EPERM (Operation not permitted)
- [Solved] POI error: Package should contain a content type part [M1.13]
- hive Run Error: Error: Java heap space [How to Solve]
- [Fixed] Disgusting bug Error:Failed to Load project configuration: cannot parse filemessage: content is not allowed in the preface.
- DevTools failed to load SourceMap Could not load content [Solved]
- Continuous Error 404 in servlet operation [How to Solve]
- Springboot WARNING: An illegal reflective access operation has occurred
- [Solved] Kafka in Windows error:java. nio. file. Filesystemexception: this file is in use by another program and cannot be accessed by the process
- JAVA: Random access file is always garbled
- How to Solve The classpathresource reads the resource file Error
- [Solved] Read the resources resource and convert it to file error: java.io.filenotfoundexception
- [Maven] maven filtering OTS parsing error incorrect file size in WOFF head [Two Methods to Solve]
- Java parsing xml file encounters special symbols & will be abnormal solutions
- [Solved] Docker Elasticsearch8.4.0 Error: Exception in thread “main” java.nio.file.FileSystemException
- [Solved] Syntax Error: Error: ENOENT: no such file or directory, scandir ‘D:\LeStoreD
- [Solved] The war package Error: The reason why the XSD file could not be found
- Springboot Files Upload Limit Error: The field file exceeds its maximum permitted size of 1048576 bytes
- [Solved] itextpdf Read PDF File Error: Rebuild failed: trailer not found.