Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfsio does not work if mapreduce.output.fileoutputformat.compress is true #4645

Closed
kyungwan-nam opened this issue Apr 5, 2024 · 0 comments · Fixed by #4646
Closed

dfsio does not work if mapreduce.output.fileoutputformat.compress is true #4645

kyungwan-nam opened this issue Apr 5, 2024 · 0 comments · Fixed by #4646
Labels
kind/bug Something isn't working

Comments

@kyungwan-nam
Copy link
Contributor

What happened:

dfsio was failed as below.

dfsio assumes the output file is part-00000.
but, it would be part-00000.gz if mapreduce.output.fileoutputformat.compress is true in the mapred-site.xml

        Shuffle Errors
                BAD_ID=0
                CONNECTION=0
                IO_ERROR=0
                WRONG_LENGTH=0
                WRONG_MAP=0
                WRONG_REDUCE=0
        File Input Format Counters 
                Bytes Read=1120
        File Output Format Counters 
                Bytes Written=88
Exception in thread "main" java.io.FileNotFoundException: jfs://juicefs/dfsio/io_write/part-00000: not found
        at io.juicefs.JuiceFileSystemImpl.error(JuiceFileSystemImpl.java:250)
        at io.juicefs.JuiceFileSystemImpl.open(JuiceFileSystemImpl.java:989)
        at org.apache.hadoop.fs.FilterFileSystem.open(FilterFileSystem.java:164)
        at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:899)
        at io.juicefs.bench.TestDFSIO.analyzeResult(TestDFSIO.java:852)
        at io.juicefs.bench.TestDFSIO.run(TestDFSIO.java:357)
        at io.juicefs.Main.main(Main.java:327)
        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.apache.hadoop.util.RunJar.run(RunJar.java:318)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:232)

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?

Environment:

  • JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
  • Cloud provider or hardware configuration running JuiceFS:
  • OS (e.g cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Object storage (cloud provider and region, or self maintained):
  • Metadata engine info (version, cloud provider managed or self maintained):
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant