Troubleshooting the FUSE-Based POSIX Client
Explains how to enable and collect the stack trace to troubleshoot POSIX client issues.
This section contains information for troubleshooting the FUSE-based POSIX client.
Enabling Traces
To enable traces at system startup, set the property fs.mapr.trace
in the
core-site.xml
file. For example:
<property>
<name>fs.mapr.trace</name>
<value>DEBUG | INFO | WARN | ERROR | CRITICAL | OFF</value>
<description> </description>
</property>
Collecting the Stack Trace
If the mountpoint is not responding or if the filesystem operations are taking too much time, collect the stack trace of all the threads to debug. To collect the stack trace of all threads, run the following command:
gstack <fuse-process-id> > ./gstack.log
If the filesystem commands fail, repeat the filesystem command with strace
and collect the log file:
strace <filesystem command> > ./strace.log