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

Unable to create .adam from .sam #1717

Closed
Rokshan2016 opened this issue Sep 12, 2017 · 8 comments
Closed

Unable to create .adam from .sam #1717

Rokshan2016 opened this issue Sep 12, 2017 · 8 comments
Milestone

Comments

@Rokshan2016
Copy link

@Rokshan2016 Rokshan2016 commented Sep 12, 2017

Can anyone help for this---

Exception in thread "main" java.io.FileNotFoundException: Couldn't find any files matching /home/rokshan.jahan/project/spark-genome-alignment-demo/build/adam/adam-co/src/test/resources/small.sam. If you are trying to glob a directory of Parquet files, you need to glob inside the directory as well (e.g., "glob.me..adam/", instead of "glob.me.*.adam".

@heuermh
Copy link
Member

@heuermh heuermh commented Sep 12, 2017

Sure, what is the call that causes this exception?

@Rokshan2016
Copy link
Author

@Rokshan2016 Rokshan2016 commented Sep 12, 2017

Thanks for quick reply
I am trying to convert .sam to .adam

./adam-submit transformAlignments /home/rokshan.jahan/project/spark-genome-alignment-demo/build/adam/adam-co/src/test/resources/small.sam /home/rokshan.jahan/project/spark-genome-alignment-demo/build/adam/adam-core/src/test/resources/small.adam

@heuermh
Copy link
Member

@heuermh heuermh commented Sep 12, 2017

You might have a typo:

/home/rokshan.jahan/project/spark-genome-alignment-demo/build/adam/adam-co/src/test/resources/small.sam

to

/home/rokshan.jahan/project/spark-genome-alignment-demo/build/adam/adam-core/src/test/resources/small.sam

@Rokshan2016
Copy link
Author

@Rokshan2016 Rokshan2016 commented Sep 12, 2017

ok , let me check that, thanks

@Rokshan2016
Copy link
Author

@Rokshan2016 Rokshan2016 commented Sep 12, 2017

error.txt

Please find the full stack trace
Thanks

@heuermh
Copy link
Member

@heuermh heuermh commented Sep 12, 2017

If you are using Spark on YARN over a cluster, then the paths need to be on shared storage, such as HDFS.

@Rokshan2016
Copy link
Author

@Rokshan2016 Rokshan2016 commented Sep 12, 2017

ok, let me try that

Thanks

@Rokshan2016
Copy link
Author

@Rokshan2016 Rokshan2016 commented Sep 12, 2017

It works .
Thanks:)

@heuermh heuermh added this to the 0.23.0 milestone Dec 7, 2017
@heuermh heuermh added this to Completed in Release 0.23.0 Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.