n3nash commented on issue #2696: URL: https://github.com/apache/hudi/issues/2696#issuecomment-812339166
@kimberlyamandalu Yes, you should be able to switch off your metadata table without any side-effect. Although, if you want to later turn on the metadata table, you will need to delete data under `basepath/.hoodie/metadata`. Once the metadata folder is empty, you can toggle the metadata back on and things will work fine. There is a change to do this automatically in master now but for your case to debug the issue, I would recommend just deleting the metadata folder. Sure, I can help you with making the changes so you can build it and deploy the custom build. Before turning the metadata table `off`, you should make the following changes, deploy your custom build and get the logs because once you turn the metadata table `off` and then `on` the problem may not be reproducible. 1. Checkout the 0.7.0 release tag by doing `git checkout tags/version 0.7.0` 2. Add a bunch of logs to the following method -> https://github.com/apache/hudi/blob/release-0.7.0/hudi-timeline-service/src/main/java/org/apache/hudi/timeline/service/FileSystemViewHandler.java#L342. We ideally want to know which line of code is throwing the runtime exception and why. So, add logs before and after at any method invocation inside will be helpful. 2. Run the following command : mvn clean package -DskipTests 3. New bundle jars will be available under package/*. Use these new bundle jars to deploy and run to collect logs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org