Home Forums HBase HBase smoketest

This topic contains 3 replies, has 2 voices, and was last updated by  tedr 1 year, 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 logged in to reply to this topic.

  • 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)