Hi everyone!
I want to establish the tachyon based on hadoop in one machine.My enviroment is using tachyon0.8.0 & hadoop1.0.4.When I run the comand "bin/tachyon-start.sh all Mount",I can
see the result as follows:
[root@de24 tachyon-0.8.0]# bin/tachyon-start.sh all Mount
Killed 0 processes on de24
Killed 0 processes on de24
Connecting to de24 as root...
Killed 0 processes on de24
Connection to de24 closed.
Starting master @ de24
Connecting to de24 as root...
Formatting RamFS: /mnt/ramdisk (1gb)
Starting worker @ de24
Connection to de24 closed.
[root@de24 tachyon-0.8.0]# jps
14213 TaskTracker
13794 DataNode
13951 SecondaryNameNode
19256 Jps
14058 JobTracker
19067 TachyonMaster
The result is not ture,because there is no TachyonWorker running. So I catch the file /home/xiaorz/tachyon-0.8.0/logs/worker.log,which content is listed below,
2015-10-26 17:54:55,930 INFO internal.PlatformDependent (Slf4JLogger.java:info) - Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.
2015-10-26 17:54:56,031 INFO (FileUtils.java:createStorageDirPath) - Folder /mnt/ramdisk/tachyonworker was created!
2015-10-26 17:54:56,050 ERROR WORKER_LOGGER (MetricsConfig.java:loadConfigFile) - Error loading metrics configuration file.
2015-10-26 17:54:56,097 ERROR WORKER_LOGGER (TachyonWorker.java:main) - Failed to initialize the block worker, exiting.
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at tachyon.worker.DataServer$Factory.createDataServer(DataServer.java:42)
at tachyon.worker.block.BlockWorker.<init>(BlockWorker.java:182)
at tachyon.worker.TachyonWorker.main(TachyonWorker.java:42)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at tachyon.util.CommonUtils.createNewClassInstance(CommonUtils.java:138)
at tachyon.worker.DataServer$Factory.createDataServer(DataServer.java:37)
... 2 more
Caused by: java.lang.IllegalStateException: failed to create a child event loop
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:68)
at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)
at io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:61)
at io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:49)
at tachyon.util.network.NettyUtils.createEventLoop(NettyUtils.java:55)
at tachyon.worker.netty.NettyDataServer.createBootstrapOfType(NettyDataServer.java:146)
at tachyon.worker.netty.NettyDataServer.createBootstrap(NettyDataServer.java:73)
at tachyon.worker.netty.NettyDataServer.<init>(NettyDataServer.java:54)
... 8 more
Caused by: java.lang.NullPointerException
at io.netty.util.internal.PlatformDependent0.allocateMemory(PlatformDependent0.java:373)
at io.netty.util.internal.PlatformDependent.allocateMemory(PlatformDependent.java:197)
at io.netty.channel.epoll.EpollEventArray.allocate(EpollEventArray.java:56)
at io.netty.channel.epoll.EpollEventArray.<init>(EpollEventArray.java:52)
at io.netty.channel.epoll.EpollEventLoop.<init>(EpollEventLoop.java:65)
at io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:76)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:64)
... 15 more
So what can I do to solve this problem? Thank you very much !