You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@localhost spack-src]#./bin/alluxio-mount.sh SudoMount
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
Error: Could not find or load main class alluxio.cli.GetConf
Caused by: java.lang.ClassNotFoundException: alluxio.cli.GetConf
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
Error: Could not find or load main class alluxio.cli.GetConf
Caused by: java.lang.ClassNotFoundException: alluxio.cli.GetConf
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
Error: Could not find or load main class alluxio.cli.GetConf
Caused by: java.lang.ClassNotFoundException: alluxio.cli.GetConf
看了下载源码包里确实没有version.sh这个文件
The text was updated successfully, but these errors were encountered:
I think it is a bug, try to quick fix by creating a file called "version.sh" in ./libexec/ , the content is one line "VERSION=3.x-0.9.0-SNAPSHOT". Please do not input the quotation marks(").
[root@localhost spack-src]#./bin/alluxio-mount.sh Mount
Error: Could not find or load main class alluxio.cli.GetConf
Caused by: java.lang.ClassNotFoundException: alluxio.cli.GetConf
In fact,I have encountered this problem,The issue was resolved by modifying the version in the source code. There is a high possibility that it is due to the CLASSPATH not found there jars.
comand:
1.wget https://downloads.alluxio.io/downloads/files/309/alluxio-309-bin.tar.gz
cd alluxio-309
yum install [email protected]
2.hostname
3.hostname localhost
alluxio_home = cls.spack_operator.get_bin_home(app_hash=cls.app_hash)
java_home = cls.spack_operator.get_bin_home(app_hash=cls.java_hash)
4.rm -f {alluxio_home}/conf/alluxio-site.properties
5.cp {alluxio_home}/conf/alluxio-site.properties.template {alluxio_home}/conf/alluxio-site.properties
6.echo "alluxio.master.hostname=localhost" >> {alluxio_home}/conf/alluxio-site.properties
7.rm -f {alluxio_home}/conf/alluxio-env.sh
8.cp {alluxio_home}/conf/alluxio-env.sh.template {alluxio_home}/conf/alluxio-env.sh
9.echo "export JAVA_HOME={java_home}" >> {alluxio_home}/conf/alluxio-env.sh
10.echo "export JAVA_HOME={java_home}" >> {alluxio_home}/conf/alluxio-site.properties
11.echo "export ALLUXIO_MASTER_ADDRESS=localhost" >> {alluxio_home}/conf/alluxio-site.properties
12.echo "export ALLUXIO_WORKER_MEMORY_SIZE=10240M" >> {alluxio_home}/conf/alluxio-site.properties
13.配免密等操作
if os.path.exists('/root/.ssh/id_rsa.pub'):
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 0600 ~/.ssh/authorized_keys
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
else:
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 0600 ~/.ssh/authorized_keys
sed -i "/StrictHostKeyChecking=no/d" ~/.ssh/config
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
执行挂载文件系统命令
14.alluxio-mount.sh Mount
[root@localhost spack-src]#./bin/alluxio-mount.sh SudoMount
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
Error: Could not find or load main class alluxio.cli.GetConf
Caused by: java.lang.ClassNotFoundException: alluxio.cli.GetConf
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
Error: Could not find or load main class alluxio.cli.GetConf
Caused by: java.lang.ClassNotFoundException: alluxio.cli.GetConf
/home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/bin/../libexec/alluxio-config.sh: line 29: /home/stage/root/spack-stage-alluxio-309-lucoy6qjdy2ilnj3lkw3ltzsh65udoly/spack-src/libexec/version.sh: No such file or directory
Error: Could not find or load main class alluxio.cli.GetConf
Caused by: java.lang.ClassNotFoundException: alluxio.cli.GetConf
看了下载源码包里确实没有version.sh这个文件
The text was updated successfully, but these errors were encountered: