You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@crail.apache.org by "jhli (Jira)" <ji...@apache.org> on 2020/04/06 04:06:00 UTC

[jira] [Commented] (CRAIL-110) ClassNotFoundException when running Crail

    [ https://issues.apache.org/jira/browse/CRAIL-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17076033#comment-17076033 ] 

jhli commented on CRAIL-110:
----------------------------

I copied the jars in 
$CRAIL_HOME/assembly/target/apache-crail-1.3-incubating-SNAPSHOT-bin/apache-crail-1.3-incubating-SNAPSHOT/jars/
to 
$CRAIL_HOME/jars/

And it seems that it works well. I don't know if that is the proper way, but at least it works.

> ClassNotFoundException when running Crail
> -----------------------------------------
>
>                 Key: CRAIL-110
>                 URL: https://issues.apache.org/jira/browse/CRAIL-110
>             Project: Apache Crail
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: jhli
>            Priority: Major
>
> I'm running the incubating Crail of version 1.2. I build successfully using "mvn -DskipTests install", and also copy the configuration files. However when I run the bin/crail, it tolds me that some classes are not found. What may be the possible reasons?
> Another question: If my machine does not support RDMA, is it possible to just run Crail in a standalone mode (e.g., TCP backed by DRAM), and read/write files just like HDFS?
> ----------------------
> ⋊> ~/W/j/c/incubator-crail on master ⨯ ./bin/crail datanode
> Error: Could not find or load main class org.apache.crail.storage.StorageServer
> Caused by: java.lang.ClassNotFoundException: org.apache.crail.storage.StorageServer
> ⋊> ~/W/j/c/incubator-crail on master ⨯ ./bin/crail namenode
> Error: Could not find or load main class org.apache.crail.namenode.NameNode
> Caused by: java.lang.ClassNotFoundException: org.apache.crail.namenode.NameNode
> ⋊> ~/W/j/c/incubator-crail on master ⨯ ./bin/start-crail.sh
> Error: Could not find or load main class org.apache.crail.hdfs.GetConf
> Caused by: java.lang.ClassNotFoundException: org.apache.crail.hdfs.GetConf
> -----------------------



--
This message was sent by Atlassian Jira
(v8.3.4#803005)