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

error: no reads in first split: bad BAM file or tiny split size? #896

Closed
astewart-twist opened this issue Dec 7, 2015 · 8 comments · Fixed by HadoopGenomics/Hadoop-BAM#80

Comments

@astewart-twist
Copy link

I keep receiving the following error while trying to convert a bam file into adam format.

java.io.IOException: 'file:/my.bam': no reads in first split: bad BAM file or tiny split size?

Additional info:

  • I'm able to run the small.sam test set
  • I've regenerated my bam file multiple times and checked for any kind of corruption, etc
  • I've repeated this experiment on both a local environment (spark in single machine mode), and in EMR.
  • spark-1.5.2-bin-hadoop2.6
  • adam-distribution_2.10-0.18.2
  • scala version 2.10.6

Full stack trace: https://gist.github.com/astewart-twist/ceb36e492f96fe2a2500

@heuermh
Copy link
Member

heuermh commented Feb 25, 2016

@fnothaft @jpdna I was never able to reproduce this, might it be related to #962?

@fnothaft
Copy link
Member

Nah, #962 would be output only, not input.

@heuermh
Copy link
Member

heuermh commented Feb 25, 2016

Ah right, sorry, wasn't looking closely enough

@heuermh
Copy link
Member

heuermh commented Mar 29, 2016

Fixed by HadoopGenomics/Hadoop-BAM#80 upstream, will have to wait for an update of Hadoop-BAM dependency version to 7.4.1 (or later as appropriate) to pick it up.

@heuermh
Copy link
Member

heuermh commented Apr 7, 2016

See #989 which uses Hadoop-BAM version 7.4.1-SNAPSHOT to pick up the fix for this issue. Currently blocked on Jenkins environment changes.

@fnothaft
Copy link
Member

fnothaft commented Apr 7, 2016

@shaneknapp should be back online tomorrow. I looked and alas, I do not have permissions to make the @AmplabJenkins changes.

@heuermh
Copy link
Member

heuermh commented May 18, 2016

May be fixed by #989, please retest if possible.

@fnothaft
Copy link
Member

Closing as fixed by #989.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants