Advertisement
Guest User

Untitled

a guest
Oct 14th, 2011
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. OS: LionX
  2. Hadoop Version : 0.20.205.0
  3. Hbase version 0.90.4
  4.  
  5. Hdfs-site.xml looks as follows
  6.  
  7. <configuration>
  8. <property>
  9. <name>dfs.replication</name>
  10. <value>1</value>
  11. <description>Default block replication.
  12. The actual number of replications can be specified when the file is created.
  13. The default is used if replication is not specified in create time.
  14. </description>
  15. </property>
  16. <property>
  17. <name>dfs.support.append</name>
  18. <value>true</value>
  19. </property>
  20.  
  21. <property>
  22. <name>dfs.datanode.max.xcievers</name>
  23. <value>4096</value>
  24. </property>
  25.  
  26. </configuration>
  27.  
  28. hbase-site.xml looks as follows
  29.  
  30. configuration>
  31. <property>
  32. <name>hbase.rootdir</name>
  33. <value>hdfs://localhost:9000/hbase</value>
  34. </property>
  35. <property>
  36. <name>dfs.replication</name>
  37. <value>1</value>
  38. </property>
  39.  
  40.  
  41.  
  42. <property>
  43. <name>hbase.zookeeper.property.clientPort</name>
  44. <value>2181</value>
  45. <description>Property from ZooKeeper's config zoo.cfg.
  46. The port at which the clients will connect.
  47. </description>
  48. </property>
  49.  
  50. <property>
  51. <name>hbase.zookeeper.quorum</name>
  52. <value>localhost</value>
  53. <description>Comma separated list of servers in the ZooKeeper Quorum.
  54. For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
  55. By default this is set to localhost for local and pseudo-distributed modes
  56. of operation. For a fully-distributed setup, this should be set to a full
  57. list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh
  58. this is the list of servers which we will start/stop ZooKeeper on.
  59. </description>
  60. </property>
  61.  
  62. <property>
  63. <name>hbase.zookeeper.property.dataDir</name>
  64. <value>/users/hadoop-user/zookeeper</value>
  65. <description>Property from ZooKeeper's config zoo.cfg.
  66. The directory where the snapshot is stored.
  67. </description>
  68. </property>
  69.  
  70. </configuration>
  71.  
  72. The error I am getting
  73.  
  74. 2011-10-14 14:38:21,382 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server localhost/fe80:0:0:0:0:0:0:1%1:2181
  75. 2011-10-14 14:38:21,383 WARN org.apache.zookeeper.ClientCnxn: Session 0x13303b76e500002 for server null, unexpected error, closing socket connection and attempting reconnect
  76. java.net.ConnectException: Connection refused
  77. at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
  78. at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
  79. at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement