2018-09-09 22:11:53
Okay, I am having some trouble with Arktika. When I start up the worker the snowfield seems to load okay but after I get to subscribing to work I get connection refusal errors:
aikida3k
2018-09-09 22:14:05
INFO: Subscribed to work
Sep 09, 2018 5:03:19 PM snowblossom.miner.LayerWorkThread run
WARNING: Error: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
at snowblossom.mining.proto.SharedMiningServiceGrpc$SharedMiningServiceBlockingStub.getWords(SharedMiningServiceGrpc.java:163)
at snowblossom.miner.FieldSourceRemote.readWordsBulk(FieldSourceRemote.java:100)
at snowblossom.miner.BatchLayerWorkThread.runPass(BatchLayerWorkThread.java:80)
at snowblossom.miner.LayerWorkThread.run(LayerWorkThread.java:189)
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.1.143:2311
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:325)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:635)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
aikida3k
2018-09-09 22:14:27
On the worker node
aikida3k
2018-09-09 22:14:42
On node1 it doesn't find the snowfield:
aikida3k
2018-09-09 22:16:02
INFO: Starting Arktika version 1.3.3
Sep 09, 2018 4:38:46 PM snowblossom.miner.Arktika loadField
INFO: Mem range: 0 to 5
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to load chunk 0 into memory. Not in sources.
at duckutil.TaskMaster.getResults(TaskMaster.java:69)
at duckutil.TaskMaster.getResults(TaskMaster.java:53)
at snowblossom.miner.FieldSourceMem.<init>(FieldSourceMem.java:68)
at snowblossom.miner.Arktika.loadField(Arktika.java:466)
at snowblossom.miner.Arktika.<init>(Arktika.java:139)
at snowblossom.miner.Arktika.main(Arktika.java:65)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to load chunk 0 into memory. Not in sources.
aikida3k
2018-09-09 22:17:23
So why is the GRPC server unavailable?
aikida3k
2018-09-09 22:18:10
Need file source for memory chunks
Fireduck
2018-09-09 22:20:33
`layer_20_type=file`
`layer_20_path=/home/arktika/snow`
`layer_20_threads=0`
aikida3k
2018-09-09 22:21:05
that is in the node1.conf
aikida3k
2018-09-09 22:21:10
You have 20 layers?
Fireduck
2018-09-09 22:21:14
yes
aikida3k
2018-09-09 22:21:25
Each node needs filesystem access to the chunks
Fireduck
2018-09-09 22:22:04
NFS is fine
Fireduck
2018-09-09 22:24:14
I don't give filesystem access by specifying the path to the worker-- ah so I have to install a file server where the snowfield is located?
aikida3k
2018-09-09 22:25:39
Yeah
I have my main server be nfs server for the smaller nodes
Fireduck