mango
mango copied to clipboard
HTTP ERROR: 503
I mvn package and tansform to adam:
hadoop@Master:~/xubo/data/snap$ hadoop fs -ls /xubo/mango/mangoResources
Found 6 items
-rw-r--r-- 3 hadoop supergroup 16631 2016-05-30 20:18 /xubo/mango/mangoResources/mm10_chrM.fa
drwxr-xr-x - hadoop supergroup 0 2016-05-30 20:20 /xubo/mango/mangoResources/mm10_chrM.fa.adam
drwxr-xr-x - hadoop supergroup 0 2016-05-30 20:18 /xubo/mango/mangoResources/mouse_chrM.bam.adam
-rw-r--r-- 3 hadoop supergroup 948 2016-05-30 20:19 /xubo/mango/mangoResources/smalltest.bed
-rw-r--r-- 3 hadoop supergroup 390 2016-05-30 20:19 /xubo/mango/mangoResources/truetest.vcf
drwxr-xr-x - hadoop supergroup 0 2016-05-30 20:19 /xubo/mango/mangoResources/truetest.vcf.adam
and run with:
hadoop@Master:~/xubo/tools/adam-2.10-0.19-git/bin$ mango-submit /xubo/mango/mangoResources/mm10_chrM.fa.adam -read_files /xubo/mango/mangoResources/mouse_chrM.bam.adam -var_files /xubo/mango/mangoResources/truetest.vcf.adam -feat_file /xubo/mango/mangoResources/smalltest.bed -port 9993
Using SPARK_SUBMIT=/home/hadoop/cloud/spark-1.5.2//bin/spark-submit
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
View the visualization at: 9993
Variant visualization at: /variants
Overall visualization at: /overall
Quit at: /quit
then: view in http://localhost:9993/overall and error:
HTTP ERROR: 503
Problem accessing /overall. Reason:
Service Unavailable
Powered by Jetty://
How can i solve it?
Hey @xubo245 ! Let me see how I can help. Is there an additional stack trace in your browser?
Thanks @erictu . I don't know. How to find ? I use three different browser:firefox 、UC、360。And setting is default。
Hey @xubo245, what is your setup for running mango? Are you running it on a local machine, or running it on a cluster (with flag --master yarn-client)?
If you're running on a cluster with data staged in HDFS, you need to provide the flag --master yarn-client. Also when in cluster mode, you should view on the url of the cluster, not local host (such as http://masternode.amplab.net:8080/
If you're just running on a single machine with data on that machine, localhost should work.
@erictu , Code only in master node,and data in HDFS, I view on the url of cluster and local ,both have error. data in local machine can not working. --master shuold be start by spark-submit? mango-submit can not support --master. Could you give me the examples data,please? I am not sure whether the data is true. Thank you.
@xubo245 what is the .bed file in mango-submit? is it neccessary in submit command?
Hi @shibuvp! A bed file is not required, and can be used to view feature files. If you type
bin/mango-submit -h
This should show you an option for -features, where you can specify bed or ADAM files.
You do, however, need some type of reference. This can be 2bit, fa, or converted ADAM format.
Let me know if this doesn't answer your question!