HBase smoketest

to create new topics or reply. | New User Registration

This topic contains 3 replies, has 2 voices, and was last updated by  tedr 2 years, 4 months ago.

  • Creator
    Topic
  • #16733

    zuhair attya
    Member

    hi every body,
    i am conducting a manula installation of HDP 1.2.0… i have reached to the stage of conducting hbase smoke test. i can successfully connect to the hbase shell.. but when issuing commands i get
    **************************************************************************************
    hbase(main):002:0> create ‘usertable’, ‘family’

    ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times

    Here is some help for this command:
    Create table; pass table name, a dictionary of specifications per
    column family, and optionally a dictionary of table configuration.
    Dictionaries are described below in the GENERAL NOTES section.
    Examples:

    hbase> create ‘t1′, {NAME => ‘f1′, VERSIONS => 5}
    hbase> create ‘t1′, {NAME => ‘f1′}, {NAME => ‘f2′}, {NAME => ‘f3′}
    hbase> # The above in shorthand would be the following:
    hbase> create ‘t1′, ‘f1′, ‘f2′, ‘f3′
    hbase> create ‘t1′, {NAME => ‘f1′, VERSIONS => 1, TTL => 2592000, BLOCKCACHE => true}
    hbase> create ‘t1′, ‘f1′, {SPLITS => [’10’, ’20’, ’30’, ’40’]}
    hbase> create ‘t1′, ‘f1′, {SPLITS_FILE => ‘splits.txt’}
    hbase> # Optionally pre-split the table into NUMREGIONS, using
    hbase> # SPLITALGO (“HexStringSplit”, “UniformSplit” or classname)
    hbase> create ‘t1′, ‘f1′, {NUMREGIONS => 15, SPLITALGO => ‘HexStringSplit’}
    **************************************************************************************
    i am doing a single node installation..

Viewing 3 replies - 1 through 3 (of 3 total)

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #16816

    tedr
    Member

    Hi Zuhair,

    It is good to know that you have figured it out.

    Thanks,
    Ted.

    Collapse
    #16796

    zuhair attya
    Member

    hi Ted,

    thanks for the tip. i have resolved the issue. it all relates to DNS binding and resolution.
    it becomes so confusing.. sometimes address binding will work with Localhost and sometimes it works with FQDN..

    regards,

    Collapse
    #16772

    tedr
    Member

    Hi Zuhair,

    When you run the following command:

    <JAVA_HOME>/jps

    do you get a HMaster and a QuorumPeerMain in the listing? If not then this is why you are getting the errot you are seeing.

    Thanks,
    Ted.

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.