You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2020/01/15 02:54:44 UTC
[GitHub] [fluo] jkosh44 opened a new issue #1084: Condense fluo.sh
jkosh44 opened a new issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084
After the changes done in #1083 the Java entry point for all the commands is the same class, [FluoProgram](https://github.com/apache/fluo/blob/master/modules/command/src/main/java/org/apache/fluo/command/FluoProgram.java). This has led to some duplication in the [fluo](https://github.com/apache/fluo/blob/master/modules/distribution/src/main/scripts/fluo) script, specifically in the case statement at the end. Some work could be done to remove the duplication and condense the script.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN edited a comment on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN edited a comment on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596417418
I am glad you guys are there to support me, I am trying to setup my local dev environment(Ubuntu). I am facing few issues while trying to run fluo-uno.
```Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Loading configuration from /home/flyingcanopy/fluo-uno/install/accumulo-2.0.0/conf/accumulo-client.properties
2020-03-09 02:04:26,278 [start.Main] ERROR: Thread 'shell' died.
java.lang.RuntimeException: Instance name uno does not exist in zookeeper. Run "accumulo org.apache.accumulo.server.util.ListInstances" to see a list.
at org.apache.accumulo.core.clientImpl.ClientContext.getInstanceID(ClientContext.java:400)
at org.apache.accumulo.core.clientImpl.InstanceOperationsImpl.getInstanceID(InstanceOperationsImpl.java:239)
at org.apache.accumulo.shell.Shell.printInfo(Shell.java:631)
at org.apache.accumulo.shell.Shell.start(Shell.java:533)
at org.apache.accumulo.shell.Shell.execute(Shell.java:517)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
at java.base/java.lang.Thread.run(Thread.java:830).
```
Someone else faced this issue before and resolved it - [Instance name uno does not exist in zookeeper #224](https://github.com/apache/fluo-uno/issues/224). Although the issue he faced and I faced are the same as seen from the logs. I am assuming the cause of the issue might not be the same , hence the fix that he applied is not working for me. Please Let me know if you know how to fix this issue?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ctubbsii commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ctubbsii commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596815804
> @ctubbsii you were right , I checked the logs and the issues seems to be with not having passwordless authentication.
Great! Glad you got it working.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN edited a comment on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN edited a comment on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596627028
I see this in /install/logs/setup/accumulo.err
```
`Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2020-03-09 08:57:02,347 [conf.SiteConfiguration] INFO : Found Accumulo configuration on classpath at /home/flyingcanopy/fluo-uno/install/accumulo-2.0.0/conf/accumulo.properties
2020-03-09 08:57:03,708 [init.Initialize] INFO : Hadoop Filesystem is hdfs://localhost:8020
2020-03-09 08:57:03,709 [init.Initialize] INFO : Accumulo data dirs are [hdfs://localhost:8020/accumulo]
2020-03-09 08:57:03,709 [init.Initialize] INFO : Zookeeper server is localhost:2181
2020-03-09 08:57:03,710 [init.Initialize] INFO : Checking if Zookeeper is available. If this hangs, then you need to make sure zookeeper is running
2020-03-09 08:57:03,922 [init.Initialize] ERROR: Fatal exception
java.io.IOException: Failed to check if filesystem already initialized
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:285)
at org.apache.accumulo.server.init.Initialize.doInit(Initialize.java:323)
at org.apache.accumulo.server.init.Initialize.execute(Initialize.java:991)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.net.ConnectException: Call From ubuntu/192.168.65.128 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:833)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:757)
at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1549)
at org.apache.hadoop.ipc.Client.call(Client.java:1491)
at org.apache.hadoop.ipc.Client.call(Client.java:1388)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:118)
at com.sun.proxy.$Proxy19.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:907)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
at com.sun.proxy.$Proxy20.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1666)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1576)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1573)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1588)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1683)
at org.apache.accumulo.server.fs.VolumeManagerImpl.exists(VolumeManagerImpl.java:254)
at org.apache.accumulo.server.init.Initialize.isInitialized(Initialize.java:860)
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:280)
... 4 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:579)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:820)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:533)
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:700)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:804)
at org.apache.hadoop.ipc.Client$Connection.access$3800(Client.java:421)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1606)
at org.apache.hadoop.ipc.Client.call(Client.java:1435)
... 28 more
2020-03-09 08:57:03,928 [start.Main] ERROR: Thread 'init' died.
java.lang.RuntimeException: java.io.IOException: Failed to check if filesystem already initialized
at org.apache.accumulo.server.init.Initialize.execute(Initialize.java:997)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.io.IOException: Failed to check if filesystem already initialized
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:285)
at org.apache.accumulo.server.init.Initialize.doInit(Initialize.java:323)
at org.apache.accumulo.server.init.Initialize.execute(Initialize.java:991)
... 2 more
Caused by: java.net.ConnectException: Call From ubuntu/192.168.65.128 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:833)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:757)
at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1549)
at org.apache.hadoop.ipc.Client.call(Client.java:1491)
at org.apache.hadoop.ipc.Client.call(Client.java:1388)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:118)
at com.sun.proxy.$Proxy19.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:907)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
at com.sun.proxy.$Proxy20.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1666)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1576)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1573)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1588)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1683)
at org.apache.accumulo.server.fs.VolumeManagerImpl.exists(VolumeManagerImpl.java:254)
at org.apache.accumulo.server.init.Initialize.isInitialized(Initialize.java:860)
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:280)
... 4 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:579)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:820)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:533)
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:700)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:804)
at org.apache.hadoop.ipc.Client$Connection.access$3800(Client.java:421)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1606)
at org.apache.hadoop.ipc.Client.call(Client.java:1435)
... 28 more`
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596627028
I see this in /install/logs/setup/accumulo.err
`Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2020-03-09 08:57:02,347 [conf.SiteConfiguration] INFO : Found Accumulo configuration on classpath at /home/flyingcanopy/fluo-uno/install/accumulo-2.0.0/conf/accumulo.properties
2020-03-09 08:57:03,708 [init.Initialize] INFO : Hadoop Filesystem is hdfs://localhost:8020
2020-03-09 08:57:03,709 [init.Initialize] INFO : Accumulo data dirs are [hdfs://localhost:8020/accumulo]
2020-03-09 08:57:03,709 [init.Initialize] INFO : Zookeeper server is localhost:2181
2020-03-09 08:57:03,710 [init.Initialize] INFO : Checking if Zookeeper is available. If this hangs, then you need to make sure zookeeper is running
2020-03-09 08:57:03,922 [init.Initialize] ERROR: Fatal exception
java.io.IOException: Failed to check if filesystem already initialized
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:285)
at org.apache.accumulo.server.init.Initialize.doInit(Initialize.java:323)
at org.apache.accumulo.server.init.Initialize.execute(Initialize.java:991)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.net.ConnectException: Call From ubuntu/192.168.65.128 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:833)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:757)
at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1549)
at org.apache.hadoop.ipc.Client.call(Client.java:1491)
at org.apache.hadoop.ipc.Client.call(Client.java:1388)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:118)
at com.sun.proxy.$Proxy19.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:907)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
at com.sun.proxy.$Proxy20.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1666)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1576)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1573)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1588)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1683)
at org.apache.accumulo.server.fs.VolumeManagerImpl.exists(VolumeManagerImpl.java:254)
at org.apache.accumulo.server.init.Initialize.isInitialized(Initialize.java:860)
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:280)
... 4 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:579)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:820)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:533)
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:700)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:804)
at org.apache.hadoop.ipc.Client$Connection.access$3800(Client.java:421)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1606)
at org.apache.hadoop.ipc.Client.call(Client.java:1435)
... 28 more
2020-03-09 08:57:03,928 [start.Main] ERROR: Thread 'init' died.
java.lang.RuntimeException: java.io.IOException: Failed to check if filesystem already initialized
at org.apache.accumulo.server.init.Initialize.execute(Initialize.java:997)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.io.IOException: Failed to check if filesystem already initialized
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:285)
at org.apache.accumulo.server.init.Initialize.doInit(Initialize.java:323)
at org.apache.accumulo.server.init.Initialize.execute(Initialize.java:991)
... 2 more
Caused by: java.net.ConnectException: Call From ubuntu/192.168.65.128 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:833)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:757)
at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1549)
at org.apache.hadoop.ipc.Client.call(Client.java:1491)
at org.apache.hadoop.ipc.Client.call(Client.java:1388)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:118)
at com.sun.proxy.$Proxy19.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:907)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
at com.sun.proxy.$Proxy20.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1666)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1576)
at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1573)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1588)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1683)
at org.apache.accumulo.server.fs.VolumeManagerImpl.exists(VolumeManagerImpl.java:254)
at org.apache.accumulo.server.init.Initialize.isInitialized(Initialize.java:860)
at org.apache.accumulo.server.init.Initialize.checkInit(Initialize.java:280)
... 4 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:579)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:820)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:533)
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:700)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:804)
at org.apache.hadoop.ipc.Client$Connection.access$3800(Client.java:421)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1606)
at org.apache.hadoop.ipc.Client.call(Client.java:1435)
... 28 more`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN removed a comment on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN removed a comment on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596479284
> I am glad you guys are there to support me, I am trying to setup my local dev environment(Ubuntu). I am facing few issues while trying to run fluo-uno.
>
> ```java
> Loading configuration from /home/flyingcanopy/fluo-uno/install/accumulo-2.0.0/conf/accumulo-client.properties
> 2020-03-09 02:04:26,278 [start.Main] ERROR: Thread 'shell' died.
> java.lang.RuntimeException: Instance name uno does not exist in zookeeper. Run "accumulo org.apache.accumulo.server.util.ListInstances" to see a list.
> at org.apache.accumulo.core.clientImpl.ClientContext.getInstanceID(ClientContext.java:400)
> at org.apache.accumulo.core.clientImpl.InstanceOperationsImpl.getInstanceID(InstanceOperationsImpl.java:239)
> at org.apache.accumulo.shell.Shell.printInfo(Shell.java:631)
> at org.apache.accumulo.shell.Shell.start(Shell.java:533)
> at org.apache.accumulo.shell.Shell.execute(Shell.java:517)
> at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
> at java.base/java.lang.Thread.run(Thread.java:830).
> ```
>
> Someone else faced this issue before and resolved it - [Instance name uno does not exist in zookeeper #224](https://github.com/apache/fluo-uno/issues/224). Although the issue he faced and I faced are the same as seen from the logs. I am assuming the cause of the issue might not be the same , hence the fix that he applied is not working for me. Please Let me know if you know how to fix this issue?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ctubbsii commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ctubbsii commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596569004
Are there any more details in the log files in `${YOUR_UNO_DIR}/install/logs/accumulo/*` or `${YOUR_UNO_DIR}/install/logs/setup/*`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ctubbsii commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ctubbsii commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596208471
@ZoukeNN Creating a bash function to collapse some things seems like a good idea. Additionally, some cases could be combined that have identical bodies.
Example:
```bash
config|get-jars)
check_conn_props
$JAVA org.apache.fluo.command.FluoProgram "$@"
;;
status|wait)
$JAVA org.apache.fluo.command.FluoProgram "$@"
;;
```
Also, be sure to use [shellcheck](https://github.com/koalaman/shellcheck) to check for potential problems.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] jkosh44 commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
jkosh44 commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596239488
I agree with @ctubbsii. For testing you can use [fluo-uno](https://github.com/apache/fluo-uno/) to set up your local environment and you can use [stresso](https://github.com/apache/fluo-examples/tree/master/stresso) as a test app.
Don't hesitate at all if you have any questions, we're happy to help.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596713006
@ctubbsii you were right , I checked the logs and the issues seems to be with not having passwordless authentication.
This did the work
`
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
`
`
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
`
Currently I am able to access uno shell.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596479284
> I am glad you guys are there to support me, I am trying to setup my local dev environment(Ubuntu). I am facing few issues while trying to run fluo-uno.
>
> ```java
> Loading configuration from /home/flyingcanopy/fluo-uno/install/accumulo-2.0.0/conf/accumulo-client.properties
> 2020-03-09 02:04:26,278 [start.Main] ERROR: Thread 'shell' died.
> java.lang.RuntimeException: Instance name uno does not exist in zookeeper. Run "accumulo org.apache.accumulo.server.util.ListInstances" to see a list.
> at org.apache.accumulo.core.clientImpl.ClientContext.getInstanceID(ClientContext.java:400)
> at org.apache.accumulo.core.clientImpl.InstanceOperationsImpl.getInstanceID(InstanceOperationsImpl.java:239)
> at org.apache.accumulo.shell.Shell.printInfo(Shell.java:631)
> at org.apache.accumulo.shell.Shell.start(Shell.java:533)
> at org.apache.accumulo.shell.Shell.execute(Shell.java:517)
> at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
> at java.base/java.lang.Thread.run(Thread.java:830).
> ```
>
> Someone else faced this issue before and resolved it - [Instance name uno does not exist in zookeeper #224](https://github.com/apache/fluo-uno/issues/224). Although the issue he faced and I faced are the same as seen from the logs. I am assuming the cause of the issue might not be the same , hence the fix that he applied is not working for me. Please Let me know if you know how to fix this issue?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ctubbsii commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ctubbsii commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596664073
That error seems to indicate that Hadoop itself didn't start. So, you should probably check the Hadoop logs next. My instinct says that it's because the Hadoop script tried to ssh to localhost to complete the setup, and you probably don't have passwordless authentication set up over ssh. (https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/SingleCluster.html#Setup_passphraseless_ssh), but you may have to confirm with the Hadoop or setup logs.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596200784
Hi @jkosh44 ,
Im new to this project, Before I start to refactor the script, I would like to explain how I would refactor to make sure I am not missing anything.
The last case statement starts at line no - 129 , Inside this case body there are lot calls to $JAVA org.apache.fluo.command.FluoProgram with different arguments like
- $JAVA org.apache.fluo.command.FluoProgram $1
- $JAVA org.apache.fluo.command.FluoProgram $1 -h
- $JAVA org.apache.fluo.command.FluoProgram "$@"
so on...
My idea is create a function which accepts arguments for running Java.. Here are a list of arguments
1. Java Class Name
2. List of arguments to Java program
By doing this, We can make the script more reusable. Please let me know if I am on the right track? Are there any important points I'm missing?. If I am on the right track . I will start working on refactoring the code.
Best Regards,
Bhuvan.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [fluo] ZoukeNN commented on issue #1084: Condense fluo.sh
Posted by GitBox <gi...@apache.org>.
ZoukeNN commented on issue #1084: Condense fluo.sh
URL: https://github.com/apache/fluo/issues/1084#issuecomment-596417418
I am glad you guys are there to support me, I am trying to setup my local dev environment. I am facing few issues while trying to run fluo-uno.
```Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Loading configuration from /home/flyingcanopy/fluo-uno/install/accumulo-2.0.0/conf/accumulo-client.properties
2020-03-09 02:04:26,278 [start.Main] ERROR: Thread 'shell' died.
java.lang.RuntimeException: Instance name uno does not exist in zookeeper. Run "accumulo org.apache.accumulo.server.util.ListInstances" to see a list.
at org.apache.accumulo.core.clientImpl.ClientContext.getInstanceID(ClientContext.java:400)
at org.apache.accumulo.core.clientImpl.InstanceOperationsImpl.getInstanceID(InstanceOperationsImpl.java:239)
at org.apache.accumulo.shell.Shell.printInfo(Shell.java:631)
at org.apache.accumulo.shell.Shell.start(Shell.java:533)
at org.apache.accumulo.shell.Shell.execute(Shell.java:517)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:129)
at java.base/java.lang.Thread.run(Thread.java:830).
```
Someone else faced this issue before and resolved it - [Instance name uno does not exist in zookeeper #224](https://github.com/apache/fluo-uno/issues/224). Although the issue he faced and I faced are the same as seen from the logs. I am assuming the cause of the issue might not be the same , hence the fix that he applied is not working for me. Please Let me know if you know how to fix this issue?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services