You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/07/17 12:27:24 UTC

[GitHub] [hudi] tooptoop4 opened a new issue #1843: [SUPPORT] Hudi cli errors when doing 'stats filesizes' on hoodie 0.4.6 data

tooptoop4 opened a new issue #1843:
URL: https://github.com/apache/hudi/issues/1843


   hudi cli is 0.5.3, data under the s3 path was written by hoodie 0.4.6
   
   
   stats filesizes --partitionPath unknown
   ```
   Command failed java.lang.ArrayIndexOutOfBoundsException: 2
   2
   java.lang.ArrayIndexOutOfBoundsException: 2
           at org.apache.hudi.common.util.FSUtils.getCommitTime(FSUtils.java:137)
           at org.apache.hudi.cli.commands.StatsCommand.fileSizeStats(StatsCommand.java:124)
           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)
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [hudi] tooptoop4 edited a comment on issue #1843: [SUPPORT] Hudi cli errors when doing 'stats filesizes' on hoodie 0.4.6 data

Posted by GitBox <gi...@apache.org>.
tooptoop4 edited a comment on issue #1843:
URL: https://github.com/apache/hudi/issues/1843#issuecomment-752636435


   @bvaradar i am getting same problem on table created in 0.5.3
   
   UPDATE: i found the cause, i had an empty file called x on the s3 path, after removing that file the hudi cli command worked


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [hudi] bvaradar commented on issue #1843: [SUPPORT] Hudi cli errors when doing 'stats filesizes' on hoodie 0.4.6 data

Posted by GitBox <gi...@apache.org>.
bvaradar commented on issue #1843:
URL: https://github.com/apache/hudi/issues/1843#issuecomment-668665986


   If you are still seeing the problem in 0.5.x, please reopen the ticket with more details


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [hudi] bvaradar closed issue #1843: [SUPPORT] Hudi cli errors when doing 'stats filesizes' on hoodie 0.4.6 data

Posted by GitBox <gi...@apache.org>.
bvaradar closed issue #1843:
URL: https://github.com/apache/hudi/issues/1843


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [hudi] tooptoop4 commented on issue #1843: [SUPPORT] Hudi cli errors when doing 'stats filesizes' on hoodie 0.4.6 data

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #1843:
URL: https://github.com/apache/hudi/issues/1843#issuecomment-752636435


   @bvaradar i am getting same problem on table created in 0.5.3


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [hudi] bvaradar commented on issue #1843: [SUPPORT] Hudi cli errors when doing 'stats filesizes' on hoodie 0.4.6 data

Posted by GitBox <gi...@apache.org>.
bvaradar commented on issue #1843:
URL: https://github.com/apache/hudi/issues/1843#issuecomment-660423821


   Please list all the contents of the partition that you are listing. 


----------------------------------------------------------------
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:
users@infra.apache.org