Member since
05-31-2017
17
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2916 | 06-01-2017 07:54 AM |
06-01-2017
07:54 AM
Thanks!. Looks like your suggested call successfully returned.
... View more
05-31-2017
03:56 PM
I'm connecting to Navigator and attempting to make rest api calls. I keep getting {
"message" : "Invalid id : 4500 5267"
} when trying to make a lineage call with multiple entityids. The url i'm using is below http://vm-cloudera-59:7187/api/v10/lineage3/?entityIds=4500%205267
... View more
Labels:
- Labels:
-
Cloudera Navigator
08-29-2016
05:57 PM
Exception in thread "main" org.apache.hadoop.net.ConnectTimeoutException: Call From rw1.rw.com/177.277.22.177 to rw2.rw.com:8020 failed on socket timeout exception: org.apache.hadoop.net.ConnectTimeoutException: 20000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending local=177.277.22.177:43214 remote=rw2.rw.com/17.17.33.7:8020]; For more details see: http://wiki.apache.org/hadoop/SocketTimeout
... View more
Labels:
- Labels:
-
Apache Hadoop
06-02-2016
08:14 PM
Thank you. I haven't had a chance to look at the logs. Other tasks came up. I'll update the question once I've done that
... View more
06-01-2016
09:26 PM
Is that accessible through ambari or do I have to get it from my SSH Horton client
... View more
06-01-2016
08:58 PM
I set the hadoop home directory. I'm still getting the same zookeper connection errors
... View more
06-01-2016
06:24 PM
I also added the following to my local windows host file 127.0.0.1 localhost 10.0.2.15 sandbox sandbox.hortonworks.com
... View more
06-01-2016
06:03 PM
I've put the hbase-site.xml in the classpath. I get an updated log which I've atatchederrorlog.txt Thank you for your help
... View more
06-01-2016
05:12 PM
Yes I'm trying to connect to an hbase cluster to perform CRUD oeprations on tables. My java program currently looks like this Configuration conf = HBaseConfiguration.create(); try {
HBaseAdmin.checkHBaseAvailable(conf);
}
catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } HBase Version
1.1.2.2.4.0.0-169, revision=61dfb2b344f424a11f93b3f086eab815c1eb0b6a
ZooKeeper Client Version 3.4.6-169, revision=-1 Zookeeper Quorum sandbox.hortonworks.com:2181 Zookeeper Base Path /hbase-unsecure Hadoop Version 2.7.1.2.4.0.0-169, revision=26104d8ac833884c8776473823007f176854f2eb All information gotten from Ambari Dashboard. The hbase-site xml were also downloaded from the Ambari dashboard. I'm currently using hbase-1.1.5 bin version jars in my local java project. I also had to set a local hadoop home directory in vm arguments because I got the below error 2016-06-01 10:12:17,088 ERROR [main] util.Shell: Failed to locate the winutils binary in the hadoop binary path
java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
... View more
06-01-2016
04:37 PM
No. There is not zk client running on my local machine. I think my java program fails to connect to zookeper. I get the below error as well 2016-05-31 16:04:05,827 INFO [main-SendThread(0:0:0:0:0:0:0:1:2181)] zookeeper.ClientCnxn: Opening socket connection to server 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
2016-05-31 16:04:06,830 WARN [main-SendThread(0:0:0:0:0:0:0:1:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 2016-05-31 16:04:06,935 INFO [main-SendThread(127.0.0.1:2181)] zookeeper.ClientCnxn: Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2016-05-31 16:04:06,945 WARN [main] zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=localhost:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid 2016-05-31 16:04:07,937 WARN [main-SendThread(127.0.0.1:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
... View more