Hi,

It's been awhile since I've been working with Accumulo.  To recap I have a 
standalone system with Hadoop, Zookeeper, and Accumulo 1.8.1 on it.

When I tried to start the Accumulo, it kept looping and indicating "waiting for 
initialization".

So I was doing some googling and found that the dataDir in the zoo.cfg was set 
to /tmp.

Luckily (I think) i have a snapshot of this system, so I restored from my last 
snapshot and it seems to be running all right now, but I want to fix that 
dataDir parameter, so I created a new directory, /apps/Zookeeper-data, and 
chmod'ed it to 777, but then, when I try to start Accumulo it just kind of 
hangs.

I saw from another place that I should run the "accumulo init" so I did that, 
and now, when I do start-all.sh, it seems like Accumulo is starting, but I 
cannot get to the Accumulo shell (it starts part wa, then seems to hang, a few 
lines after I enter the password:

2017-07-29 19:32:49,167 [hdfs.BlockReaderLocal] DEBUG: 
dfs.client.domain.socket.data.traffic = false
2017-07-29 19:32:49,167 [hdfs.BlockReaderLocal] DEBUG: dfs.domain.socket.path =
2017-07-29 19:32:49,267 [retry.RetryUtils] DEBUG: multipleLinearRandomRetry = 
null
2017-07-29 19:32:49,306 [ipc.Server] DEBUG: rpcKind=RPC_PROTOCOL_BUFFER, 
rpcRequestWrapperClass=class 
org.apache.hadoop.ipc.ProtobufRpcEngine$RpcRequestWrapper, 
rpcInvoker=org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker@15a13207
2017-07-29 19:32:49,319 [ipc.Client] DEBUG: getting client out of cache: 
org.apache.hadoop.ipc.Client@51de4e31
2017-07-29 19:32:49,767 [unix.DomainSocketWatcher] DEBUG: 
org.apache.hadoop.net.unix.DomainSocketWatcher$2@16577601: starting with 
interruptCheckPeriodMs = 60000
2017-07-29 19:32:49,772 [util.PerformanceAdvisory] DEBUG: Both short-circuit 
local reads and UNIX domain socket are disabled.
2017-07-29 19:32:49,778 [sasl.DataTransferSaslUtil] DEBUG: DataTransferProtocol 
not using SaslPropertiesResolver, no QOP found in configuration for 
dfs.data.transfer.protection
2017-07-29 19:32:49,824 [ipc.Client] DEBUG: The ping interval is 60000 ms.
2017-07-29 19:32:49,826 [ipc.Client] DEBUG: Connecting to 
localhost/127.0.0.1:9000
2017-07-29 19:32:49,850 [ipc.Client] DEBUG: IPC Client (958411794) connection 
to localhost/127.0.0.1:9000 from oracle: starting, having connections 1
2017-07-29 19:32:49,861 [ipc.Client] DEBUG: IPC Client (958411794) connection 
to localhost/127.0.0.1:9000 from oracle sending #0
2017-07-29 19:32:49,870 [ipc.Client] DEBUG: IPC Client (958411794) connection 
to localhost/127.0.0.1:9000 from oracle got value #0
2017-07-29 19:32:49,870 [ipc.ProtobufRpcEngine] DEBUG: Call: getListing took 
61ms
Password: ******
2017-07-29 19:32:54,605 [zookeeper.ZooSession] DEBUG: Connecting to 
localhost:2181 with timeout 30000 with auth
2017-07-29 19:32:54,814 [tracer.ZooTraceClient] DEBUG: Successfully initialized 
tracer hosts from ZooKeeper
2017-07-29 19:32:54,815 [trace.DistributedTrace] INFO : SpanReceiver 
org.apache.accumulo.tracer.ZooTraceClient was loaded successfully.
2017-07-29 19:32:54,843 [impl.ServerClient] WARN : There are no tablet servers: 
check that zookeeper and accumulo are running.
2017-07-29 19:32:59,851 [ipc.Client] DEBUG: IPC Client (958411794) connection 
to localhost/127.0.0.1:9000 from oracle: closed
2017-07-29 19:32:59,851 [ipc.Client] DEBUG: IPC Client (958411794) connection 
to localhost/127.0.0.1:9000 from oracle: stopped, remaining connections 0

I can go back to the snapshot that has the dataDir pointing to /tmp, but can 
someone tell me the steps that I would need to get the system running  after I 
change dataDir?

Thanks,
Jim

Reply via email to