AnsweredAssumed Answered

Hbase shell and namespace mapping

Question asked by suxingfate on Feb 5, 2015
Latest reply on Feb 5, 2015 by nabeel
1 I am using Hbase shell and Mapr table

Is that normal I can't use arrow key, delete key, and backspace key ?????? when I do that, it shows strange characters.

    hbase(main):001:0> create '/user/mapr/test','stage[[C[3[D[[D[[[D[D[D[D[D[D[D[D[D[D[D[D[[D[DDD[D[C
2  namespace mapping

    create '/user/mapr/development'

I followed above guide, however, I am using mapr4.0.1, and I dont have conf directory in hadoop-2.4.1. I only have conf directory in hadoop-0.20.2. And I tried configue mapping rule in hadoop-0.20.2/conf/core-site.xml *:/user/mapr/, and restart warden, it doesn't work.

    hbase(main):003:0> list
    Listing HBase tables. Specify a path or configure namespace mappings to list M7 tables.
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in [jar:file:/opt/mapr/hbase/hbase-0.94.21/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in [jar:file:/opt/mapr/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See for an explanation.
    SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
    Unable to connect to HBase services. Listing M7 tables from user's home directory.
    1 row(s) in 0.2140 seconds
    hbase(main):004:0> describe 'development'
    ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 1 times
    Here is some help for this command:
    Describe the named table. For example:
      hbase> describe 't1'