Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Jignesh-MacBookPro:hadoop-hbase hadoop-user$ bin/hbase --config ./config shell
- HBase Shell; enter 'help<RETURN>' for list of supported commands.
- Type "exit<RETURN>" to leave the HBase Shell
- Version 0.90.4, r1150278, Sun Jul 24 15:53:29 PDT 2011
- hbase(main):001:0> status
- ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able to connect to ZooKeeper but the connection closes immediately. This could be a sign that the server has too many connections (30 is the default). Consider inspecting your ZK server logs for that error and then make sure you are reusing HBaseConfiguration as often as you can. See HTable's javadoc for more information.
- Here is some help for this command:
- Show cluster status. Can be 'summary', 'simple', or 'detailed'. The
- default is 'summary'. Examples:
- hbase> status
- hbase> status 'simple'
- hbase> status 'summary'
- hbase> status 'detailed'
- -----------------------------------------------------------------------------------------------------------------------
- Jps command shows me as follows:
- Jignesh-MacBookPro:hadoop-hbase hadoop-user$ jps
- 38814 SecondaryNameNode
- 40394 Jps
- 38878 JobTracker
- 38726 DataNode
- 38639 NameNode
- 40312 HMaster
- 38964 TaskTracker
- my hdfs-site.xml looks like
- <?xml version="1.0"?>
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- -----------------------------------------------------------------------------------------------------------------------
- <!-- Put site-specific property overrides in this file. -->
- <configuration>
- <property>
- <name>dfs.replication</name>
- <value>1</value>
- <description>Default block replication.
- The actual number of replications can be specified when the file is created.
- The default is used if replication is not specified in create time.
- </description>
- </property>
- <property>
- <name>dfs.support.append</name>
- <value>true</value>
- </property>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement