lamber-ken commented on issue #1110: [HUDI-416] improve hint information for cli URL: https://github.com/apache/incubator-hudi/pull/1110#issuecomment-568130319 IMO, It would be better if we could hide hidden the exception trace, just keep the hint info. ``` Command failed java.lang.NullPointerException: There is no hudi dataset. Please use connect command to set dataset first There is no hudi dataset. Please use connect command to set dataset first java.lang.NullPointerException: There is no hudi dataset. Please use connect command to set dataset first at org.apache.hudi.cli.HoodieCLI.getTableMetaClient(HoodieCLI.java:98) at org.apache.hudi.cli.commands.StatsCommand.writeAmplificationStats(StatsCommand.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleExecutionStrategy.java:68) at org.springframework.shell.core.SimpleExecutionStrategy.execute(SimpleExecutionStrategy.java:59) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:134) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:533) at org.springframework.shell.core.JLineShell.run(JLineShell.java:179) at java.lang.Thread.run(Thread.java:748) hudi-> ```
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
